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-06-24 14:25:56 +02:00
|
|
|
version = "0.8.2"
|
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-06-25 15:24:53 +02:00
|
|
|
default = ["qr", "updater"]
|
2022-12-05 14:47:33 +01:00
|
|
|
qr = ["qrcode"]
|
2023-06-25 15:24:53 +02:00
|
|
|
updater = ["update-informer"]
|
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"
|
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
|
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"
|
2021-03-27 15:35:52 +01:00
|
|
|
log = "0.4.14"
|
|
|
|
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-06-23 21:22:51 +02:00
|
|
|
steamguard = { version = "^0.8.1", path = "./steamguard" }
|
2021-08-13 00:06:18 +02:00
|
|
|
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"] }
|
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-06-23 19:36:23 +02:00
|
|
|
zeroize = "^1.4.3"
|
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"] }
|
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
|