Skip to content

Commit

Permalink
Merge pull request #52 from tage64/master
Browse files Browse the repository at this point in the history
Add support for custom allocators by the allocator-api2 crate.
  • Loading branch information
pczarn authored Nov 29, 2024
2 parents 3aa9da1 + c669b1f commit 0d96598
Show file tree
Hide file tree
Showing 2 changed files with 88 additions and 50 deletions.
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,10 @@ readme = "README.md"
exclude = ["/deploy-docs.sh"]

[features]
serde = ["dep:serde", "allocator-api2/serde"]
# This feature is kept for backwards compatibility. Use feature "serde" instead.
eders = [ "serde" ]

[dependencies]
allocator-api2 = "0.2.20"
serde = { version = "1.0", features = [ "derive" ], optional = true }
Loading

0 comments on commit 0d96598

Please sign in to comment.