mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
40 lines
1.6 KiB
TOML
40 lines
1.6 KiB
TOML
[package]
|
|
name = "secq256k1"
|
|
version = "0.1.0"
|
|
description = "An implementation of the curve secp256k1 cycles with"
|
|
license = "MIT"
|
|
repository = "https://github.com/serai-dex/serai/tree/develop/crypto/secq256k1"
|
|
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
|
|
keywords = ["secp256k1", "secq256k1", "group"]
|
|
edition = "2021"
|
|
rust-version = "1.86"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[dependencies]
|
|
hex-literal = { version = "1", default-features = false }
|
|
|
|
std-shims = { version = "0.1", path = "../../common/std-shims", default-features = false }
|
|
|
|
sha2 = { version = "0.11.0-rc.0", default-features = false }
|
|
k256 = { version = "0.13", default-features = false, features = ["arithmetic", "expose-field"] }
|
|
prime-field = { path = "../prime-field", default-features = false }
|
|
short-weierstrass = { path = "../short-weierstrass", default-features = false }
|
|
|
|
ciphersuite = { path = "../ciphersuite", version = "0.4", default-features = false }
|
|
generalized-bulletproofs-ec-gadgets = { git = "https://github.com/monero-oxide/monero-oxide", rev = "dc1b3dbe436aae61ec363505052d4715d38ce1df", default-features = false, optional = true }
|
|
|
|
[dev-dependencies]
|
|
hex = "0.4"
|
|
|
|
rand_core = { version = "0.6", features = ["std"] }
|
|
|
|
ff-group-tests = { path = "../ff-group-tests" }
|
|
|
|
[features]
|
|
alloc = ["k256/alloc", "prime-field/alloc", "short-weierstrass/alloc", "sha2/alloc", "ciphersuite/alloc", "generalized-bulletproofs-ec-gadgets"]
|
|
std = ["alloc", "std-shims/std", "k256/std", "prime-field/std", "ciphersuite/std", "generalized-bulletproofs-ec-gadgets/std"]
|
|
default = ["std"]
|