This package provides a macro for declaring lazily evaluated statics in Rust. Using this macro, it is possible to have static
s that require code to be executed at runtime in order to be initialized. This includes anything requiring heap allocations, like vectors or hash maps, as well as anything that requires non-const function calls to be computed.
This package provides a macro for declaring lazily evaluated statics in Rust. Using this macro, it is possible to have static
s that require code to be executed at runtime in order to be initialized. This includes anything requiring heap allocations, like vectors or hash maps, as well as anything that requires non-const function calls to be computed.
This package provides a macro for declaring lazily evaluated statics in Rust. Using this macro, it is possible to have static
s that require code to be executed at runtime in order to be initialized. This includes anything requiring heap allocations, like vectors or hash maps, as well as anything that requires non-const function calls to be computed.
Tracing is a framework for instrumenting Rust programs with context-aware, structured, event-based diagnostic information. This crate provides compatibility layers for using tracing alongside the logging facade provided by the log crate.
This crate provides:
AsTrace
andAsLog
traits for converting between tracing and log types.LogTracer
, alog::Log
implementation that consumeslog::Records
and outputs them astracing::Events
.An
env_logger
module, with helpers for using the env_logger crate with tracing (optional, enabled by the env-logger feature).
Tracing is a framework for instrumenting Rust programs with context-aware, structured, event-based diagnostic information. This crate provides compatibility layers for using tracing alongside the logging facade provided by the log crate.
This crate provides:
AsTrace
andAsLog
traits for converting between tracing and log types.LogTracer
, alog::Log
implementation that consumeslog::Records
and outputs them astracing::Events
.An
env_logger
module, with helpers for using the env_logger crate with tracing (optional, enabled by the env-logger feature).
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.
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.
Utilities for working with rustdoc JSON.
Asynchronous TLS/SSL streams for Tokio using Rustls.
This package provides Rustls+Hyper integration for pure Rust HTTPS.
This package provides Rustls+Hyper integration for pure Rust HTTPS.
This package provides Rustls+Hyper integration for pure Rust HTTPS.
This package provides Rustls+Hyper integration for pure Rust HTTPS.
This package provides Rustls+Hyper integration for pure Rust HTTPS.
This package provides Rustls+hyper integration for pure rust HTTPS.
This package provides asynchronous TLS/SSL streams for Tokio using Rustls.
This package provides asynchronous TLS/SSL streams for Tokio using Rustls.
This package provides asynchronous TLS/SSL streams for Tokio using Rustls.
This package provides asynchronous TLS/SSL streams for Tokio using Rustls.
This package provides asynchronous TLS/SSL streams for Tokio using Rustls.
This package provides asynchronous TLS/SSL streams for Tokio using Rustls.
This package provides asynchronous TLS/SSL streams for Tokio using Rustls.
This package provides asynchronous TLS/SSL streams for Tokio using Rustls.
This package provides asynchronous TLS/SSL streams for Tokio using Rustls.