# 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 = "oberon" version = "2.2.1" 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. """ homepage = "https://github.com/mikelodder7/oberon" readme = "README.md" keywords = [ "zero-knowledge", "cryptography", "authentication", ] categories = [ "no-std", "wasm", "network-programming", "cryptography", "authentication", ] license = "Apache-2.0" repository = "https://github.com/mikelodder7/oberon" [profile.release] opt-level = 3 lto = true debug = 0 [lib] crate-type = [ "rlib", "cdylib", ] [[example]] name = "random_test" path = "examples/random_test.rs" [[bench]] name = "random" harness = false [dependencies.bls12_381_plus] version = "^0.8.4" optional = true [dependencies.blstrs_plus] version = "^0.8.4" features = ["portable"] optional = true [dependencies.digest] version = "0.10" default-features = false [dependencies.ext-php-rs] version = "0.10.0" optional = true [dependencies.ffi-support] version = "0.4" optional = true [dependencies.getrandom] version = "0.2" features = ["js"] optional = true [dependencies.lazy_static] version = "1.4" optional = true [dependencies.pyo3] version = "0.19" features = ["extension-module"] optional = true [dependencies.rand] version = "0.8" optional = true default-features = false [dependencies.rand_core] version = "0.6" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" optional = true [dependencies.sha2] version = "0.10" default-features = false [dependencies.sha3] version = "0.10" default-features = false [dependencies.subtle] version = "2.4" [dependencies.wasm-bindgen] version = "0.2" features = ["serde-serialize"] optional = true default-features = false [dependencies.zeroize] version = "1" features = ["zeroize_derive"] [dev-dependencies.criterion] version = "0.5" [dev-dependencies.hex] version = "0.4" [dev-dependencies.kmeans] version = "0.2" [dev-dependencies.rand] version = "0.8" [dev-dependencies.rand_chacha] version = "0.3" [dev-dependencies.rand_xorshift] version = "0.3" [dev-dependencies.random_tester] version = "0.1" [dev-dependencies.serde_bare] version = "0.5" [dev-dependencies.serde_cbor] version = "0.11" [dev-dependencies.serde_json] version = "1.0" [features] alloc = [ "bls12_381_plus/alloc", "digest/alloc", ] default = ["rust"] ffi = [ "ffi-support", "lazy_static", "rand/default", "std", ] php = [ "ext-php-rs", "rand/default", "std", ] python = [ "pyo3", "rand/default", "std", ] rust = ["bls12_381_plus"] std = [ "blstrs_plus", "digest/std", "sha3/std", ] wasm = [ "getrandom", "rand/default", "wasm-bindgen", "serde_json", "std", ]