Skip to content

Commit 32ec354

Browse files
committed
Support incremental in-place initialization
Makes progress on #2749 gherrit-pr-id: Ic6880091b19bb60e1c0a4adfd3398e5f05e42c95
1 parent 258e479 commit 32ec354

File tree

4 files changed

+1708
-8
lines changed

4 files changed

+1708
-8
lines changed

Cargo.toml

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,18 @@
1616
edition = "2021"
1717
name = "zerocopy"
1818
version = "0.8.27"
19-
authors = ["Joshua Liebow-Feeser <[email protected]>", "Jack Wrenn <[email protected]>"]
19+
authors = [
20+
"Joshua Liebow-Feeser <[email protected]>",
21+
"Jack Wrenn <[email protected]>",
22+
]
2023
description = "Zerocopy makes zero-cost memory manipulation effortless. We write \"unsafe\" so you don't have to."
21-
categories = ["embedded", "encoding", "no-std::no-alloc", "parsing", "rust-patterns"]
24+
categories = [
25+
"embedded",
26+
"encoding",
27+
"no-std::no-alloc",
28+
"parsing",
29+
"rust-patterns",
30+
]
2231
keywords = ["cast", "convert", "transmute", "transmutation", "type-punning"]
2332
license = "BSD-2-Clause OR Apache-2.0 OR MIT"
2433
repository = "https://github.com/google/zerocopy"
@@ -76,10 +85,19 @@ simd = []
7685
simd-nightly = ["simd"]
7786
float-nightly = []
7887
std = ["alloc"]
88+
89+
init-unstable = []
90+
7991
# This feature depends on all other features that work on the stable compiler.
8092
# We make no stability guarantees about this feature; it may be modified or
8193
# removed at any time.
82-
__internal_use_only_features_that_work_on_stable = ["alloc", "derive", "simd", "std"]
94+
__internal_use_only_features_that_work_on_stable = [
95+
"alloc",
96+
"derive",
97+
"init-unstable",
98+
"simd",
99+
"std",
100+
]
83101

84102
[dependencies]
85103
zerocopy-derive = { version = "=0.8.27", path = "zerocopy-derive", optional = true }

0 commit comments

Comments
 (0)