Releases: FlakySL/dyn_path
no-std alloc feature fix
Thanks for considering dyn_path, to download dyn_path run cargo add dyn_path on your project root directory.
This release has a small fix, the macro included $crate::alloc even if alloc wasn't being re-exported due to feature settings. This is now limited.
The tests didn't pass either due to an index expecting a reference instead of a value.
Better documentation
This release brings with it better crate documentation about all you can do, now the docs.rs page should be covered with more information, and there are no_std hints on the read-me.
No STD
Thanks for considering dyn_path for your project. Please use cargo add dyn_path in the root of your project to install and use dyn_path.
This release brings no_std support with std as a feature flag enabled by default, in the case of wanting to disable STD, you need to disable the default flags and optionally allow the alloc flag.
First Release
Thanks for considering dyn_path for your project, to download it please, use cargo add dyn_path in your root project directory.
This release brings two macros with it, the dyn_access macro which generates .and_then(|v| v.get()) in a nested way for nested structures such as JSON de-serialization with serde_json. The second macro this brings uses the same syntaxis as dyn_access except it's only for displaying and computing paths, so you can describe errors in an easier way.