-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
46 lines (39 loc) · 1.16 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 = "bencodex-rs"
version = "0.5.0"
authors = ["moreal <[email protected]>"]
edition = "2021"
description = "The Rust implementation of Bencodex"
license = "MIT"
keywords = ["bencodex", "encoding", "decoding"]
homepage = "https://github.com/bencodex/bencodex-rs"
repository = "https://github.com/bencodex/bencodex-rs"
documentation = "https://docs.rs/crate/bencodex-rs"
[lib]
name = "bencodex"
path = "src/lib.rs"
[[bin]]
name = "bencodex"
path = "src/main.rs"
required-features = ["json-cli"]
[features]
json = ["serde_json", "hex", "base64"]
json-cli = ["json", "clap"]
test = ["base64"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
itertools = "0.13.0"
num-traits = "0.2.19"
num-bigint = "0.4.6"
hex = { version = "0.4.3", optional = true }
base64 = { version = "0.22.1", optional = true }
clap = { version = "4.5.8", features = ["derive"], optional = true }
serde_json = { version = "1.0", optional = true }
[dev-dependencies]
yaml-rust = "0.4.5"
syn = "2.0.68"
quote = "1.0.36"
criterion = { version = "2.7.2", package = "codspeed-criterion-compat" }
[[bench]]
name = "encode"
harness = false