mirror of
https://github.com/euzu/tuliprox.git
synced 2026-10-05 15:32:31 +02:00
* fixing resource url problem * fix(resources): classify resource destinations per hop and keep the proxy in the fetch path A resource URL is classified (public / non-public / local) before it reaches a client, and every redirect hop is classified and fetched again: non-public hops connect directly, public hops go through the configured proxy, local hops are refused. Adds the public no-redirect resource client, a process-wide destination memo, and regression tests for the redirect and Web UI paths. * fix(resources): classify resource destinations per hop and keep the proxy in the fetch path A resource URL is classified (public / non-public / local) before it reaches a client, and every redirect hop is classified and fetched again: non-public hops connect directly, public hops go through the configured proxy, local hops are refused. Adds the public no-redirect resource client, a process-wide destination memo, and regression tests for the redirect and Web UI paths. --------- Co-authored-by: euzu <euzu@proton.me>
48 lines
1.0 KiB
TOML
48 lines
1.0 KiB
TOML
[package]
|
|
name = "shared"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
aes = "0.8.4"
|
|
bitflags = "2.13.1"
|
|
ciborium = "0.2.2"
|
|
hex = "0.4.3"
|
|
serde_tuple = "1.1.3"
|
|
serde.workspace = true
|
|
rmp-serde = "1.3.1"
|
|
regex.workspace = true
|
|
log.workspace = true
|
|
url.workspace = true
|
|
indexmap = { workspace = true, features = ["serde"] }
|
|
pest.workspace = true
|
|
pest_derive.workspace = true
|
|
serde_json.workspace = true
|
|
base64.workspace = true
|
|
blake3.workspace = true
|
|
fastrand = { workspace = true, features = ["js"] }
|
|
zeroize.workspace = true
|
|
chrono.workspace = true
|
|
chrono-tz = "0.10.4"
|
|
ctr = "0.9.2"
|
|
bytes.workspace = true
|
|
lz4_flex.workspace = true
|
|
brotli.workspace = true
|
|
deunicode.workspace = true
|
|
serde-saphyr.workspace = true
|
|
dashmap.workspace = true
|
|
paste.workspace = true
|
|
thiserror.workspace = true
|
|
strum_macros.workspace = true
|
|
strum.workspace = true
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
js-sys = "0.3.104"
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
getrandom = "0.4.3"
|