2021-07-31 18:24:49 +02:00
|
|
|
[workspace]
|
|
|
|
|
2023-06-25 15:24:53 +02:00
|
|
|
members = ["steamguard"]
|
2021-07-31 18:24:49 +02:00
|
|
|
|
2021-03-22 02:21:29 +01:00
|
|
|
[package]
|
|
|
|
name = "steamguard-cli"
|
2023-07-05 12:59:44 +02:00
|
|
|
version = "0.10.1"
|
2022-06-12 18:17:26 +02:00
|
|
|
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
|
|
|
|
2022-12-05 14:47:33 +01:00
|
|
|
[features]
|
2023-07-02 16:44:18 +02:00
|
|
|
default = ["qr", "updater", "keyring"]
|
|
|
|
qr = ["dep:qrcode"]
|
|
|
|
updater = ["dep:update-informer"]
|
|
|
|
keyring = ["dep:keyring"]
|
2022-12-05 14:47:33 +01:00
|
|
|
|
2023-06-23 21:21:46 +02:00
|
|
|
# [[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.
|
2021-08-25 14:49:02 +02:00
|
|
|
|
2023-06-23 21:21:46 +02:00
|
|
|
[[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]
|
2021-07-28 05:49:53 +02:00
|
|
|
anyhow = "^1.0"
|
2021-03-22 02:21:29 +01:00
|
|
|
hmac-sha1 = "^0.1"
|
|
|
|
base64 = "0.13.0"
|
2021-03-24 22:49:09 +01:00
|
|
|
text_io = "0.1.8"
|
|
|
|
rpassword = "5.0"
|
2022-06-12 15:41:47 +02:00
|
|
|
reqwest = { version = "0.11", default-features = false, features = ["blocking", "json", "cookies", "gzip", "rustls-tls"] }
|
2021-03-24 22:49:09 +01:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
serde_json = "1.0"
|
2023-07-03 17:42:10 +02:00
|
|
|
rsa = "0.9.2"
|
|
|
|
rand = "0.8.5"
|
2021-03-27 14:31:38 +01:00
|
|
|
standback = "0.2.17" # required to fix a compilation error on a transient dependency
|
2022-06-24 05:29:14 +02:00
|
|
|
clap = { version = "3.1.18", features = ["derive", "cargo", "env"] }
|
2022-06-19 18:37:40 +02:00
|
|
|
clap_complete = "3.2.1"
|
2023-06-29 23:58:48 +02:00
|
|
|
log = "0.4.19"
|
2021-03-27 15:35:52 +01:00
|
|
|
stderrlog = "0.4"
|
2021-04-04 16:40:16 +02:00
|
|
|
cookie = "0.14"
|
|
|
|
regex = "1"
|
|
|
|
lazy_static = "1.4.0"
|
2021-07-27 16:10:20 +02:00
|
|
|
uuid = { version = "0.8", features = ["v4"] }
|
2023-07-03 18:26:35 +02:00
|
|
|
steamguard = { version = "^0.10.0", path = "./steamguard" }
|
2021-08-13 00:06:18 +02:00
|
|
|
dirs = "3.0.2"
|
2023-06-27 01:02:48 +02:00
|
|
|
aes = "0.8.3"
|
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"] }
|
2022-12-05 14:47:33 +01:00
|
|
|
qrcode = { version = "0.12.0", optional = true }
|
2023-06-22 22:20:15 +02:00
|
|
|
gethostname = "0.4.3"
|
|
|
|
secrecy = { version = "0.8", features = ["serde"] }
|
2023-07-03 17:42:10 +02:00
|
|
|
zeroize = { version = "^1.6.0", features = ["std", "zeroize_derive"] }
|
2023-06-24 18:06:12 +02:00
|
|
|
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"] }
|
2023-06-25 19:11:24 +02:00
|
|
|
phonenumber = "0.3"
|
2023-06-27 01:02:48 +02:00
|
|
|
cbc = { version = "0.1.2", features = ["std"] }
|
|
|
|
inout = { version = "0.1.3", features = ["std"] }
|
2023-07-02 16:44:18 +02:00
|
|
|
keyring = { version = "2.0.4", optional = true }
|
2023-07-03 16:23:56 +02:00
|
|
|
argon2 = { version = "0.5.0", features = ["std"] }
|
2023-07-03 17:42:10 +02:00
|
|
|
pbkdf2 = { version = "0.12.1", features = ["parallel"] }
|
|
|
|
sha1 = "0.10.5"
|
2023-07-03 18:25:43 +02:00
|
|
|
rayon = "1.7.0"
|
2021-08-14 19:39:01 +02:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
tempdir = "0.3"
|
2021-08-20 15:37:55 +02:00
|
|
|
proptest = "1"
|
2021-08-20 17:49:03 +02:00
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
opt-level = 3
|
|
|
|
lto = true
|