Clean up Cargo.toml (#271)

This commit is contained in:
Thom Chiovoloni 2024-09-05 18:51:06 -07:00 committed by GitHub
parent 374d184e24
commit 4c535f9a77
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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",
] ]