# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "miniotp" version = "2.0.0" authors = ["Zane Hannan "] description = "Minimal customisable HOTP and TOTP implementations." keywords = ["otp", "authorisation", "lib"] categories = ["no-std", "authentication", "algorithms"] license = "MIT" repository = "https://gitlab.com/zeen3/miniotp" [package.metadata.docs.rs] features = ["base32", "cstr", "serde", "abomonation_impl"] no-default-features = true [[bin]] name = "brute-force-sha1-otp-demo" test = false bench = false [[bench]] name = "gauth" [dependencies.abomonation] version = "0.7" optional = true [dependencies.abomonation_derive] version = "0.5" optional = true [dependencies.base32] version = "0" optional = true [dependencies.ring] version = "0" [dependencies.serde] version = "1" features = ["derive"] optional = true [features] abomonation_impl = ["abomonation", "abomonation_derive"] alloc = [] cstr = ["std"] default = ["base32", "cstr", "only-gauth"] only-gauth = [] std = ["ring/std"]