Skip to content

Commit

Permalink
Make FixedVector Send and Sync, bump to 0.10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
MrElectrify committed Nov 16, 2023
1 parent be7e911 commit 922caef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "eastl-rs"
authors = ["Andrew Buck"]
description = "EASTL binary-compatible Rust implementations"
documentation = "https://docs.rs/crate/eastl-rs"
version = "0.10.0"
version = "0.10.1"
edition = "2021"
license-file = "LICENSE"
readme = "README.md"
Expand Down
3 changes: 3 additions & 0 deletions src/fixed_vector/allocator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,6 @@ unsafe impl<A: Allocator> Allocator for FixedVectorAllocator<A> {
}
}
}

unsafe impl<A: Allocator + Send> Send for FixedVectorAllocator<A> {}
unsafe impl<A: Allocator + Sync> Sync for FixedVectorAllocator<A> {}

0 comments on commit 922caef

Please sign in to comment.