mirror of
https://github.com/Qortal/pirate-librustzcash.git
synced 2025-07-31 12:31:22 +00:00
dbe897d365a559dc5ed92cf701223518b3d3e968
Remove feature(i128_type) The `i128_type` feature was recently stabilized in Rust, so this is unnecessary now for nightly users. In fact, in a few days there should be a new Rust beta (`1.26`) containing stable support for `i128_type`, meaning that (for Zcash) we can switch to the beta compiler for all future Rust development, and even switch to the stable compiler in six weeks when that's released.
pairing 
This is a Rust crate for using pairing-friendly elliptic curves. Currently, only the BLS12-381 construction is implemented.
Documentation
Bring the pairing
crate into your project just as you normally would.
If you're using a supported platform and the nightly Rust compiler, you can enable the u128-support
feature for faster arithmetic.
[dependencies.pairing]
version = "0.14"
features = ["u128-support"]
Security Warnings
This library does not make any guarantees about constant-time operations, memory access patterns, or resistance to side-channel attacks.
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Description
Rust-language assets for Pirate Chain / Zcash (with modifications to support Qortal cross-chain trades)
Languages
Rust
99.4%
Sage
0.6%