| 1 |
[package] |
| 2 |
name = "futures_codec" |
| 3 |
edition = "2018" |
| 4 |
version = "0.4.1" |
| 5 |
authors = ["Matt Hunzinger <[email protected]>"] |
| 6 |
description = "Utilities for encoding and decoding frames using `async/await`" |
| 7 |
license = "MIT" |
| 8 |
readme = "README.md" |
| 9 |
repository = "https://github.com/matthunz/futures-codec" |
| 10 |
homepage = "https://github.com/matthunz/futures-codec" |
| 11 |
documentation = "https://docs.rs/crate/futures_codec" |
| 12 |
keywords = ["future", "futures", "async", "codec"] |
| 13 |
categories = ["asynchronous", "network-programming"] |
| 14 |
|
| 15 |
[features] |
| 16 |
default = [] |
| 17 |
json = [ "serde", "serde_json" ] |
| 18 |
cbor = [ "serde", "serde_cbor" ] |
| 19 |
|
| 20 |
[dependencies] |
| 21 |
bytes = "0.5.4" |
| 22 |
futures = "0.3.5" |
| 23 |
memchr = "2.2.3" |
| 24 |
pin-project = "0.4.22" |
| 25 |
|
| 26 |
[dependencies.serde] |
| 27 |
version = '1.0.113' |
| 28 |
optional = true |
| 29 |
features = [ "derive" ] |
| 30 |
|
| 31 |
[dependencies.serde_json] |
| 32 |
version = '1.0.55' |
| 33 |
optional = true |
| 34 |
|
| 35 |
[dependencies.serde_cbor] |
| 36 |
version = '0.11.1' |
| 37 |
optional = true |
| 38 |
|
| 39 |
[package.metadata.docs.rs] |
| 40 |
all-features = true |