Skip to content

Commit

Permalink
Merge branch 'main' into notify
Browse files Browse the repository at this point in the history
  • Loading branch information
tertsdiepraam committed Nov 22, 2024
2 parents 05cfaa4 + 9744d9e commit 86d2a30
Show file tree
Hide file tree
Showing 7 changed files with 466 additions and 92 deletions.
16 changes: 11 additions & 5 deletions Cargo.lock

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

13 changes: 6 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ path = "src/bin/ldns.rs"
bytes = "1.8.0"
chrono = "0.4.38"
clap = { version = "4.3.4", features = ["derive"] }
domain = { version = "0.10.3", git = "https://github.com/NLnetLabs/domain.git", features = [
domain = { version = "0.10.3", git = "https://github.com/NLnetLabs/domain.git", branch = "initial-nsec3-generation", features = [
"zonefile",
"bytes",
"unstable-validate",
"unstable-validator",
"net",
"unstable-client-transport",
"tsig",
Expand All @@ -25,15 +25,14 @@ domain = { version = "0.10.3", git = "https://github.com/NLnetLabs/domain.git",
lexopt = "0.3.0"
tokio = "1.40.0"

# for implementation of nsec3 hash until domain has it stabilized
octseq = { version = "0.5.2", features = ["std"] }
ring = { version = "0.17" }

# This is a workaround. lazy_static 1.0.0 fails to compile, but sharded-slab
# still uses it. And sharded-slab is used by tracing-subscriber, which is
# used by domain, which is used by us.
_unused_lazy_static = { package = "lazy_static", version = "1.0.2" }

[dev-dependencies]
test_bin = "0.4.0"
tempfile = "3.14.0"
domain = { version = "*", git = "https://github.com/NLnetLabs/domain.git", features = ["unstable-stelline"] }
domain = { version = "*", git = "https://github.com/NLnetLabs/domain.git", branch = "initial-nsec3-generation", features = [
"unstable-stelline",
] }
2 changes: 1 addition & 1 deletion doc/manual/source/man/dnst-nsec3-hash.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Options
.. option:: -i <NUMBER>, -t <NUMBER>, --iterations <NUMBER>

Use the given number of additional iterations for the hash
calculation. Defaults to 1.
calculation. Defaults to 0.

.. option:: -s <HEX STRING>, --salt <HEX STRING>

Expand Down
3 changes: 1 addition & 2 deletions src/commands/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//! The command of _dnst_.

pub mod help;
pub mod key2ds;
pub mod notify;
Expand All @@ -20,7 +19,7 @@ use super::error::Error;
#[allow(clippy::large_enum_variant)]
#[derive(Clone, Debug, clap::Subcommand)]
pub enum Command {
/// Print the NSEC3 hash of a given domain name
/// Prints the NSEC3 hash of a given domain name
#[command(name = "nsec3-hash")]
Nsec3Hash(self::nsec3hash::Nsec3Hash),

Expand Down
Loading

0 comments on commit 86d2a30

Please sign in to comment.