This package provides a native Rust encoder and decoder of TOML-formatted files and streams. Provides implementations of the standard Serialize/Deserialize traits for TOML data to facilitate deserializing and serializing Rust structures.
Traits which describe the functionality of password hashing algorithms, as well as a `no_std`-friendly implementation of the PHC string format (a well-defined subset of the Modular Crypt Format a.k.a. MCF).
Traits which describe the functionality of password hashing algorithms, as well as a `no_std`-friendly implementation of the PHC string format (a well-defined subset of the Modular Crypt Format a.k.a. MCF).
This package provides traits which describe the functionality of password hashing algorithms, as well as a `no_std`-friendly implementation of the PHC string format (a well-defined subset of the Modular Crypt Format (MCF).
This package provides traits which describe the functionality of password hashing algorithms, as well as a `no_std`-friendly implementation of the PHC string format (a well-defined subset of the Modular Crypt Format (MCF).
This package provides traits which describe the functionality of password hashing algorithms, as well as a `no_std`-friendly implementation of the PHC string format (a well-defined subset of the Modular Crypt Format (MCF).
This package provides traits which describe the functionality of password hashing algorithms, as well as a `no_std`-friendly implementation of the PHC string format (a well-defined subset of the Modular Crypt Format (MCF).
This crate is a pure Rust implementation of a big integer library which has been designed from the ground-up for use in cryptographic applications. Provides constant-time, no_std-friendly implementations of modern formulas using const generics.
This crate is a pure Rust implementation of a big integer library which has been designed from the ground-up for use in cryptographic applications. Provides constant-time, no_std-friendly implementations of modern formulas using const generics.
This crate is a pure Rust implementation of a big integer library which has been designed from the ground-up for use in cryptographic applications. Provides constant-time, no_std-friendly implementations of modern formulas using const generics.
This crate is a pure Rust implementation of a big integer library which has been designed from the ground-up for use in cryptographic applications. Provides constant-time, no_std-friendly implementations of modern formulas using const generics.
Language tags can be used identify human languages, scripts e.g. Latin script, countries and other regions. They are commonly used in HTML and HTTP Content-Language
and Accept-Language
header fields. This package currently supports parsing (fully conformant parser), formatting and comparing language tags.
Language tags can be used identify human languages, scripts e.g. Latin script, countries and other regions. They are commonly used in HTML and HTTP Content-Language
and Accept-Language
header fields. This package currently supports parsing (fully conformant parser), formatting and comparing language tags.
This tiny crate checks that the running or installed rustc meets some version requirements. The version is queried by calling the Rust compiler with --version
. The path to the compiler is determined first via the RUSTC
environment variable. If it is not set, then rustc
is used. If that fails, no determination is made, and calls return None.
This tiny crate checks that the running or installed rustc meets some version requirements. The version is queried by calling the Rust compiler with --version
. The path to the compiler is determined first via the RUSTC
environment variable. If it is not set, then rustc
is used. If that fails, no determination is made, and calls return None.
This crate is an async version of std::process
. A background thread named async-process
is lazily created on first use, which waits for spawned child processes to exit and then calls the wait()
syscall to clean up the ``zombie'' processes.
This is unlike the process API in the standard library, where dropping a running Child leaks its resources.
This crate is an async version of std::process
. A background thread named async-process
is lazily created on first use, which waits for spawned child processes to exit and then calls the wait()
syscall to clean up the ``zombie'' processes.
This is unlike the process API in the standard library, where dropping a running Child leaks its resources.
To support multiple versions of Rust, it's often necessary to conditionally compile parts of our libraries or programs. It's possible to allow users to specify what features to enable, but detection is better, because users get all the features that their version of Rust supports. And while we could check the rustc version, it's better to probe for individual features. This package probes for rustc features from build.rs.
Rust has lots of builtin traits that are implemented for its basic types, such as Add
, Not
, From
or Display
. However, when wrapping these types inside your own structs or enums you lose the implementations of these traits and are required to recreate them. This is especially annoying when your own structures are very simple, such as when using the commonly advised newtype pattern (e.g. MyInt(i32)
).
This library tries to remove these annoyances and the corresponding boilerplate code. It does this by allowing you to derive lots of commonly used traits for both structs and enums.
This package provides bit-level packing an unpacking of structs. Tkhe library provides a meta-programming approach, using attributes to define fields and how they should be packed. The resulting trait implementations provide safe packing, unpacking and runtime debugging formatters with per-field documentation generated for each structure.
Plain Rust structures, decorated with attributes
MSB or LSB integers of user-defined bit widths
Primitive enum code generation helper
MSB0 or LSB0 bit positioning
Documents the field's packing table
Runtime packing visualization
Nested packed types
Arrays of packed structures as fields
Reserved fields, their bits are always 0 or 1
Rust compiler symbol demangling.
This package provides Rust compiler symbol demangling.
Safe Rust bindings to `openpty` and related functions.
This package demanges the symbols from the Rust compiler.