39 lines
1 KiB
TOML
39 lines
1 KiB
TOML
[package]
|
|
name = "duralumin"
|
|
version = "0.2.0"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
name = "libduralumin"
|
|
path = "src/lib.rs"
|
|
|
|
[features]
|
|
default = ["passphrase-gen", "password-gen", "ed25519", "clap", "rpassword", "base64"]
|
|
ed25519 = ["osshkeys", "sha2"]
|
|
passphrase-gen = []
|
|
password-gen = []
|
|
|
|
[[bin]]
|
|
name = "duralumin"
|
|
required-features = ["passphrase-gen", "password-gen", "clap", "clap/derive"]
|
|
|
|
[[bin]]
|
|
name = "duralumin-keygen"
|
|
required-features = ["ed25519", "clap", "rpassword", "base64"]
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
rand = "0.8"
|
|
rand_chacha = "0.3"
|
|
clap = {version = "3.0.0-beta.5", optional = true, features = ["derive"]}
|
|
base64 = {version = "0.13", optional = true}
|
|
bytes = {version = "1.1", optional = true}
|
|
osshkeys = {git = "https://github.com/noonebtw/rust-osshkeys.git", branch = "master", optional = true}
|
|
sha2 = {version = "0.9", optional = true}
|
|
rpassword = {version = "5.0", optional = true}
|
|
zeroize = {version = "1.5"}
|
|
rust-argon2 = "1.0"
|
|
thiserror = "1.0"
|
|
anyhow = "1.0"
|