2021-07-31 18:24:49 +02:00
|
|
|
[workspace]
|
|
|
|
|
|
|
|
members = [
|
|
|
|
"steamguard"
|
|
|
|
]
|
|
|
|
|
2021-03-22 02:21:29 +01:00
|
|
|
[package]
|
|
|
|
name = "steamguard-cli"
|
2022-06-25 17:24:43 +02:00
|
|
|
version = "0.5.0"
|
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]
|
|
|
|
default = ["qr"]
|
|
|
|
qr = ["qrcode"]
|
|
|
|
|
2021-08-25 14:49:02 +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
|
|
|
|
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"] }
|
2022-06-25 17:26:43 +02:00
|
|
|
steamguard = { version = "0.5.0", 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 }
|
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
|