mirror of
https://github.com/saymrwulf/anza-cryptography-source.git
synced 2026-09-04 20:24:04 +00:00
* 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>
20 lines
563 B
TOML
20 lines
563 B
TOML
[package]
|
|
name = "solana-bn254-syscall"
|
|
description = "Solana BN254 Syscall"
|
|
documentation = "https://docs.rs/solana-bn254-syscall"
|
|
version = "0.1.0"
|
|
authors = { workspace = true }
|
|
repository = { workspace = true }
|
|
homepage = { workspace = true }
|
|
license = { workspace = true }
|
|
edition = "2021"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
ark-bn254 = { workspace = true }
|
|
ark-ec = { workspace = true }
|
|
ark-ff = { workspace = true }
|
|
ark-serialize = { workspace = true }
|
|
bytemuck = { workspace = true, features = ["derive"] }
|