# 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 = "totp_rfc6238" version = "0.6.1" authors = ["KaneGreen <737445366KG@Gmail.com>"] build = false exclude = [".github/*"] autobins = false autoexamples = false autotests = false autobenches = false description = "library for generating Time-based One-time Password (TOTP) codes/tokens defined in RFC 6238" documentation = "https://docs.rs/totp_rfc6238" readme = "README.md" keywords = [ "authentication", "hmac", "otp", "totp", "2fa", ] categories = [ "authentication", "web-programming", ] license = "MIT OR Apache-2.0" repository = "https://github.com/KaneGreen/totp_rfc6238" [package.metadata.docs.rs] features = ["oathuri"] [lib] name = "totp_rfc6238" path = "src/lib.rs" [dependencies.data-encoding] version = "2.6.0" optional = true [dependencies.hmac] version = "0.12.1" optional = true [dependencies.percent-encoding] version = "2.3.1" optional = true [dependencies.ring] version = "0.17.8" optional = true [dependencies.sha1] version = "0.10.6" optional = true [dependencies.sha2] version = "0.10.8" optional = true [dependencies.url] version = "2.5.2" optional = true [dependencies.zeroize] version = "1.8.1" optional = true [features] default = ["rustcrypto"] oathuri = [ "data-encoding", "percent-encoding", "url", "zeroize", ] ring = ["dep:ring"] rustcrypto = [ "dep:hmac", "dep:sha1", "dep:sha2", ]