Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
breard-r committed Jan 20, 2025
1 parent 612830c commit 148563b
Show file tree
Hide file tree
Showing 8 changed files with 111 additions and 73 deletions.
129 changes: 70 additions & 59 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ ed448 = []
[dependencies]
anyhow = { version = "1.0.94", default-features = false, features = ["std"] }
clap = { version = "4.5.23", default-features = false, features = ["color", "derive", "help", "std", "string"] }
config = { version = "0.14.0", default-features = false, features = ["toml"] }
config = { version = "0.15.6", default-features = false, features = ["toml"] }
daemonize = { version = "0.5.0", default-features = false }
nom = { version = "7.1.3", default-features = false }
reqwest = { version = "0.12.10", default-features = false, features = ["http2", "charset", "rustls-tls"] }
Expand Down
4 changes: 2 additions & 2 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -292,12 +292,12 @@ mod tests {
);
assert!(cfg.rate_limit.is_empty());
assert_eq!(cfg.endpoint.len(), 2);
let ac1 = cfg.endpoint.get("test ac 1").unwrap();
let ac1 = cfg.endpoint.get("test AC 1").unwrap();
assert_eq!(ac1.url, "https://acme-v02.ac1.example.org/directory");
assert_eq!(ac1.tos_agreed, true);
assert!(ac1.random_early_renew.is_none());
assert!(ac1.root_certificates.is_empty());
let ac2 = cfg.endpoint.get("test ac 2").unwrap();
let ac2 = cfg.endpoint.get("test AC 2").unwrap();
assert_eq!(ac2.url, "https://acme-v02.ac2.example.org/directory");
assert_eq!(ac2.tos_agreed, false);
assert_eq!(ac2.random_early_renew, Some(Duration::from_secs(10)));
Expand Down
Loading

0 comments on commit 148563b

Please sign in to comment.