Compare commits

...

2 Commits

Author SHA1 Message Date
Fran Arbanas acf8325d08 update version to testfran 2024-11-22 14:15:15 +01:00
Fran Arbanas e2242a63f5 feat: add env vars to NNM 2024-11-22 14:09:34 +01:00
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
[package]
name = "nym-network-monitor"
version = "1.0.1"
version = "1.0.1-testfran"
authors.workspace = true
repository.workspace = true
homepage.workspace = true
@@ -13,7 +13,7 @@ license.workspace = true
[dependencies]
anyhow = { workspace = true }
axum = { workspace = true, features = ["json"] }
clap = { workspace = true, features = ["derive"] }
clap = { workspace = true, features = ["derive", "env"] }
dashmap = { workspace = true }
futures = { workspace = true }
log = { workspace = true }
+2 -2
View File
@@ -107,11 +107,11 @@ struct Args {
client_lifetime: u64,
/// Port to listen on
#[arg(long, default_value_t = 8080)]
#[arg(long, default_value_t = 8080, env = "NYM_NETWORK_MONITORING_PORT")]
port: u16,
/// Host to listen on
#[arg(long, default_value = "127.0.0.1")]
#[arg(long, default_value = "127.0.0.1", env = "NYM_NETWORK_MONITORING_HOST")]
host: String,
/// Path to the topology file