From 7cfb0e9fb0a602f57bf3b03130998b0c8757d2e1 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 9 Oct 2019 14:40:39 -0400 Subject: basic rate limiting for now, it just closes down connections if a single user is being too spammy (other than with TerminalOutput messages). this is better than nothing, but overall doesn't really do a whole lot - it'll probably need some amount of tweaking. --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 0ac207e..1c88a81 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,6 +11,7 @@ crossterm = "0.11" futures = "0.1" mio = "0.6" rand = "0.7" +ratelimit_meter = "5" snafu = { version = "0.5", features = ["futures-01"] } tokio = "0.1" tokio-pty-process = "0.4" -- cgit v1.2.3-54-g00ecf