Skip to content

Releases: FlakySL/dyn_path

no-std alloc feature fix

01 Jul 16:15
b8fe3d4

Choose a tag to compare

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

01 Jul 13:15
3703858

Choose a tag to compare

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

01 Jul 01:37
afdafa8

Choose a tag to compare

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

01 Jul 00:07
594647d

Choose a tag to compare

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.