-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathCargo.toml
42 lines (37 loc) · 1.06 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
[package]
name = "fastcdc"
version = "3.1.0"
authors = ["Nathan Fiedler <[email protected]>"]
edition = "2018"
description = "FastCDC (content defined chunking) in pure Rust."
repository = "https://github.com/nlfiedler/fastcdc-rs"
readme = "README.md"
keywords = ["cdc", "chunking"]
license = "MIT"
exclude = [
"TODO.org",
"test/*",
]
[package.metadata.docs.rs]
features = ["futures"]
[features]
default = []
tokio = ["dep:tokio", "tokio-stream", "async-stream"]
futures = ["dep:futures"]
[dev-dependencies]
aes = "0.8.2"
byteorder = "1.4.3"
clap = { version = "4.2.1", features = ["cargo"] }
ctr = "0.9.2"
md-5 = "0.10.5"
memmap2 = "0.5.8"
tokio = { version = "1", features = ["fs", "io-util", "rt", "rt-multi-thread", "macros"] }
futures-test = { version = "0.3" }
[dependencies]
futures = { version = "0.3", optional = true }
tokio = { version = "1", features = ["io-util"], optional = true }
tokio-stream = { version = "0.1", optional = true }
async-stream = { version = "0.3", optional = true }
[[example]]
name = "async2020"
required-features = ["tokio"]