steamguard-cli/Cargo.toml

73 lines
2 KiB
TOML
Raw Normal View History

[workspace]
2023-06-25 15:24:53 +02:00
members = ["steamguard"]
2021-03-22 02:21:29 +01:00
[package]
name = "steamguard-cli"
2023-06-24 14:25:56 +02:00
version = "0.8.2"
authors = ["dyc3 (Carson McManus) <carson.mcmanus1@gmail.com>"]
2021-03-22 02:21:29 +01:00
edition = "2018"
2021-08-20 18:17:59 +02:00
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"
2021-08-25 15:22:36 +02:00
license = "GPL-3.0-or-later"
2021-03-22 02:21:29 +01:00
[features]
2023-06-25 15:24:53 +02:00
default = ["qr", "updater"]
qr = ["qrcode"]
2023-06-25 15:24:53 +02:00
updater = ["update-informer"]
# [[bin]]
# name = "steamguard-cli"
2021-08-25 16:26:34 +02:00
# filename = "steamguard" # TODO: uncomment when https://github.com/rust-lang/cargo/issues/9778 is stablized.
[[bin]]
name = "steamguard"
path = "src/main.rs"
2021-03-22 02:21:29 +01:00
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = "^1.0"
2021-03-22 02:21:29 +01:00
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"
2021-07-30 04:52:48 +02:00
rsa = "0.5.0"
rand = "0.8.4"
2021-03-27 14:31:38 +01:00
standback = "0.2.17" # required to fix a compilation error on a transient dependency
clap = { version = "3.1.18", features = ["derive", "cargo", "env"] }
2022-06-19 18:37:40 +02:00
clap_complete = "3.2.1"
2021-03-27 15:35:52 +01:00
log = "0.4.14"
stderrlog = "0.4"
cookie = "0.14"
regex = "1"
lazy_static = "1.4.0"
2021-07-27 16:10:20 +02:00
uuid = { version = "0.8", features = ["v4"] }
steamguard = { version = "^0.8.1", path = "./steamguard" }
dirs = "3.0.2"
2021-08-15 17:52:54 +02:00
ring = "0.16.20"
aes = "0.7.4"
block-modes = "0.8.1"
2021-08-17 03:13:58 +02:00
thiserror = "1.0.26"
2022-02-18 16:57:50 +01:00
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 = "^1.4.3"
serde_path_to_error = "0.1.11"
2023-06-25 15:24:53 +02:00
update-informer = { version = "1.0.0", optional = true, default-features = false, features = ["github"] }
phonenumber = "0.3"
[dev-dependencies]
tempdir = "0.3"
2021-08-20 15:37:55 +02:00
proptest = "1"
[profile.release]
opt-level = 3
lto = true