rqbit/crates/bencode/Cargo.toml

24 lines
902 B
TOML
Raw Normal View History

2021-07-03 19:10:59 +01:00
[package]
name = "librqbit-bencode"
2025-01-06 15:27:44 +00:00
version = "3.0.2"
2023-11-22 23:13:27 +00:00
edition = "2021"
2023-11-15 14:13:52 +00:00
description = "Bencode serialization and deserialization using Serde"
license = "Apache-2.0"
documentation = "https://docs.rs/librqbit-bencode"
repository = "https://github.com/ikatson/rqbit"
readme = "README.md"
2021-07-03 19:10:59 +01:00
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
2024-08-27 15:11:34 +01:00
[features]
default = ["sha1-crypto-hash"]
sha1-crypto-hash = ["sha1w/sha1-crypto-hash"]
sha1-ring = ["sha1w/sha1-ring"]
2021-07-03 19:10:59 +01:00
[dependencies]
2024-03-29 09:55:28 +00:00
serde = { version = "1", features = ["derive"] }
2025-01-06 15:27:44 +00:00
buffers = { path = "../buffers", package = "librqbit-buffers", version = "4.2" }
2024-08-15 14:46:26 +01:00
clone_to_owned = { path = "../clone_to_owned", package = "librqbit-clone-to-owned", version = "3" }
2021-07-03 19:10:59 +01:00
anyhow = "1"
2025-01-06 15:27:44 +00:00
sha1w = { path = "../sha1w", default-features = false, optional = true, package = "librqbit-sha1-wrapper", version = "4.1" }
bytes = "1.7.1"