[package] name = "ec-divisors" version = "0.1.0" description = "A library for calculating elliptic curve divisors" license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/crypto/evrf/divisors" authors = ["Luke Parker "] keywords = ["ciphersuite", "ff", "group"] edition = "2021" [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"] [dependencies] rand_core = { version = "0.6", default-features = false } zeroize = { version = "^1.5", default-features = false, features = ["std", "zeroize_derive"] } subtle = { version = "2", default-features = false, features = ["std"] } ff = { version = "0.13", default-features = false, features = ["std", "bits"] } group = { version = "0.13", default-features = false } hex = { version = "0.4", optional = true } dalek-ff-group = { path = "../../dalek-ff-group", features = ["std"], optional = true } pasta_curves = { version = "0.5", default-features = false, features = ["bits", "alloc"], optional = true } [dev-dependencies] rand_core = { version = "0.6", features = ["getrandom"] } hex = "0.4" dalek-ff-group = { path = "../../dalek-ff-group", features = ["std"] } pasta_curves = { version = "0.5", default-features = false, features = ["bits", "alloc"] } [features] ed25519 = ["hex", "dalek-ff-group"] pasta = ["pasta_curves"]