Skip to content

Commit

Permalink
updated safety of from_raw_parts_in and from_raw_parts
Browse files Browse the repository at this point in the history
  • Loading branch information
Vrtgs committed Apr 11, 2024
1 parent 936a997 commit 85e5e0a
Show file tree
Hide file tree
Showing 3 changed files with 186 additions and 213 deletions.
26 changes: 13 additions & 13 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "heap-array"
version = "0.1.7"
version = "0.1.8"
edition = "2021"
authors = ["NightMare-Vortex"]
description = "An Implementation of a variable length array, with its main benefit over `Vec` is taking up less space"
Expand All @@ -10,15 +10,15 @@ repository = "https://github.com/NightMare-Vortex/heap-array"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[features]
default = []
default = ["dropck", "serde"]
nightly = ["dropck", "allocator-api"]
serde = ["dep:serde"]
simd-json =["dep:simd-json-derive", "dep:simd-json"]
dropck = []
allocator-api = []

[dependencies]
serde = { version="1", optional = true, default-features = false, features=["alloc"] }
simd-json-derive = { version="0.13.0", optional = true }
simd-json = { version= "0.13.4", optional = true }
serde = { version = "1", optional = true, default-features = false, features=["alloc"] }
simd-json-derive = { version = "0.13.0", optional = true }
simd-json = { version = "0.13.9", optional = true }
likely_stable = "0.1.2"
Loading

0 comments on commit 85e5e0a

Please sign in to comment.