Skip to content

Commit

Permalink
Add governor and quanta dependencies, and create ratelimit module in …
Browse files Browse the repository at this point in the history
…geph5-exit
  • Loading branch information
nullchinchilla committed Mar 29, 2024
1 parent dc35f19 commit e71b9cc
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 1 deletion.
55 changes: 55 additions & 0 deletions Cargo.lock

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

4 changes: 3 additions & 1 deletion binaries/geph5-exit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,6 @@ hex = "0.4.3"
nursery_macro = "0.1.0"
moka = {version="0.12.5", features=["future"]}
tachyonix = "0.2.1"
mizaru2={path="../../libraries/mizaru2"}
mizaru2={path="../../libraries/mizaru2"}
governor = "0.6.3"
quanta = "0.12.2"
1 change: 1 addition & 0 deletions binaries/geph5-exit/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ use tracing_subscriber::{layer::SubscriberExt as _, util::SubscriberInitExt as _
mod broker;
mod listen;
mod proxy;
mod ratelimit;

/// The global config file.
static CONFIG_FILE: OnceCell<ConfigFile> = OnceCell::new();
Expand Down

0 comments on commit e71b9cc

Please sign in to comment.