2021-06-25 13:47:51 +01:00
|
|
|
[package]
|
|
|
|
|
name = "librqbit"
|
|
|
|
|
version = "0.1.0"
|
|
|
|
|
authors = ["Igor Katson <igor.katson@gmail.com>"]
|
|
|
|
|
edition = "2018"
|
2021-07-01 19:17:44 +01:00
|
|
|
|
|
|
|
|
[features]
|
2021-10-17 18:17:50 +01:00
|
|
|
default = ["sha1-system", "default-tls"]
|
2021-09-30 00:04:31 +01:00
|
|
|
sha1-system = ["sha1w/sha1-system"]
|
|
|
|
|
sha1-openssl = ["sha1w/sha1-openssl"]
|
2021-10-17 18:17:50 +01:00
|
|
|
sha1-rust = ["sha1w/sha1-rust"]
|
|
|
|
|
default-tls = ["reqwest/default-tls"]
|
|
|
|
|
rust-tls = ["reqwest/rustls-tls"]
|
2021-06-25 13:47:51 +01:00
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
|
|
[dependencies]
|
2021-09-30 09:00:40 +01:00
|
|
|
bencode = {path = "../bencode", default-features=false}
|
2021-07-03 19:10:59 +01:00
|
|
|
buffers = {path = "../buffers"}
|
|
|
|
|
librqbit_core = {path = "../librqbit_core"}
|
|
|
|
|
clone_to_owned = {path = "../clone_to_owned"}
|
|
|
|
|
peer_binary_protocol = {path = "../peer_binary_protocol"}
|
2021-09-30 09:00:40 +01:00
|
|
|
sha1w = {path = "../sha1w", default-features=false}
|
2021-07-12 21:59:08 +01:00
|
|
|
dht = {path = "../dht"}
|
2021-07-03 19:10:59 +01:00
|
|
|
|
2021-06-25 13:47:51 +01:00
|
|
|
tokio = {version = "1", features = ["macros", "rt-multi-thread"]}
|
2022-12-04 12:53:55 +00:00
|
|
|
axum = {version = "0.6"}
|
2021-07-12 19:55:23 +01:00
|
|
|
tokio-stream = "0.1"
|
2021-06-25 13:47:51 +01:00
|
|
|
serde = {version = "1", features=["derive"]}
|
2021-07-08 23:03:58 +01:00
|
|
|
serde_json = "1"
|
2021-10-22 08:03:04 +01:00
|
|
|
serde_urlencoded = "*"
|
2021-06-25 13:47:51 +01:00
|
|
|
anyhow = "1"
|
2021-07-01 19:17:44 +01:00
|
|
|
|
2022-12-08 20:43:02 +00:00
|
|
|
http = "0.2"
|
2021-10-09 15:03:42 +01:00
|
|
|
regex = "1"
|
2021-10-17 18:17:50 +01:00
|
|
|
reqwest = {version="0.11", default-features=false}
|
2022-12-04 13:11:40 +00:00
|
|
|
urlencoding = "2"
|
2021-06-25 13:47:51 +01:00
|
|
|
byteorder = "1"
|
|
|
|
|
bincode = "1"
|
2022-12-04 13:11:40 +00:00
|
|
|
bitvec = "1"
|
|
|
|
|
parking_lot = "0.12"
|
2021-06-25 13:47:51 +01:00
|
|
|
log = "0.4"
|
2021-06-26 18:13:46 +01:00
|
|
|
size_format = "1"
|
2021-06-27 10:10:59 +01:00
|
|
|
rand = "0.8"
|
2021-07-01 19:17:44 +01:00
|
|
|
|
|
|
|
|
openssl = {version="0.10", optional=true}
|
|
|
|
|
crypto-hash = {version="0.3", optional=true}
|
2022-12-04 13:11:40 +00:00
|
|
|
sha1 = {version = "0.10", optional=true}
|
2021-06-25 13:47:51 +01:00
|
|
|
|
2022-12-04 13:11:40 +00:00
|
|
|
uuid = {version = "1.2", features = ["v4"]}
|
2021-06-25 13:47:51 +01:00
|
|
|
futures = "0.3"
|
2021-07-03 15:22:17 +01:00
|
|
|
url = "2"
|
|
|
|
|
hex = "0.4"
|
2021-06-25 13:47:51 +01:00
|
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
|
futures = {version = "0.3"}
|
2021-07-03 19:10:59 +01:00
|
|
|
pretty_env_logger = "0.4"
|