blob: f4198166dc5e25da8e65ac64bd3328dcd8f6192d [file] [log] [blame]
# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)
[package]
edition = "2018"
name = "tokio-serde"
version = "0.8.0"
authors = ["Carl Lerche <me@carllerche.com>", "Artem Vorotnikov <artem@vorotnikov.me>", "Bastian Köcher <git@kchr.de>"]
description = "Send and receive Serde encodable types over the network using Tokio.\n\nThis library is used as a building block for serialization format specific\nlibraries.\n"
homepage = "https://github.com/carllerche/tokio-serde"
documentation = "https://docs.rs/tokio-serde"
readme = "README.md"
keywords = ["async", "serde", "serialization"]
categories = ["asynchronous", "encoding"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/carllerche/tokio-serde"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[example]]
name = "client"
required-features = ["bincode", "cbor", "json", "messagepack"]
[[example]]
name = "server"
required-features = ["bincode", "cbor", "json", "messagepack"]
[dependencies.bincode-crate]
version = "1"
optional = true
package = "bincode"
[dependencies.bytes]
version = "1.0"
[dependencies.educe]
version = "0.4"
optional = true
default-features = false
[dependencies.futures-core]
version = "0.3"
[dependencies.futures-sink]
version = "0.3"
[dependencies.pin-project]
version = "1"
[dependencies.rmp-serde]
version = "0.15"
optional = true
[dependencies.serde]
version = "1"
optional = true
[dependencies.serde_cbor]
version = "0.11"
optional = true
[dependencies.serde_json]
version = "1"
optional = true
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.impls]
version = "1"
[dev-dependencies.static_assertions]
version = "1.1.0"
[dev-dependencies.tokio]
version = "1.0"
features = ["full"]
[dev-dependencies.tokio-util]
version = "0.6"
features = ["codec"]
[features]
bincode = ["educe/Debug", "serde", "bincode-crate"]
cbor = ["educe/Debug", "educe/Default", "serde", "serde_cbor"]
json = ["educe/Debug", "educe/Default", "serde", "serde_json"]
messagepack = ["educe/Debug", "educe/Default", "serde", "rmp-serde"]