Skip to content

Commit

Permalink
Merge pull request #1353 from YBoy-git/collection_tools_alloc_on_enabled
Browse files Browse the repository at this point in the history
READY : (collection_tools) : Add enabled directive for crate alloc
  • Loading branch information
Wandalen committed May 21, 2024
2 parents 3a0ddac + 8820b69 commit a853d1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions module/core/collection_tools/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#![ doc( html_root_url = "https://docs.rs/collection_tools/latest/collection_tools/" ) ]
#![ doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "Readme.md" ) ) ]

#[ cfg( feature = "enabled" ) ]
#[ cfg( any( not( feature = "no_std" ), feature = "use_alloc" ) ) ]
extern crate alloc;

Expand Down
2 changes: 1 addition & 1 deletion module/core/former/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ derive_from_components = [ "derive_components", "former_meta/derive_from_compone

[dependencies]
former_meta = { workspace = true }
collection_tools = { workspace = true, features = [ "collection_constructors" ] }
collection_tools = { workspace = true, features = [ "collection_constructors", "reexports" ] }


[dev-dependencies]
Expand Down

0 comments on commit a853d1f

Please sign in to comment.