[package] name = "oberon" authors = ["Michael Lodder "] description = """ Oberon is a multi-factor zero-knowledge capable token without requiring email, SMS, or authenticator apps. The proof of token validity is only 96 bytes while the token itself is only 48 bytes. """ edition = "2021" keywords = ["zero-knowledge", "cryptography", "authentication"] categories = ["no-std", "wasm", "network-programming", "cryptography", "authentication"] homepage = "https://github.com/mikelodder7/oberon" license = "Apache-2.0" readme = "../README.md" repository = "https://github.com/mikelodder7/oberon" version = "2.0.0" [lib] crate-type = ["rlib", "cdylib"] [profile.release] debug = false lto = true opt-level = 3 [features] default = [] alloc = ["bls12_381_plus/alloc", "digest/alloc"] ffi = ["ffi-support", "lazy_static", "rand/default", "std"] php = ["ext-php-rs", "rand/default", "std"] python = ["pyo3", "rand/default", "std"] std = ["digest/std", "sha3/std"] wasm = ["getrandom", "rand/default", "wasm-bindgen"] [dependencies] bls12_381_plus = "=0.5.5" digest = { version = "0.9", default-features = false } ext-php-rs = { version = "0.8", optional = true } ff = "0.12" ffi-support = { version = "0.4", optional = true } getrandom = { version = "0.2", features = ["js"], optional = true } group = "0.12" lazy_static = { version = "1.4", optional = true } pyo3 = { version = "0.17", features = ["extension-module"], optional = true } rand_core = "0.6" rand = { version = "0.8", default-features = false, optional = true } serde = { version = "1.0", features = ["derive"] } sha3 = { version = "0.9", default-features = false } subtle = "2.4" wasm-bindgen = { version = "0.2", default-features = false, features = ["serde-serialize"], optional = true } zeroize = { version = "1.5", features = ["zeroize_derive"] } [dev-dependencies] criterion = "0.4" hex = "0.4" kmeans = "0.2" rand = "0.8" rand_chacha = "0.3" rand_xorshift = "0.3" random_tester = { version = "0.1", path = "../../random_tester" } serde_json = "1.0" serde_cbor = "0.11" serde_bare = "0.5" [[bench]] name = "random" harness = false [[example]] name = "random_test" path = "examples/random_test.rs"