Files
tokio/tokio-codec/README.md
T

42 lines
1.1 KiB
Markdown
Raw Normal View History

2018-06-04 22:36:06 -05:00
# tokio-codec
Utilities for encoding and decoding frames.
This crate is **deprecated in tokio 0.2.x** and has been moved into
[`tokio_util::codec`] of the [`tokio-utils` crate] behind the `codec` feature flag.
[`tokio::codec`]: https://docs.rs/tokio-util/latest/tokio_util/codec/index.html
[`tokio-utils` crate]: https://docs.rs/tokio-util/latest/tokio_util
2018-06-04 22:36:06 -05:00
[Documentation](https://docs.rs/tokio-codec)
## Usage
First, add this to your `Cargo.toml`:
```toml
[dependencies]
tokio-codec = "0.1"
```
Next, add this to your crate:
```rust
extern crate tokio_codec;
```
You can find extensive documentation and examples about how to use this crate
online at [https://tokio.rs](https://tokio.rs). The [API
documentation](https://docs.rs/tokio-codec) is also a great place to get started
for the nitty-gritty.
## License
This project is licensed under the [MIT license](LICENSE).
### Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in Tokio by you, shall be licensed as MIT, without any additional
terms or conditions.