# 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 = "2021" name = "serio" version = "0.1.0" authors = ["TLSNotary Contributors"] description = """ A library providing traits and utilities for typed IO using format agnostic serialization built on serde. """ readme = "README.md" keywords = [ "io", "async", "futures", "serde", ] categories = [ "asynchronous", "network-programming", ] license = "MIT OR Apache-2.0" repository = "https://github.com/tlsnotary/tlsn-utils" resolver = "1" [[example]] name = "tokio_codec" path = "examples/tokio_codec.rs" required-features = ["codec"] [dependencies.bincode] version = "1.3" optional = true [dependencies.bytes] version = "1" [dependencies.futures-channel] version = "0.3" optional = true [dependencies.futures-core] version = "0.3" [dependencies.futures-io] version = "0.3" optional = true [dependencies.futures-sink] version = "0.3" optional = true [dependencies.futures-util] version = "0.3" features = [ "bilock", "unstable", ] [dependencies.pin-project-lite] version = "0.2" [dependencies.serde] version = "1" [dependencies.tokio-util] version = "0.7" features = [ "codec", "compat", ] optional = true [dev-dependencies.futures] version = "0.3" [dev-dependencies.serde] version = "1" features = ["derive"] [dev-dependencies.tokio] version = "1.23" features = ["full"] [dev-dependencies.tokio-util] version = "0.7" features = ["codec"] [features] bincode = ["dep:bincode"] channel = ["dep:futures-channel"] codec = [ "dep:tokio-util", "dep:futures-io", ] compat = ["dep:futures-sink"] default = [ "compat", "channel", "codec", "bincode", ]