anza-cryptography-source/Cargo.toml
Sam Kim ed4a212bcb
[solana-bn254-syscall] Add solana-bn254-syscall crate (#13)
* add `solana-bn254-syscall` crate

* use `Validate::Yes` for `G1::deserialize_with_mode`

* fix crate name

* inherit dependencies from workspace

* update edition to 2021

* remove unnecessary `is_on_curve` check

* add `#[inline(always)]`

* make `PodG1` and `PodG2` pub(crate)

* remove unnecessary `is_on_curve` check

* remove custom logic for legacy versions

* `convert_endianness` -> `swap_endianness`

* simplify `swap_endianness`

* update function return types to arrays instead of vecs

* copy over docs

* update cargo lock

* copy over unit tests for serialization

* clean up docs for the syscall implementation functions

* Apply suggestions from code review

Co-authored-by: Stanislav Ladyzhenskiy <LStan@users.noreply.github.com>

* Update syscall/bn254-syscall/src/multiplication.rs

Co-authored-by: Stanislav Ladyzhenskiy <LStan@users.noreply.github.com>

* cargo lock

* remove `all-features` and `rustdoc-args`

* Apply suggestions from code review

Co-authored-by: Stanislav Ladyzhenskiy <LStan@users.noreply.github.com>

* Update syscall/bn254-syscall/Cargo.toml

Co-authored-by: Stanislav Ladyzhenskiy <LStan@users.noreply.github.com>

* remove `include = ...`

---------

Co-authored-by: Stanislav Ladyzhenskiy <LStan@users.noreply.github.com>
2026-05-19 08:56:06 +09:00

58 lines
1.6 KiB
TOML

[workspace]
members = [
"curve25519/curve25519-cuda",
"curve25519/solana-ed25519",
"experimental/ed25519-pokos",
"syscall/bls12-381-syscall",
"syscall/bn254-syscall",
]
resolver = "2"
[workspace.package]
authors = ["Anza Maintainers <maintainers@anza.xyz>"]
repository = "https://github.com/anza-xyz/cryptography"
homepage = "https://anza.xyz/"
license = "Apache-2.0"
rust-version = "1.89.0" # solana platform-tools rust version
[workspace.dependencies]
ark-bn254 = "0.5.0"
ark-ec = "0.5.0"
ark-ff = "0.5.0"
ark-serialize = "0.5.0"
bincode = "1"
blst = "0.3.16"
blstrs = "0.7.1"
bytemuck = "1.25.0"
bytemuck_derive = "1.10.2"
cc = "1.0"
cfg-if = "1"
criterion = { version = "0.5" }
curve25519 = { path = "curve25519/solana-ed25519", package = "solana-ed25519" }
curve25519-dalek-derive = "0.1.1"
cpufeatures = "0.2.17"
der = "0.7.9"
digest = { version = "0.11.0", default-features = false }
ed25519 = { version = "2.2.3", default-features = false }
ed25519-dalek = "2.2.0"
ed25519-zebra = "4.2.0"
ff = { version = "0.13.0", default-features = false }
group = { version = "0.13.0", default-features = false }
hashbrown = "0.15"
hex = "0.4.2"
hex-literal = "1.1.0"
pairing = "0.23.0"
pkcs8 = { version = "0.10.1" }
proptest = "1"
rand = "0.10.0"
rand_core = { version = "0.10.0", default-features = false }
rayon = "1.10"
rustc_version = "0.4.0"
serde = { version = "1.0", default-features = false }
sha2 = { version = "0.11.0", default-features = false }
subtle = { version = "2.6.0", default-features = false }
which = "4.4"
zeroize = { version = "1", default-features = false }
[profile.dev]
opt-level = 2