mirror of
https://github.com/NLnetLabs/dnst.git
synced 2026-09-29 13:15:00 +02:00
Add keygen command. (#9)
* Keygen skeleton.
* [keygen] Implement the basic features
* [keygen] synchronize files before exiting
* [keygen] Add help documentation
* [keygen] Generate '.ds' files for KSKs
* [keygen] Use 'display_as_bind()'
* [keygen] Add support for symlinks (Unix only)
* [keygen] Improve errors and support '.ds' symlinks
* Implement ldns-specific parsing for 'keygen'
* [keygen] Implement '-v' with version info
* [keygen] Add 'cfg(unix)' in ldns-parsing
* [keygen] Correctly handle duplicate options in ldns parsing
* Revert "[keygen] Implement '-v' with version info"
This reverts commit 643ab86bd4.
See: <https://github.com/NLnetLabs/dnst/pull/9#discussion_r1843460496>
* [keygen] Integrate the use of 'Env'
* [workflows/ci] Add OpenSSL installation steps
* [workflows/ci] Integrate OpenSSL for 'minimal_versions'
* [keygen] Improve the 'dnst' interface
* [keygen] Satisfy clippy
* [keygen] Simplify symlink CLI
* Add basic filesystem operations to 'Env'
* [keygen] Use symlink ops provided by 'Env'
* [keygen] Add basic tests for argument parsing
* [keygen] Add tests
* [keygen] Satisfy 'minimal-versions'
* [keygen] Satisfy clippy
* [keygen] Add Windows-specific missing branch
* [keygen] Document parsing for 'symlink'
* [keygen] Report error on '-r'
* [env] Refactor util fns into a 'util' module
* [keygen::symlink] Mark params as used, for Windows
* [keygen] Fix double error message
See: <https://github.com/NLnetLabs/dnst/pull/9#discussion_r1862213985>
* [keygen] Use 'Args::Report'
* [keygen] Allow invalid HTML in docs for Clap
* Use 'domain'-style imports
* [keygen] Use uppercase for expected clap values
* [keygen] use lowercase value names in Clap
---------
Co-authored-by: arya dradjica <arya@nlnetlabs.nl>
This commit is contained in:
co-authored by
arya dradjica
parent
7e2b9a6cb7
commit
617b623ba3
@@ -10,6 +10,13 @@ jobs:
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest, macOS-latest]
|
||||
rust: [1.78.0, stable, beta, nightly]
|
||||
env:
|
||||
RUSTFLAGS: "-D warnings"
|
||||
# We use 'vcpkg' to install OpenSSL on Windows.
|
||||
VCPKG_ROOT: "${{ github.workspace }}\\vcpkg"
|
||||
VCPKGRS_TRIPLET: x64-windows-release
|
||||
# Ensure that OpenSSL is dynamically linked.
|
||||
VCPKGRS_DYNAMIC: 1
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v1
|
||||
@@ -17,6 +24,16 @@ jobs:
|
||||
uses: hecrj/setup-rust-action@v2
|
||||
with:
|
||||
rust-version: ${{ matrix.rust }}
|
||||
- if: matrix.os == 'ubuntu-latest'
|
||||
run: sudo apt-get install -y libssl-dev
|
||||
- if: matrix.os == 'windows-latest'
|
||||
id: vcpkg
|
||||
uses: johnwason/vcpkg-action@v6
|
||||
with:
|
||||
pkgs: openssl
|
||||
triplet: ${{ env.VCPKGRS_TRIPLET }}
|
||||
token: ${{ github.token }}
|
||||
github-binarycache: true
|
||||
- if: matrix.rust == 'stable'
|
||||
run: rustup component add clippy
|
||||
- if: matrix.rust == 'stable'
|
||||
@@ -36,6 +53,8 @@ jobs:
|
||||
uses: hecrj/setup-rust-action@v2
|
||||
with:
|
||||
rust-version: "1.78.0"
|
||||
- name: Install OpenSSL
|
||||
run: sudo apt-get install -y libssl-dev
|
||||
- name: Install nightly Rust
|
||||
run: rustup install nightly
|
||||
- name: Check with minimal-versions
|
||||
|
||||
Reference in New Issue
Block a user