3 releases
0.0.2 | Aug 18, 2023 |
---|---|
0.0.1 | Aug 18, 2023 |
0.0.0 | Aug 18, 2023 |
#5 in #supply
19KB
188 lines
Supplier
A replacement for core::any::Provider
that has now been removed
lib.rs
:
Supply values dynamically.
API is very unstable. It will likely include a breaking change with any patch version.
This is intended to replace the Provider
API that was proposed for the core rust library,
but has been decided to not include.
Type tags are used to identify a type using a separate value. This module includes type tags
for some very common types.
Currently type tags are not exposed to the user. But in the future, if you want to use the Supplier API with more complex types (typically those including lifetime parameters), you will need to write your own tags.