Skip to content

Commit

Permalink
udp: symmetric encrypted cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
da2ce7 committed Nov 18, 2024
1 parent 0e340bf commit eddf231
Show file tree
Hide file tree
Showing 21 changed files with 710 additions and 1,089 deletions.
31 changes: 31 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,10 @@ axum-extra = { version = "0", features = ["query"] }
axum-server = { version = "0", features = ["tls-rustls"] }
bittorrent-primitives = "0.1.0"
bittorrent-tracker-client = { version = "3.0.0-develop", path = "packages/tracker-client" }
blowfish = "0"
camino = { version = "1", features = ["serde", "serde1"] }
chrono = { version = "0", default-features = false, features = ["clock"] }
cipher = "0"
clap = { version = "4", features = ["derive", "env"] }
crossbeam-skiplist = "0"
dashmap = "6"
Expand Down
2 changes: 2 additions & 0 deletions cSpell.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
"downloadedi",
"dtolnay",
"elif",
"endianness",
"Eray",
"filesd",
"flamegraph",
Expand Down Expand Up @@ -161,6 +162,7 @@
"Trackon",
"typenum",
"Unamed",
"underflows",
"untuple",
"uroot",
"Vagaa",
Expand Down
11 changes: 0 additions & 11 deletions packages/clock/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
pub mod clock;
pub mod conv;
pub mod static_time;
pub mod time_extent;

#[macro_use]
extern crate lazy_static;
Expand All @@ -41,13 +40,3 @@ pub(crate) type CurrentClock = clock::Working;
#[cfg(test)]
#[allow(dead_code)]
pub(crate) type CurrentClock = clock::Stopped;

/// Working version, for production.
#[cfg(not(test))]
#[allow(dead_code)]
pub(crate) type DefaultTimeExtentMaker = time_extent::WorkingTimeExtentMaker;

/// Stopped version, for testing.
#[cfg(test)]
#[allow(dead_code)]
pub(crate) type DefaultTimeExtentMaker = time_extent::StoppedTimeExtentMaker;
Loading

0 comments on commit eddf231

Please sign in to comment.