Document cargo features

Credit to @hinto-janai for adding such sections to their work on documenting
monero-serai in #568.
This commit is contained in:
Luke Parker
2024-06-24 05:31:35 -04:00
parent eb0c19bfff
commit 0f477537a0
14 changed files with 90 additions and 1 deletions

View File

@@ -4,3 +4,11 @@ Bulletproofs(+) range proofs, as defined by the Monero protocol.
This library is usable under no-std when the `std` feature (on by default) is
disabled.
### Cargo Features
- `std` (on by default): Enables `std` (and with it, more efficient internal
implementations).
- `compile-time-generators` (on by default): Derives the generators at
compile-time so they don't need to be derived at runtime. This is recommended
if program size doesn't need to be kept minimal.