Crates.io | rust_kits |
lib.rs | rust_kits |
version | 0.1.6 |
source | src |
created_at | 2023-09-29 02:50:57.157857 |
updated_at | 2024-09-28 00:20:48.571195 |
description | rust tool kits |
homepage | https://github.com/peacess/rust |
repository | https://github.com/peacess/rust |
max_upload_size | |
id | 986968 |
size | 49,725 |
Rust kits
Features:
cargo run --bin=generate_certificate -- -h
Options:
-o, --output <OUTPUT> [default: output]
-d, --dns-names <DNS_NAMES> if the [count] != 0, then merge [dns_names] and [count], and distinct name.
[default: ""]
-c, --count <COUNT> the dns name count. count = 2, sample names: name1, name2
[default: 3]
-n, --name <NAME> the pre name of dns, see [count] [default: client]
-a, --algorithm <ALGORITHM> [default: pkcs-ed25519]
[possible values:
pkcs-rsa-sha256, pkcs-rsa-sha384, pkcs-rsa-sha512, pkcs-ecdsa-p256-sha256,
pkcs-ecdsa-p384-sha384, pkcs-ecdsa-p521-sha512, pkcs-ed25519
]
-h, --help Print help
-V, --version Print version