futures_codec 0.5.0

Utilities for encoding and decoding frames using `async/await`
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2018"
name = "futures_codec"
version = "0.5.0"
authors = ["Matt Hunzinger <matthunz2@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Utilities for encoding and decoding frames using `async/await`"
homepage = "https://github.com/matthunz/futures-codec"
documentation = "https://docs.rs/crate/futures_codec"
readme = "README.md"
keywords = [
    "future",
    "futures",
    "async",
    "codec",
]
categories = [
    "asynchronous",
    "network-programming",
]
license = "MIT"
repository = "https://github.com/matthunz/futures-codec"

[package.metadata.docs.rs]
all-features = true

[features]
cbor = [
    "serde",
    "serde_cbor",
]
default = []
json = [
    "serde",
    "serde_json",
]

[lib]
name = "futures_codec"
path = "src/lib.rs"

[[test]]
name = "bytes"
path = "tests/bytes.rs"

[[test]]
name = "framed_read"
path = "tests/framed_read.rs"

[[test]]
name = "framed_write"
path = "tests/framed_write.rs"

[[test]]
name = "length_delimited"
path = "tests/length_delimited.rs"

[[test]]
name = "lines"
path = "tests/lines.rs"

[[bench]]
name = "lines"
path = "benches/lines.rs"

[dependencies.bytes]
version = "1.0.0"

[dependencies.futures-sink]
version = "0.3.7"

[dependencies.futures-util]
version = "0.3.7"
features = ["io"]

[dependencies.memchr]
version = "2.3.4"

[dependencies.pin-project-lite]
version = "0.2.0"

[dependencies.serde]
version = "1.0.113"
features = ["derive"]
optional = true

[dependencies.serde_cbor]
version = "0.11.1"
optional = true

[dependencies.serde_json]
version = "1.0.55"
optional = true

[dev-dependencies.futures]
version = "0.3.7"