Edit

thodg/totp-rs/Cargo.toml

Branch :

  • Show log

    Commit

  • Author : constantoine
    Date : 2022-05-20 15:00:12
    Hash : ff6f562a
    Message : The return of otpauth Signed-off-by: constantoine <cleo.rebert@gmail.com>

  • Cargo.toml
  • [package]
    name = "totp-rs"
    version = "2.0.0"
    authors = ["Cleo Rebert <cleo.rebert@gmail.com>"]
    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"]
    qr = ["qrcodegen", "image", "base64", "otpauth"]
    serde_support = ["serde"]
    
    [dependencies]
    serde = { version = "1.0", features = ["derive"], optional = true }
    sha2 = "~0.10.2"
    sha-1 = "~0.10.0"
    hmac = "~0.12.1"
    base32 = "~0.4"
    url = { version = "2.2.2", optional = true } 
    constant_time_eq = "~0.2.1"
    qrcodegen = { version = "~1.8", optional = true }
    image = { version = "~0.24.2", features = ["png"], optional = true, default-features = false}
    base64 = { version = "~0.13", optional = true }