Expand description

A facade around the various collections and primitives needed when using no alloc, alloc only, or std modes

Re-exports

pub use super::challenge::Challenge;
pub use super::commitment::Commitment;
pub use super::hidden_message::HiddenMessage;
pub use super::message::Message;
pub use super::nonce::Nonce;
pub use super::proof_committed_builder::ProofCommittedBuilder;
pub use super::proof_message::ProofMessage;
pub use super::signature_blinding::SignatureBlinding;
pub use super::util::sum_of_products;
pub use super::util::VecSerializer;

Modules

The Clone trait for types that cannot be ‘implicitly copied’.

Functionality for ordering and comparison.

Traits for conversions between types.

The Default trait for types which may have meaningful default values.

Constants specific to the f32 single-precision floating point type.

Constants specific to the f64 double-precision floating point type.

Utilities for formatting and printing strings.

i8Deprecation planned

Constants for the 8-bit signed integer type.

i16Deprecation planned

Constants for the 16-bit signed integer type.

i32Deprecation planned

Constants for the 32-bit signed integer type.

i64Deprecation planned

Constants for the 64-bit signed integer type.

isizeDeprecation planned

Constants for the pointer-sized signed integer type.

Composable external iteration.

Primitive traits and types representing basic properties of types.

Basic functions for dealing with memory.

Numeric traits and functions for the built-in numeric types.

Optional values.

Error handling with the Result type.

Slice management and manipulation.

String manipulation.

u8Deprecation planned

Constants for the 8-bit unsigned integer type.

u16Deprecation planned

Constants for the 16-bit unsigned integer type.

u32Deprecation planned

Constants for the 32-bit unsigned integer type.

u64Deprecation planned

Constants for the 64-bit unsigned integer type.

usizeDeprecation planned

Constants for the pointer-sized unsigned integer type.

Macros

Derive macro generating an impl of the trait Clone.

Derive macro generating an impl of the trait Debug.

Derive macro generating an impl of the trait Default.

Structs

A mutable memory location.

A hash map implemented with quadratic probing and SIMD lookup.

A hash set implemented as a HashMap where the value is ().

Zero-sized type used to mark things that “act like” they own a T.

A (half-open) range bounded inclusively below and exclusively above (start..end).

A mutable memory location with dynamically checked borrow rules

A fixed capacity String

A fixed capacity Vec

Provides intentionally-wrapped arithmetic on T.

Enums

The Option type. See the module level documentation for more.

Result is a type that represents either success (Ok) or failure (Err).

Traits

A common trait for the ability to explicitly duplicate an object.

? formatting.

A trait for giving a type a useful default value.

Used for immutable dereferencing operations, like *v.

Used for mutable dereferencing operations, like in *v = 1;.

Format trait for an empty format, {}.

Used to do value-to-value conversions while consuming the input value. It is the reciprocal of Into.

A value-to-value conversion that consumes the input value. The opposite of From.