Crate janus_core
source ·Modules§
- Types useful for creating CLI tools.
- Encryption and decryption of messages using HPKE (RFC 9180).
- Extensions on report ID representations from
janus_messages. - Provides a simple interface for retrying fallible HTTP requests.
- test_util
test-util - Utilities for timestamps and durations.
Macros§
- Emits a match block dispatching on a
VdafInstance. This must be called inside a method that returns a result, with an error type thatprio::vdaf::VdafErrorcan be converted into. Takes a&VdafInstanceas the first argument, followed by a pseudo-pattern and body. The pseudo-pattern takes a variable name for the constructed VDAF, a type alias name that the block can use to explicitly specify the VDAF’s type, and the name of a const that will be set to the VDAF’s verify key length, also for explicitly specifying type parameters. - Internal implementation details of
vdaf_dispatch. - Internal implementation details of
vdaf_dispatch. - Internal implementation details of
vdaf_dispatch. - Internal implementation details of
vdaf_dispatch.
Structs§
- This type implements
Runtimeby directly callingtokio::task::spawn.
Traits§
- This trait provides a mockable facade for
tokio::task::spawn.
Functions§
- Returns the given
Url, possibly modified to end with a slash.