access control and command handling with regex

This commit is contained in:
2021-08-22 01:50:07 +02:00
parent 5a631f785e
commit 99d9b83c68
7 changed files with 793 additions and 113 deletions
Generated
+30
View File
@@ -530,12 +530,15 @@ dependencies = [
"futures 0.3.16",
"log 0.4.14",
"native-tls",
"once_cell",
"regex",
"serde",
"serde_json",
"smart-default",
"thiserror",
"tokio",
"tokio-stream",
"voca_rs",
"websocket",
]
@@ -1777,6 +1780,16 @@ version = "1.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dba1a27d3efae4351c8051072d619e3ade2820635c3958d826bfea39d59b54c8"
[[package]]
name = "stfu8"
version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4bf70433e3300a3c395d06606a700cdf4205f4f14dbae2c6833127c6bb22db77"
dependencies = [
"lazy_static",
"regex",
]
[[package]]
name = "strsim"
version = "0.8.0"
@@ -2144,6 +2157,12 @@ dependencies = [
"smallvec 0.6.10",
]
[[package]]
name = "unicode-segmentation"
version = "1.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8895849a949e7845e06bd6dc1aa51731a103c42707010a5b591c0038fb73385b"
[[package]]
name = "unicode-width"
version = "0.1.6"
@@ -2215,6 +2234,17 @@ version = "0.9.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5fecdca9a5291cc2b8dcf7dc02453fee791a280f3743cb0905f8822ae463b3fe"
[[package]]
name = "voca_rs"
version = "1.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ec29ce40c253a1579092852bbea5cb4fbcf34c04b91d8127300202aa17c998fc"
dependencies = [
"regex",
"stfu8",
"unicode-segmentation",
]
[[package]]
name = "want"
version = "0.3.0"