mirror of
https://github.com/Lokathor/bytemuck.git
synced 2024-11-21 14:22:26 +00:00
Clean up Cargo.toml (#271)
This commit is contained in:
parent
374d184e24
commit
4c535f9a77
34
Cargo.toml
34
Cargo.toml
@ -39,15 +39,6 @@ const_zeroed = [] # MSRV 1.75.0: support const `zeroed()`
|
|||||||
# Do not use if you can avoid it, because this is **unsound**!!!!
|
# Do not use if you can avoid it, because this is **unsound**!!!!
|
||||||
unsound_ptr_pod_impl = []
|
unsound_ptr_pod_impl = []
|
||||||
|
|
||||||
# NOT SEMVER SUPPORTED! TEMPORARY ONLY!
|
|
||||||
nightly_portable_simd = []
|
|
||||||
nightly_stdsimd = []
|
|
||||||
# Enable `f16` and `f128`
|
|
||||||
nightly_float = []
|
|
||||||
|
|
||||||
# Improved documentation using the nightly toolchain
|
|
||||||
nightly_docs = []
|
|
||||||
|
|
||||||
# Enables all features that are both sound and supported on the latest stable
|
# Enables all features that are both sound and supported on the latest stable
|
||||||
# version of Rust, with the exception of `extern_crate_alloc` and
|
# version of Rust, with the exception of `extern_crate_alloc` and
|
||||||
# `extern_crate_std`.
|
# `extern_crate_std`.
|
||||||
@ -65,6 +56,15 @@ latest_stable_rust = [
|
|||||||
"zeroable_maybe_uninit",
|
"zeroable_maybe_uninit",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
# NOT SEMVER SUPPORTED! TEMPORARY ONLY!
|
||||||
|
nightly_portable_simd = []
|
||||||
|
nightly_stdsimd = []
|
||||||
|
# Enable `f16` and `f128`
|
||||||
|
nightly_float = []
|
||||||
|
|
||||||
|
# Improved documentation using the nightly toolchain
|
||||||
|
nightly_docs = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bytemuck_derive = { version = "1.4", path = "derive", optional = true }
|
bytemuck_derive = { version = "1.4", path = "derive", optional = true }
|
||||||
|
|
||||||
@ -75,27 +75,15 @@ unexpected_cfgs = { level = "deny", check-cfg = ['cfg(target_arch, values("spirv
|
|||||||
# Note(Lokathor): Don't use all-features or it would use `unsound_ptr_pod_impl` too.
|
# Note(Lokathor): Don't use all-features or it would use `unsound_ptr_pod_impl` too.
|
||||||
features = [
|
features = [
|
||||||
"nightly_docs",
|
"nightly_docs",
|
||||||
"derive",
|
"latest_stable_rust",
|
||||||
"extern_crate_alloc",
|
"extern_crate_alloc",
|
||||||
"extern_crate_std",
|
"extern_crate_std",
|
||||||
"zeroable_maybe_uninit",
|
|
||||||
"zeroable_atomics",
|
|
||||||
"min_const_generics",
|
|
||||||
"wasm_simd",
|
|
||||||
"must_cast",
|
|
||||||
"const_zeroed",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[package.metadata.playground]
|
[package.metadata.playground]
|
||||||
# Note(Lokathor): Don't use all-features or it would use `unsound_ptr_pod_impl` too.
|
# Note(Lokathor): Don't use all-features or it would use `unsound_ptr_pod_impl` too.
|
||||||
features = [
|
features = [
|
||||||
"derive",
|
"latest_stable_rust",
|
||||||
"extern_crate_alloc",
|
"extern_crate_alloc",
|
||||||
"extern_crate_std",
|
"extern_crate_std",
|
||||||
"zeroable_maybe_uninit",
|
|
||||||
"zeroable_atomics",
|
|
||||||
"min_const_generics",
|
|
||||||
"wasm_simd",
|
|
||||||
"must_cast",
|
|
||||||
"const_zeroed",
|
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user