-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
46 lines (38 loc) · 1.53 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[package]
name = "bytedata"
version = "0.1.10"
edition = "2021"
rust-version = "1.75"
description = "Representation of a byte slice that is either static, borrowed, or shared."
license = "MIT OR LGPL-3.0-or-later"
repository = "https://github.com/TimLuq/bytedata/"
authors = ["TimLuq"]
categories = ["network-programming", "data-structures"]
keywords = ["arc", "buffers", "zero-copy", "io"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
bytes_1 = { package = "bytes", version = "^1.7.1", optional = true, default-features = false }
http-body_04 = { package = "http-body", version = "0.4.5", optional = true }
http-body_1 = { package = "http-body", version = "1", optional = true }
http_02 = { package = "http", version = "0.2.4", optional = true }
http_1 = { package = "http", version = "1", optional = true }
nom_7 = { package = "nom", version = "7", optional = true }
serde_1 = { package = "serde", version = "1.0.0", optional = true, default-features = false }
[dev-dependencies]
serde_1 = { package = "serde", version = "1.0.0", default-features = false, features = ["derive"] }
[features]
default = ["macros", "chunk"]
alloc = ["serde_1?/alloc"]
chunk = []
macros = []
queue = []
std = ["alloc"]
nightly = []
core_io_borrowed_buf = []
bytes_1 = ["dep:bytes_1"]
bytes_1_safe = ["bytes_1"]
http-body_04 = ["dep:http-body_04", "dep:http_02", "bytes_1"]
http-body_1 = ["dep:http-body_1", "dep:http_1", "bytes_1"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]