mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-25 12:00:35 +00:00

Strategy was to - copy the old codec code that was temporarily being stashed in `tokio-io` - modify all the type signatures to use Pin, as literal a translation as possible - fix up the tests likewise This is intended just to get things compiling and passing tests. Beyond that there is surely lots of refactoring that can be done to make things more idiomatic. The docs are unchanged. Closes #1189
33 lines
967 B
TOML
33 lines
967 B
TOML
[package]
|
|
name = "tokio-codec"
|
|
# When releasing to crates.io:
|
|
# - Remove path dependencies
|
|
# - Update html_root_url.
|
|
# - Update doc url
|
|
# - Cargo.toml
|
|
# - README.md
|
|
# - Update CHANGELOG.md.
|
|
# - Create "v0.2.x" git tag.
|
|
version = "0.2.0"
|
|
edition = "2018"
|
|
authors = ["Carl Lerche <me@carllerche.com>", "Bryan Burgers <bryan@burgers.io>"]
|
|
license = "MIT"
|
|
repository = "https://github.com/tokio-rs/tokio"
|
|
homepage = "https://tokio.rs"
|
|
documentation = "https://docs.rs/tokio-codec/0.1.1/tokio_codec"
|
|
description = """
|
|
Utilities for encoding and decoding frames.
|
|
"""
|
|
categories = ["asynchronous"]
|
|
publish = false
|
|
|
|
[dependencies]
|
|
tokio-io = { version = "0.2.0", path = "../tokio-io" }
|
|
bytes = "0.4.7"
|
|
tokio-futures = { version = "0.2.0", path = "../tokio-futures" }
|
|
log = "0.4"
|
|
|
|
[dev-dependencies]
|
|
futures-preview = "0.3.0-alpha.16"
|
|
tokio-current-thread = { version = "0.2.0", path = "../tokio-current-thread" }
|
|
tokio-test = { version = "0.2.0", path = "../tokio-test" } |