# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "libr2fa" version = "0.1.3" authors = ["Alex Hua "] description = "rust implementation for HTOP, TOTP and steam guard tow-factor-authentication" homepage = "https://github.com/Alex222222222222/r2fa" documentation = "https://docs.rs/libr2fa/" readme = "README.md" keywords = [ "2fa", "HTOP", "TOTP", "steamguard", "Authentication", ] categories = ["authentication"] license = "MIT" repository = "https://github.com/Alex222222222222/r2fa" [[bench]] name = "bench" harness = false [dependencies.chrono] version = "0.4.24" [dependencies.data-encoding] version = "2.3.3" [dependencies.image] version = "0.24.6" optional = true [dependencies.log] version = "0.4.17" optional = true [dependencies.once_cell] version = "1.17.1" [dependencies.qrcodegen] version = "1.8.0" optional = true [dependencies.rand] version = "0.8.5" optional = true [dependencies.regex] version = "1.7.3" [dependencies.reqwest] version = "0.11" features = [ "blocking", "json", "cookies", "gzip", "rustls-tls", ] optional = true [dependencies.ring] version = "0.16.20" [dependencies.rqrr] version = "0.6.0" optional = true [dependencies.rsa] version = "0.9.2" optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0.96" optional = true [dependencies.url] version = "2.3.1" [dev-dependencies.criterion] version = "0.5" features = ["html_reports"] [dev-dependencies.libauthenticator] version = "0.1.0" [dev-dependencies.totp-rs] version = "5.0.1" [features] default = [ "qrcode", "steam", "log", ] log = ["dep:log"] qrcode = [ "qrcoderead", "qrcodegen", ] qrcodegen = [ "dep:qrcodegen", "dep:image", ] qrcoderead = [ "dep:rqrr", "dep:image", ] steam = [ "dep:reqwest", "dep:serde_json", "dep:rsa", "dep:rand", ]