[package] name = "miniotp" description = "Minimal customisable HOTP and TOTP implementations." version = "2.0.0" authors = ["Zane Hannan "] edition = "2018" repository = "https://gitlab.com/zeen3/miniotp" license = "MIT" keywords = ["otp", "authorisation", "lib"] categories = ["no-std", "authentication", "algorithms"] [package.metadata.docs.rs] no-default-features = true features = [ "base32", "cstr", "serde", "abomonation_impl"] [features] default = [ "base32", "cstr", "only-gauth" ] alloc = [] cstr = ["std"] only-gauth = [] std = ["ring/std"] abomonation_impl = ["abomonation", "abomonation_derive"] [dependencies] ring = "0" base32 = { version = "0", optional = true } serde = { version = "1", optional = true, features = [ "derive" ] } abomonation_derive = { version = "0.5", optional = true } abomonation = { version = "0.7", optional = true } [[bin]] name = "brute-force-sha1-otp-demo" test = false bench = false [[bench]] name = "gauth"