Skip to content

Commit 25d354f

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

File tree

21 files changed

+709
-1088
lines changed

21 files changed

+709
-1088
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

+2
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
"downloadedi",
5353
"dtolnay",
5454
"elif",
55+
"endianness",
5556
"Eray",
5657
"filesd",
5758
"flamegraph",
@@ -161,6 +162,7 @@
161162
"Trackon",
162163
"typenum",
163164
"Unamed",
165+
"underflows",
164166
"untuple",
165167
"uroot",
166168
"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)