0801b3c6f8
* exit policy types * simple client for grabbing the policy * moved allowed_hosts to a submodule * started integrating exit policy into a NR * ability to construct ExitPolicyRequestFilter * fixed policy parsing to look for comment char from the left * conditionally setting up request filter * [wip] setting up correct url for exit policy upstream * clap flags for running with exit policy * fixed NR template * updated NR config template * making sure to perform request filtering in separate task * initial, placeholder, exit policy API endpoint * serving exit policy from an embedded NR * double slash sanitization * socks5 query for exit policy * adjusted address policy logging * cargo fmt * Updated exit policy url to point to the correct mainnet file * removed unecessary mutability in filter tests * fixed the code block showing example policy being interpreted as doc test
19 lines
657 B
TOML
19 lines
657 B
TOML
[package]
|
|
name = "nym-socks5-requests"
|
|
version = "0.1.0"
|
|
authors = ["Dave Hrycyszyn <futurechimp@users.noreply.github.com>"]
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
bincode = "1.3.3"
|
|
log = { workspace = true }
|
|
nym-exit-policy = { path = "../../../common/exit-policy"}
|
|
nym-service-providers-common = { path = "../../../service-providers/common" }
|
|
nym-sphinx-addressing = { path = "../../../common/nymsphinx/addressing" }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json = { workspace = true }
|
|
tap = { workspace = true }
|
|
thiserror = { workspace = true }
|