[package]
name = "solana-keygen"
description = "Solana key generation utility"
documentation = "https://docs.rs/solana-keygen"
version = { workspace = true }
authors = { workspace = true }
repository = { workspace = true }
homepage = { workspace = true }
license = { workspace = true }
edition = { workspace = true }

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

[[bin]]
name = "solana-keygen"
path = "src/keygen.rs"

[features]
default = ["remote-wallet-hidraw"]
agave-unstable-api = []
remote-wallet-hidraw = ["solana-remote-wallet/linux-static-hidraw"]
remote-wallet-libusb = ["solana-remote-wallet/linux-static-libusb"]

[dependencies]
agave-votor-messages = { workspace = true }
bs58 = { workspace = true, features = ["std"] }
clap = { version = "3.1.5", features = ["cargo"] }
dirs-next = { workspace = true }
num_cpus = { workspace = true }
serde_json = { workspace = true }
solana-bls-signatures = { workspace = true }
solana-clap-v3-utils = { workspace = true }
solana-cli-config = { workspace = true }
solana-derivation-path = "=3.0.0"
solana-instruction = { version = "=3.0.0", features = ["bincode"] }
solana-keypair = "=3.0.1"
solana-message = { version = "=3.0.1", features = ["bincode"] }
solana-pubkey = { version = "=3.0.0", default-features = false }
solana-remote-wallet = { workspace = true }
solana-seed-derivable = "=3.0.0"
solana-signer = "=3.0.0"
solana-version = { workspace = true }
tiny-bip39 = { workspace = true }

[dev-dependencies]
solana-pubkey = { workspace = true, features = ["rand"] }
tempfile = { workspace = true }
