emit_rand
An implementation of emit::Rng using a specific version of the rand library.
emit itself has a rand feature and provides exactly the same RandRng, but only on select platforms. You can use emit_rand to always configure emit using rand if you're also using it elsewhere in your application, and want to guarantee only a specific version will end up in your dependency tree.
Getting started
Add emit and emit_rand to your Cargo.toml:
[]
= "1"
# Disable default features of `emit` to avoid pulling in a possibly different version of `rand`
= false
= ["std", "implicit_rt"]
[]
= "0.9"
Configure emit to use the RandRng type from this library during setup:
Versioning and compatibility
emit_rand version x.y.z is compatible with rand version x.y.*.