Edit

thodg/totp-rs/Cargo.toml

Branch :

  • Show log

    Commit

  • Author : Cléo REBERT
    Date : 2023-01-06 14:35:18
    Hash : d54bd9e4
    Message : chore(FLOW-2123): Add examples Signed-off-by: Cléo REBERT <cleo.rebert-ext@treezor.com>

  • Cargo.toml
  • [package]
    name = "totp-rs"
    version = "4.1.0"
    authors = ["Cleo Rebert <cleo.rebert@gmail.com>"]
    rust-version = "1.59"
    edition = "2021"
    readme = "README.md"
    license = "MIT"
    description = "RFC-compliant TOTP implementation with ease of use as a goal and additionnal QoL features."
    repository = "https://github.com/constantoine/totp-rs"
    homepage = "https://github.com/constantoine/totp-rs"
    keywords = ["authentication", "2fa", "totp", "hmac", "otp"]
    categories = ["authentication", "web-programming"]
    
    [package.metadata.docs.rs]
    features = [ "qr", "serde_support" ]
    
    [features]
    default = []
    otpauth = ["url", "urlencoding"]
    qr = ["qrcodegen", "image", "base64", "otpauth"]
    serde_support = ["serde"]
    gen_secret = ["rand"]
    steam = []
    
    [dependencies]
    serde = { version = "1.0", features = ["derive"], optional = true }
    sha2 = "~0.10.2"
    sha1 = "~0.10.5"
    hmac = "~0.12.1"
    base32 = "~0.4"
    urlencoding = { version = "^2.1.0", optional = true}
    url = { version = "^2.2.2", optional = true }
    constant_time_eq = "0.2.4"
    qrcodegen = { version = "~1.8", optional = true }
    image = { version = "~0.24.2", features = ["png"], optional = true, default-features = false}
    base64 = { version = "~0.20", optional = true }
    rand = { version = "~0.8.5", features = ["std_rng", "std"], optional = true, default-features = false }
    zeroize = { version = "1.5.7", features = ["alloc", "derive"], optional = true }