15 stable releases

Uses new Rust 2024

3.1.0 Oct 2, 2025
3.0.9 Oct 14, 2025
3.0.5 Sep 18, 2025
2.0.1 Sep 9, 2025
1.2.0 Jan 13, 2025

#4 in #shielded

Download history 677/week @ 2025-07-25 354/week @ 2025-08-01 488/week @ 2025-08-08 366/week @ 2025-08-15 334/week @ 2025-08-22 789/week @ 2025-08-29 1480/week @ 2025-09-05 1083/week @ 2025-09-12 772/week @ 2025-09-19 1210/week @ 2025-09-26 1078/week @ 2025-10-03 750/week @ 2025-10-10 526/week @ 2025-10-17 438/week @ 2025-10-24 443/week @ 2025-10-31 456/week @ 2025-11-07

1,981 downloads per month
Used in 46 crates (13 directly)

MIT/Apache

1MB
16K SLoC

General MASP primitives.

masp_primitives is a library that provides the core structs and functions necessary for working with MASP based on Zcash Sapling.


masp_primitives

This library contains Rust implementations of the MASP primitives, based on the Zcash Sapling primitives.

License

Licensed under either of

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.

Dependencies

~13MB
~355K SLoC