Skip to content

Commit

Permalink
Merge pull request AleoNet#1797 from ljedrz/testnet3_update_deps
Browse files Browse the repository at this point in the history
Update deps
  • Loading branch information
ljedrz authored Jun 23, 2022
2 parents 95d8300 + 895daed commit 50933d8
Show file tree
Hide file tree
Showing 9 changed files with 188 additions and 180 deletions.
4 changes: 2 additions & 2 deletions .crawler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ version = "1"
version = "1"

[dependencies.clap]
version = "3.1"
version = "3.2"
features = [ "derive" ]

[dependencies.nalgebra]
Expand All @@ -49,7 +49,7 @@ optional = true
version = "0.12"

[dependencies.pea2pea]
version = "0.37"
version = "0.38"

[dependencies.postgres-native-tls]
version = "0.5"
Expand Down
2 changes: 1 addition & 1 deletion .crawler/src/crawler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ pub struct StorageClient;
#[derive(Debug, Parser)]
pub struct Opts {
/// Specify the IP address and port for the node server.
#[clap(long = "addr", short = 'a', parse(try_from_str), default_value = "0.0.0.0:4132")]
#[clap(long, short, default_value = "0.0.0.0:4132", action)]
pub addr: SocketAddr,
#[cfg(feature = "postgres")]
#[clap(flatten)]
Expand Down
14 changes: 7 additions & 7 deletions .crawler/src/storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,26 +38,26 @@ use crate::{
#[derive(Debug, Parser)]
pub struct PostgresOpts {
/// The hostname of the postgres instance (defaults to "localhost").
#[clap(long = "postgres-host", default_value = "localhost")]
#[clap(long = "postgres-host", default_value = "localhost", action)]
pub host: String,
/// The port of the postgres instance (defaults to 5432).
#[clap(long = "postgres-port", default_value = "5432")]
#[clap(long = "postgres-port", default_value = "5432", action)]
pub port: u16,
/// The user of the postgres instance (defaults to "postgres").
#[clap(long = "postgres-user", default_value = "postgres")]
#[clap(long = "postgres-user", default_value = "postgres", action)]
pub user: String,
/// The password for the postgres instance (defaults to nothing).
#[clap(long = "postgres-pass", default_value = "")]
#[clap(long = "postgres-pass", default_value = "", action)]
pub pass: String,
/// The hostname of the postgres instance (defaults to "postgres").
#[clap(long = "postgres-dbname", default_value = "postgres")]
#[clap(long = "postgres-dbname", default_value = "postgres", action)]
pub dbname: String,
/// If set to `true`, re-creates the crawler's database tables.
#[clap(long = "postgres-clean")]
#[clap(long = "postgres-clean", action)]
pub clean: bool,
/// The path to a certificate file to be used for a TLS connection with the postgres instance.
#[cfg(feature = "postgres-tls")]
#[clap(long = "postgres-cert-path")]
#[clap(long = "postgres-cert-path", action)]
pub cert_path: PathBuf,
}

Expand Down
2 changes: 1 addition & 1 deletion .integration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ optional = true
version = "0.1"

[dependencies.pea2pea]
version = "0.37"
version = "0.38"

[dependencies.peak_alloc]
version = "0.1"
Expand Down
2 changes: 1 addition & 1 deletion .synthetic_node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ version = "0.3"
version = "0.12"

[dependencies.pea2pea]
version = "0.37"
version = "0.38"

[dependencies.rand]
version = "0.8"
Expand Down
Loading

0 comments on commit 50933d8

Please sign in to comment.