1 | [package] |
2 | |
3 | name = "bytes" |
4 | # When releasing to crates.io: |
5 | # - Update CHANGELOG.md. |
6 | # - Create "v1.x.y" git tag. |
7 | version = "1.5.0" |
8 | license = "MIT" |
9 | authors = [ |
10 | "Carl Lerche <me@carllerche.com>" , |
11 | "Sean McArthur <sean@seanmonstar.com>" , |
12 | ] |
13 | description = "Types and traits for working with bytes" |
14 | repository = "https://github.com/tokio-rs/bytes" |
15 | readme = "README.md" |
16 | keywords = ["buffers" , "zero-copy" , "io" ] |
17 | categories = ["network-programming" , "data-structures" ] |
18 | edition = "2018" |
19 | |
20 | [features] |
21 | default = ["std" ] |
22 | std = [] |
23 | |
24 | [dependencies] |
25 | serde = { version = "1.0.60" , optional = true, default-features = false, features = ["alloc" ] } |
26 | |
27 | [dev-dependencies] |
28 | serde_test = "1.0" |
29 | |
30 | [target.'cfg(loom)'.dev-dependencies] |
31 | loom = "0.5" |
32 | |
33 | [package.metadata.docs.rs] |
34 | rustdoc-args = ["--cfg" , "docsrs" ] |
35 | |