[workspace] members = ["steamguard"] [package] name = "steamguard-cli" version = "0.9.7" authors = ["dyc3 (Carson McManus) "] edition = "2018" description = "A command line utility to generate Steam 2FA codes and respond to confirmations." keywords = ["steam", "2fa", "steamguard", "authentication", "cli"] categories = ["command-line-utilities"] repository = "https://github.com/dyc3/steamguard-cli" license = "GPL-3.0-or-later" [features] default = ["qr", "updater", "keyring"] qr = ["dep:qrcode"] updater = ["dep:update-informer"] keyring = ["dep:keyring"] # [[bin]] # name = "steamguard-cli" # filename = "steamguard" # TODO: uncomment when https://github.com/rust-lang/cargo/issues/9778 is stablized. [[bin]] name = "steamguard" path = "src/main.rs" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] anyhow = "^1.0" hmac-sha1 = "^0.1" base64 = "0.13.0" text_io = "0.1.8" rpassword = "5.0" reqwest = { version = "0.11", default-features = false, features = ["blocking", "json", "cookies", "gzip", "rustls-tls"] } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" rsa = "0.9.2" rand = "0.8.5" standback = "0.2.17" # required to fix a compilation error on a transient dependency clap = { version = "3.1.18", features = ["derive", "cargo", "env"] } clap_complete = "3.2.1" log = "0.4.19" stderrlog = "0.4" cookie = "0.14" regex = "1" lazy_static = "1.4.0" uuid = { version = "0.8", features = ["v4"] } steamguard = { version = "^0.9.5", path = "./steamguard" } dirs = "3.0.2" aes = "0.8.3" thiserror = "1.0.26" crossterm = { version = "0.23.2", features = ["event-stream"] } qrcode = { version = "0.12.0", optional = true } gethostname = "0.4.3" secrecy = { version = "0.8", features = ["serde"] } zeroize = { version = "^1.6.0", features = ["std", "zeroize_derive"] } serde_path_to_error = "0.1.11" update-informer = { version = "1.0.0", optional = true, default-features = false, features = ["github"] } phonenumber = "0.3" cbc = { version = "0.1.2", features = ["std"] } inout = { version = "0.1.3", features = ["std"] } keyring = { version = "2.0.4", optional = true } argon2 = { version = "0.5.0", features = ["std"] } pbkdf2 = { version = "0.12.1", features = ["parallel"] } sha1 = "0.10.5" [dev-dependencies] tempdir = "0.3" proptest = "1" [profile.release] opt-level = 3 lto = true