illicit
The illicit crate provides type-indexed thread-local environments.
[1.1.2] - 2021-02-01
Changed
- Internal refactors to reduce code size.
[1.1.1] - 2020-08-20
Added
- Guard returned from
get()implsDebug.
[1.1.0] - 2020-07-12
Added
AsContexttrait offers a shorthand for adding a single type to the local environment.
[1.0.0] - 2020-07-03
Commiting to the current API for future 1.* releases.
[0.10.0] - 2020-07-03
Added
impl From<Snapshot> for Layerallows reusing collected snapshots.
Removed
#- Support for owned/cloned arguments in
from_env.
Changed
EnvSnapshotrenamed toSnapshot.Env::get,Env::expect,Env::snapshotmoved toget,expect, free functions andSnapshot::getassociated function.Envrenamed toLayer.Layer::withrenamed toLayer::offer.from_envrequires at least one argument.from_envadds "Environment Expectations" doc comment to expanded function.- Additions to the environment track their location with
std::panic::Location.
[0.9.2] - 2019-12-25
Changed
- Microbenchmark times were improved.
[0.9.1] - 2019-11-22
Fixed
- Relaxed intra-crate doc lint to allow docs.rs publish to succeed.
[0.9.0] - 2019-11-19
Initial release which consists mostly of code extracted from topo.
Added
Env,EnvSnapshot,from_env.
Changed
EnvimplementsDebug.expectprints the current environment as a stack of layers on failure.
Removed
Scoperoot! { ... }