-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move memory and stdx to separate crates
stdx includes functions which are not dependent on any other part of the code base and are useful in any code. As such, it doesn’t make sense to keep it inside of the sealable-trie crate. Moving it to separate crate makes it more reusable. Separating memory into its own crate should make it easier to implement pool allocators since they won’t need to link to the sealable-trie crate and thus ‘know’ the details of RawNode structure.
- Loading branch information
Showing
15 changed files
with
202 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[package] | ||
name = "memory" | ||
authors = ["Michal Nazarewicz <mina86@mina86.com>"] | ||
version = "0.0.0" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
derive_more.workspace = true | ||
stdx = { workspace = true, optional = true } | ||
|
||
[dev-dependencies] | ||
stdx.workspace = true | ||
|
||
[features] | ||
test_utils = ["stdx"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.