pull in + mod nym-gateway

This commit is contained in:
mfahampshire
2025-07-14 12:57:40 +02:00
parent b77dbdd87e
commit cd7bb9931e
2 changed files with 4 additions and 5 deletions
+2 -2
View File
@@ -15,8 +15,8 @@ nym-common = { git = "https://github.com/nymtech/nym-vpn-client/", rev = "c7e38a
nym-http-api-client = { path = "../common/http-api-client" }
nym-offline-monitor = { git = "https://github.com/nymtech/nym-vpn-client/", rev = "c7e38aae038748f7d577a8b1ae02931fff97e868" } # nym-vpn-core 1.11.0
nym-vpn-api-client = { git = "https://github.com/nymtech/nym-vpn-client/", rev = "c7e38aae038748f7d577a8b1ae02931fff97e868" } # nym-vpn-core 1.11.0
nym-sphinx = { path = "../common/nymsphinx" } # replaces the types pulled in from nym-sdk
nym-topology = { path = "../common/topology" } # replaces the types pulled in from nym-sdk
nym-sphinx = { path = "../common/nymsphinx" } # replaces the types pulled in from nym-sdk in nym-vpn-client repo
nym-topology = { path = "../common/topology" } # replaces the types pulled in from nym-sdk in nym-vpn-client repo
nym-validator-client = { path = "../common/client-libs/validator-client" }
nym-crypto = { path = "../common/crypto", features = [
"rand",
+2 -3
View File
@@ -6,21 +6,20 @@ use std::{
net::{IpAddr, SocketAddr},
};
// pub use ::UserAgent
use nym_http_api_client::UserAgent;
use nym_validator_client::{NymApiClient, models::NymNodeDescription, nym_nodes::SkimmedNode};
use nym_validator_client::{models::NymNodeDescription, nym_nodes::SkimmedNode, NymApiClient};
use nym_vpn_api_client::types::{GatewayMinPerformance, Percent, ScoreThresholds};
use rand::{prelude::SliceRandom, thread_rng};
use tracing::{debug, error, warn};
use url::Url;
use crate::{
Error, NymNode,
entries::{
country::Country,
gateway::{Gateway, GatewayList, GatewayType, NymNodeList},
},
error::Result,
Error, NymNode,
};
#[derive(Clone, Debug)]