# 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 = "thotp" version = "0.1.11" authors = ["biblius "] exclude = ["tests/"] description = "An RFC based implementation of TOTPs and HOTPs" homepage = "https://github.com/JosipBeDa/thotp" readme = "README.md" keywords = [ "otp", "totp", "hotp", "thotp", "authenticator", ] categories = ["cryptography"] license = "MIT" repository = "https://github.com/JosipBeDa/thotp" resolver = "2" [dependencies.data-encoding] version = "2.3.2" optional = true [dependencies.digest] version = "0.10.5" [dependencies.hmac] version = "0.12.1" [dependencies.percent-encoding] version = "2.2.0" optional = true [dependencies.qrcode] version = "0.12.0" optional = true [dependencies.rand] version = "0.8.5" features = ["std_rng"] [dependencies.sha-1] version = "0.10.0" [dependencies.sha2] version = "0.10.6" optional = true [dependencies.thiserror] version = "1.0.37" [features] custom = ["dep:sha2"] default = [ "custom", "encoding", "qr", ] encoding = ["dep:data-encoding"] qr = [ "dep:qrcode", "dep:percent-encoding", "encoding", ]