mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
Use (patched) crates.io deps for crates, add some package metadata
This commit is contained in:
parent
66e9882f48
commit
fe11ed138a
15 changed files with 66 additions and 28 deletions
14
Cargo.lock
generated
14
Cargo.lock
generated
|
|
@ -23,9 +23,9 @@ checksum = "e8fd72866655d1904d6b0997d0b07ba561047d070fbe29de039031c641b61217"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ahash"
|
name = "ahash"
|
||||||
version = "0.4.4"
|
version = "0.4.5"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "6d66721683190aeea775c737eee925aea24719058d86d815e8ee121dd9f37d19"
|
checksum = "0adac150c2dd5a9c864d054e07bda5e6bc010cd10036ea5f17e82a2f5867f735"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "aho-corasick"
|
name = "aho-corasick"
|
||||||
|
|
@ -719,7 +719,7 @@ version = "0.9.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "00d63df3d41950fb462ed38308eea019113ad1508da725bbedcd0fa5a85ef5f7"
|
checksum = "00d63df3d41950fb462ed38308eea019113ad1508da725bbedcd0fa5a85ef5f7"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ahash 0.4.4",
|
"ahash 0.4.5",
|
||||||
"serde",
|
"serde",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
@ -1411,9 +1411,9 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "serde"
|
name = "serde"
|
||||||
version = "1.0.115"
|
version = "1.0.116"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "e54c9a88f2da7238af84b5101443f0c0d0a3bbdc455e34a5c9497b1903ed55d5"
|
checksum = "96fe57af81d28386a513cbc6858332abc6117cfdb5999647c6444b8f43a370a5"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"serde_derive",
|
"serde_derive",
|
||||||
]
|
]
|
||||||
|
|
@ -1449,9 +1449,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "serde_derive"
|
name = "serde_derive"
|
||||||
version = "1.0.115"
|
version = "1.0.116"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "609feed1d0a73cc36a0182a840a9b37b4a82f0b1150369f0536a9e3f2a31dc48"
|
checksum = "f630a6370fd8e457873b4bd2ffdae75408bc291ba72be773772a4c2a065d9ae8"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"proc-macro2",
|
"proc-macro2",
|
||||||
"quote",
|
"quote",
|
||||||
|
|
|
||||||
15
Cargo.toml
15
Cargo.toml
|
|
@ -16,6 +16,21 @@ members = [
|
||||||
"aquatic_ws_protocol",
|
"aquatic_ws_protocol",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[patch.crates-io]
|
||||||
|
aquatic = { path = "aquatic" }
|
||||||
|
aquatic_cli_helpers = { path = "aquatic_cli_helpers" }
|
||||||
|
aquatic_common = { path = "aquatic_common" }
|
||||||
|
aquatic_http = { path = "aquatic_http" }
|
||||||
|
aquatic_http_load_test = { path = "aquatic_http_load_test" }
|
||||||
|
aquatic_http_protocol = { path = "aquatic_http_protocol" }
|
||||||
|
aquatic_udp = { path = "aquatic_udp" }
|
||||||
|
aquatic_udp_bench = { path = "aquatic_udp_bench" }
|
||||||
|
aquatic_udp_load_test = { path = "aquatic_udp_load_test" }
|
||||||
|
aquatic_udp_protocol = { path = "aquatic_udp_protocol" }
|
||||||
|
aquatic_ws = { path = "aquatic_ws" }
|
||||||
|
aquatic_ws_load_test = { path = "aquatic_ws_load_test" }
|
||||||
|
aquatic_ws_protocol = { path = "aquatic_ws_protocol" }
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
debug = true
|
debug = true
|
||||||
lto = true
|
lto = true
|
||||||
|
|
|
||||||
|
|
@ -4,13 +4,16 @@ version = "0.1.0"
|
||||||
authors = ["Joakim Frostegård <joakim.frostegard@gmail.com>"]
|
authors = ["Joakim Frostegård <joakim.frostegard@gmail.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
|
description = "Blazingly fast, multi-threaded BitTorrent tracker (UDP, HTTP, WebTorrent)"
|
||||||
|
repository = "https://github.com/greatest-ape/aquatic"
|
||||||
|
keywords = ["bittorrent", "torrent", "webtorrent"]
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "aquatic"
|
name = "aquatic"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
aquatic_cli_helpers = { path = "../aquatic_cli_helpers" }
|
aquatic_cli_helpers = "0.1.0"
|
||||||
aquatic_http = { path = "../aquatic_http" }
|
aquatic_http = "0.1.0"
|
||||||
aquatic_udp = { path = "../aquatic_udp" }
|
aquatic_udp = "0.1.0"
|
||||||
aquatic_ws = { path = "../aquatic_ws" }
|
aquatic_ws = "0.1.0"
|
||||||
mimalloc = { version = "0.1", default-features = false }
|
mimalloc = { version = "0.1", default-features = false }
|
||||||
|
|
@ -4,6 +4,8 @@ version = "0.1.0"
|
||||||
authors = ["Joakim Frostegård <joakim.frostegard@gmail.com>"]
|
authors = ["Joakim Frostegård <joakim.frostegard@gmail.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
|
description = "aquatic BitTorrent tracker CLI helpers"
|
||||||
|
repository = "https://github.com/greatest-ape/aquatic"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1"
|
anyhow = "1"
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,8 @@ version = "0.1.0"
|
||||||
authors = ["Joakim Frostegård <joakim.frostegard@gmail.com>"]
|
authors = ["Joakim Frostegård <joakim.frostegard@gmail.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
|
description = "aquatic BitTorrent tracker common code"
|
||||||
|
repository = "https://github.com/greatest-ape/aquatic"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "aquatic_common"
|
name = "aquatic_common"
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,8 @@ version = "0.1.0"
|
||||||
authors = ["Joakim Frostegård <joakim.frostegard@gmail.com>"]
|
authors = ["Joakim Frostegård <joakim.frostegard@gmail.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
|
description = "Blazingly fast, multi-threaded HTTP BitTorrent tracker"
|
||||||
|
repository = "https://github.com/greatest-ape/aquatic"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "aquatic_http"
|
name = "aquatic_http"
|
||||||
|
|
@ -15,9 +17,9 @@ path = "src/bin/main.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1"
|
anyhow = "1"
|
||||||
aquatic_cli_helpers = { path = "../aquatic_cli_helpers" }
|
aquatic_cli_helpers = "0.1.0"
|
||||||
aquatic_common = { path = "../aquatic_common" }
|
aquatic_common = "0.1.0"
|
||||||
aquatic_http_protocol = { path = "../aquatic_http_protocol" }
|
aquatic_http_protocol = "0.1.0"
|
||||||
crossbeam-channel = "0.4"
|
crossbeam-channel = "0.4"
|
||||||
either = "1"
|
either = "1"
|
||||||
hashbrown = "0.9"
|
hashbrown = "0.9"
|
||||||
|
|
|
||||||
|
|
@ -4,14 +4,16 @@ version = "0.1.0"
|
||||||
authors = ["Joakim Frostegård <joakim.frostegard@gmail.com>"]
|
authors = ["Joakim Frostegård <joakim.frostegard@gmail.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
|
description = "HTTP BitTorrent tracker protocol"
|
||||||
|
repository = "https://github.com/greatest-ape/aquatic"
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "aquatic_http_load_test"
|
name = "aquatic_http_load_test"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1"
|
anyhow = "1"
|
||||||
aquatic_cli_helpers = { path = "../aquatic_cli_helpers" }
|
aquatic_cli_helpers = "0.1.0"
|
||||||
aquatic_http_protocol = { path = "../aquatic_http_protocol" }
|
aquatic_http_protocol = "0.1.0"
|
||||||
hashbrown = "0.9"
|
hashbrown = "0.9"
|
||||||
mimalloc = { version = "0.1", default-features = false }
|
mimalloc = { version = "0.1", default-features = false }
|
||||||
mio = { version = "0.7", features = ["udp", "os-poll", "os-util"] }
|
mio = { version = "0.7", features = ["udp", "os-poll", "os-util"] }
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@ version = "0.1.0"
|
||||||
authors = ["Joakim Frostegård <joakim.frostegard@gmail.com>"]
|
authors = ["Joakim Frostegård <joakim.frostegard@gmail.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
|
repository = "https://github.com/greatest-ape/aquatic"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "aquatic_http_protocol"
|
name = "aquatic_http_protocol"
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,8 @@ version = "0.1.0"
|
||||||
authors = ["Joakim Frostegård <joakim.frostegard@gmail.com>"]
|
authors = ["Joakim Frostegård <joakim.frostegard@gmail.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
|
description = "Blazingly fast, multi-threaded UDP BitTorrent tracker"
|
||||||
|
repository = "https://github.com/greatest-ape/aquatic"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "aquatic_udp"
|
name = "aquatic_udp"
|
||||||
|
|
@ -14,9 +16,9 @@ name = "aquatic_udp"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1"
|
anyhow = "1"
|
||||||
aquatic_cli_helpers = { path = "../aquatic_cli_helpers" }
|
aquatic_cli_helpers = "0.1.0"
|
||||||
aquatic_common = { path = "../aquatic_common" }
|
aquatic_common = "0.1.0"
|
||||||
aquatic_udp_protocol = { path = "../aquatic_udp_protocol" }
|
aquatic_udp_protocol = "0.1.0"
|
||||||
crossbeam-channel = "0.4"
|
crossbeam-channel = "0.4"
|
||||||
hashbrown = "0.9"
|
hashbrown = "0.9"
|
||||||
histogram = "0.6"
|
histogram = "0.6"
|
||||||
|
|
|
||||||
|
|
@ -4,14 +4,15 @@ version = "0.1.0"
|
||||||
authors = ["Joakim Frostegård <joakim.frostegard@gmail.com>"]
|
authors = ["Joakim Frostegård <joakim.frostegard@gmail.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
|
repository = "https://github.com/greatest-ape/aquatic"
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "aquatic_udp_bench"
|
name = "aquatic_udp_bench"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1"
|
anyhow = "1"
|
||||||
aquatic_cli_helpers = { path = "../aquatic_cli_helpers" }
|
aquatic_cli_helpers = "0.1.0"
|
||||||
aquatic_udp = { path = "../aquatic_udp" }
|
aquatic_udp = "0.1.0"
|
||||||
crossbeam-channel = "0.4"
|
crossbeam-channel = "0.4"
|
||||||
indicatif = "0.15"
|
indicatif = "0.15"
|
||||||
mimalloc = { version = "0.1", default-features = false }
|
mimalloc = { version = "0.1", default-features = false }
|
||||||
|
|
|
||||||
|
|
@ -4,14 +4,15 @@ version = "0.1.0"
|
||||||
authors = ["Joakim Frostegård <joakim.frostegard@gmail.com>"]
|
authors = ["Joakim Frostegård <joakim.frostegard@gmail.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
|
repository = "https://github.com/greatest-ape/aquatic"
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "aquatic_udp_load_test"
|
name = "aquatic_udp_load_test"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1"
|
anyhow = "1"
|
||||||
aquatic_cli_helpers = { path = "../aquatic_cli_helpers" }
|
aquatic_cli_helpers = "0.1.0"
|
||||||
aquatic_udp_protocol = { path = "../aquatic_udp_protocol" }
|
aquatic_udp_protocol = "0.1.0"
|
||||||
crossbeam-channel = "0.4"
|
crossbeam-channel = "0.4"
|
||||||
hashbrown = "0.9"
|
hashbrown = "0.9"
|
||||||
mimalloc = { version = "0.1", default-features = false }
|
mimalloc = { version = "0.1", default-features = false }
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,8 @@ version = "0.1.0"
|
||||||
authors = ["Joakim Frostegård <joakim.frostegard@gmail.com>"]
|
authors = ["Joakim Frostegård <joakim.frostegard@gmail.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
|
description = "UDP BitTorrent tracker protocol"
|
||||||
|
repository = "https://github.com/greatest-ape/aquatic"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
byteorder = "1"
|
byteorder = "1"
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,8 @@ version = "0.1.0"
|
||||||
authors = ["Joakim Frostegård <joakim.frostegard@gmail.com>"]
|
authors = ["Joakim Frostegård <joakim.frostegard@gmail.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
|
description = "Blazingly fast, multi-threaded WebTorrent tracker"
|
||||||
|
repository = "https://github.com/greatest-ape/aquatic"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "aquatic_ws"
|
name = "aquatic_ws"
|
||||||
|
|
@ -15,9 +17,9 @@ path = "src/bin/main.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1"
|
anyhow = "1"
|
||||||
aquatic_cli_helpers = { path = "../aquatic_cli_helpers" }
|
aquatic_cli_helpers = "0.1.0"
|
||||||
aquatic_common = { path = "../aquatic_common" }
|
aquatic_common = "0.1.0"
|
||||||
aquatic_ws_protocol = { path = "../aquatic_ws_protocol" }
|
aquatic_ws_protocol = "0.1.0"
|
||||||
crossbeam-channel = "0.4"
|
crossbeam-channel = "0.4"
|
||||||
either = "1"
|
either = "1"
|
||||||
hashbrown = { version = "0.9", features = ["serde"] }
|
hashbrown = { version = "0.9", features = ["serde"] }
|
||||||
|
|
|
||||||
|
|
@ -4,14 +4,15 @@ version = "0.1.0"
|
||||||
authors = ["Joakim Frostegård <joakim.frostegard@gmail.com>"]
|
authors = ["Joakim Frostegård <joakim.frostegard@gmail.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
|
repository = "https://github.com/greatest-ape/aquatic"
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "aquatic_ws_load_test"
|
name = "aquatic_ws_load_test"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1"
|
anyhow = "1"
|
||||||
aquatic_cli_helpers = { path = "../aquatic_cli_helpers" }
|
aquatic_cli_helpers = "0.1.0"
|
||||||
aquatic_ws_protocol = { path = "../aquatic_ws_protocol" }
|
aquatic_ws_protocol = "0.1.0"
|
||||||
hashbrown = { version = "0.9", features = ["serde"] }
|
hashbrown = { version = "0.9", features = ["serde"] }
|
||||||
mimalloc = { version = "0.1", default-features = false }
|
mimalloc = { version = "0.1", default-features = false }
|
||||||
mio = { version = "0.7", features = ["udp", "os-poll", "os-util"] }
|
mio = { version = "0.7", features = ["udp", "os-poll", "os-util"] }
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,8 @@ version = "0.1.0"
|
||||||
authors = ["Joakim Frostegård <joakim.frostegard@gmail.com>"]
|
authors = ["Joakim Frostegård <joakim.frostegard@gmail.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
|
description = "WebTorrent tracker protocol"
|
||||||
|
repository = "https://github.com/greatest-ape/aquatic"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "aquatic_ws_protocol"
|
name = "aquatic_ws_protocol"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue