Skip to content

Commit b683b8c

Browse files
committed
udp: symmetric encrypted cookie
1 parent 0e340bf commit b683b8c

File tree

21 files changed

+711
-1090
lines changed

21 files changed

+711
-1090
lines changed

Cargo.lock

+31
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,10 @@ axum-extra = { version = "0", features = ["query"] }
3838
axum-server = { version = "0", features = ["tls-rustls"] }
3939
bittorrent-primitives = "0.1.0"
4040
bittorrent-tracker-client = { version = "3.0.0-develop", path = "packages/tracker-client" }
41+
blowfish = "0"
4142
camino = { version = "1", features = ["serde", "serde1"] }
4243
chrono = { version = "0", default-features = false, features = ["clock"] }
44+
cipher = "0"
4345
clap = { version = "4", features = ["derive", "env"] }
4446
crossbeam-skiplist = "0"
4547
dashmap = "6"

cSpell.json

+3
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"canonicalized",
3131
"certbot",
3232
"chrono",
33+
"ciphertext",
3334
"clippy",
3435
"codecov",
3536
"codegen",
@@ -52,6 +53,7 @@
5253
"downloadedi",
5354
"dtolnay",
5455
"elif",
56+
"endianness",
5557
"Eray",
5658
"filesd",
5759
"flamegraph",
@@ -161,6 +163,7 @@
161163
"Trackon",
162164
"typenum",
163165
"Unamed",
166+
"underflows",
164167
"untuple",
165168
"uroot",
166169
"Vagaa",

packages/clock/src/lib.rs

-11
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
pub mod clock;
2727
pub mod conv;
2828
pub mod static_time;
29-
pub mod time_extent;
3029

3130
#[macro_use]
3231
extern crate lazy_static;
@@ -41,13 +40,3 @@ pub(crate) type CurrentClock = clock::Working;
4140
#[cfg(test)]
4241
#[allow(dead_code)]
4342
pub(crate) type CurrentClock = clock::Stopped;
44-
45-
/// Working version, for production.
46-
#[cfg(not(test))]
47-
#[allow(dead_code)]
48-
pub(crate) type DefaultTimeExtentMaker = time_extent::WorkingTimeExtentMaker;
49-
50-
/// Stopped version, for testing.
51-
#[cfg(test)]
52-
#[allow(dead_code)]
53-
pub(crate) type DefaultTimeExtentMaker = time_extent::StoppedTimeExtentMaker;

0 commit comments

Comments
 (0)