aquatic/aquatic_http_protocol/Cargo.toml

42 lines
1,004 B
TOML

[package]
name = "aquatic_http_protocol"
version = "0.1.0"
authors = ["Joakim Frostegård <joakim.frostegard@gmail.com>"]
edition = "2018"
license = "Apache-2.0"
repository = "https://github.com/greatest-ape/aquatic"
description = "HTTP BitTorrent tracker protocol"
exclude = ["target"]
[lib]
name = "aquatic_http_protocol"
[[bench]]
name = "bench_request_from_bytes"
path = "benches/bench_request_from_bytes.rs"
harness = false
[[bench]]
name = "bench_announce_response_to_bytes"
path = "benches/bench_announce_response_to_bytes.rs"
harness = false
[dependencies]
anyhow = "1"
hashbrown = "0.11"
hex = { version = "0.4", default-features = false }
httparse = "1"
itoa = "0.4"
log = "0.4"
memchr = "2"
rand = { version = "0.8", features = ["small_rng"] }
serde = { version = "1", features = ["derive"] }
serde_bencode = "0.2"
smartstring = "0.2"
urlencoding = "2"
[dev-dependencies]
bendy = { version = "0.3", features = ["std", "serde"] }
criterion = "0.3"
quickcheck = "1"
quickcheck_macros = "1"