upgrade tor deps
This commit is contained in:
Vendored
+4
-1
@@ -1,3 +1,6 @@
|
|||||||
{
|
{
|
||||||
"dart.runPubGetOnPubspecChanges": "never"
|
"dart.runPubGetOnPubspecChanges": "never",
|
||||||
|
"rust-analyzer.linkedProjects": [
|
||||||
|
"./packages/tor/rust/Cargo.toml"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
Generated
+637
-612
File diff suppressed because it is too large
Load Diff
@@ -14,15 +14,15 @@ crate-type = ["cdylib", "staticlib"]
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
lazy_static = "1.5"
|
lazy_static = "1.5"
|
||||||
tokio = { version = "1", features = ["full"] }
|
tokio = { version = "1", features = ["full"] }
|
||||||
arti-client = { version = "0.34.0", features = ["static", "onion-service-client"] }
|
arti-client = { version = "0.36.0", features = ["static", "onion-service-client"] }
|
||||||
arti = { version = "1.5.0", features = ["experimental-api", "static"] }
|
arti = { version = "1.7.0", features = ["experimental-api", "static"] }
|
||||||
tor-rtcompat = { version = "0.34.0", features = ["static"] }
|
tor-rtcompat = { version = "0.36.0", features = ["static"] }
|
||||||
tor-config = "0.34.0"
|
tor-config = "0.36.0"
|
||||||
log = "0.4.28"
|
log = "0.4.28"
|
||||||
#android_log-sys = "0.3.1"
|
#android_log-sys = "0.3.1"
|
||||||
rlimit = "0.10.2"
|
rlimit = "0.10.2"
|
||||||
anyhow = "1.0.99"
|
anyhow = "1.0.100"
|
||||||
time = "0.3.43"
|
time = "0.3.44"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
cbindgen = "=0.24.3"
|
cbindgen = "=0.24.3"
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
use crate::error::update_last_error;
|
use crate::error::update_last_error;
|
||||||
use arti::socks;
|
|
||||||
use arti_client::config::pt::TransportConfigBuilder;
|
use arti_client::config::pt::TransportConfigBuilder;
|
||||||
use arti_client::config::CfgPath;
|
use arti_client::config::CfgPath;
|
||||||
use arti_client::{DormantMode, TorClient, TorClientConfig};
|
use arti_client::{DormantMode, TorClient, TorClientConfig};
|
||||||
@@ -246,7 +245,7 @@ fn start_proxy(
|
|||||||
) -> JoinHandle<anyhow::Result<()>> {
|
) -> JoinHandle<anyhow::Result<()>> {
|
||||||
println!("Starting proxy!");
|
println!("Starting proxy!");
|
||||||
let rt = RUNTIME.as_ref().unwrap();
|
let rt = RUNTIME.as_ref().unwrap();
|
||||||
rt.spawn(socks::run_socks_proxy(
|
rt.spawn(arti::proxy::run_proxy(
|
||||||
client.runtime().clone(),
|
client.runtime().clone(),
|
||||||
client.clone(),
|
client.clone(),
|
||||||
Listen::new_localhost(port),
|
Listen::new_localhost(port),
|
||||||
|
|||||||
Reference in New Issue
Block a user