[[example]]
name = "client"
required-features = ["bincode", "cbor", "json", "messagepack"]
[[example]]
name = "server"
required-features = ["bincode", "cbor", "json", "messagepack"]
[dependencies.bincode-crate]
optional = true
package = "bincode"
version = "1"
[dependencies.bytes]
version = "1.0"
[dependencies.educe]
default-features = false
optional = true
version = "0.5"
[dependencies.futures-core]
version = "0.3"
[dependencies.futures-sink]
version = "0.3"
[dependencies.pin-project]
version = "1"
[dependencies.rmp-serde]
optional = true
version = "1"
[dependencies.serde]
optional = true
version = "1"
[dependencies.serde_cbor]
optional = true
version = "0.11"
[dependencies.serde_json]
optional = true
version = "1"
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.impls]
version = "1"
[dev-dependencies.static_assertions]
version = "1.1.0"
[dev-dependencies.tokio]
features = ["full"]
version = "1.0"
[dev-dependencies.tokio-util]
features = ["codec"]
version = "0.7"
[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"]
[package]
authors = ["Carl Lerche <me@carllerche.com>", "Artem Vorotnikov <artem@vorotnikov.me>", "Bastian Köcher <git@kchr.de>"]
categories = ["asynchronous", "encoding"]
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"
documentation = "https://docs.rs/tokio-serde"
edition = "2021"
homepage = "https://github.com/carllerche/tokio-serde"
keywords = ["async", "serde", "serialization"]
license = "MIT OR Apache-2.0"
name = "tokio-serde"
readme = "README.md"
repository = "https://github.com/carllerche/tokio-serde"
version = "0.9.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]