[workspace] members = [ "steamguard" ] [package] name = "steamguard-cli" version = "0.5.0" 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"] qr = ["qrcode"] [[bin]] name = "steamguard-cli" # filename = "steamguard" # TODO: uncomment when https://github.com/rust-lang/cargo/issues/9778 is stablized. # 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.5.0" rand = "0.8.4" 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.14" stderrlog = "0.4" cookie = "0.14" regex = "1" lazy_static = "1.4.0" uuid = { version = "0.8", features = ["v4"] } steamguard = { version = "0.5.0", path = "./steamguard" } dirs = "3.0.2" ring = "0.16.20" aes = "0.7.4" block-modes = "0.8.1" thiserror = "1.0.26" crossterm = { version = "0.23.2", features = ["event-stream"] } qrcode = { version = "0.12.0", optional = true } [dev-dependencies] tempdir = "0.3" proptest = "1" [profile.release] opt-level = 3 lto = true