bytemuck/Cargo.toml

56 lines
1.6 KiB
TOML
Raw Normal View History

2019-09-20 01:09:31 +00:00
[package]
name = "bytemuck"
description = "A crate for mucking around with piles of bytes."
2022-03-02 01:12:36 +00:00
version = "1.8.0"
2019-09-20 01:09:31 +00:00
authors = ["Lokathor <zefria@gmail.com>"]
repository = "https://github.com/Lokathor/bytemuck"
readme = "README.md"
keywords = ["transmute", "bytes", "casting"]
categories = ["encoding", "no-std"]
edition = "2018"
2020-07-24 02:23:46 +00:00
license = "Zlib OR Apache-2.0 OR MIT"
2020-07-25 21:43:31 +00:00
exclude = ["/pedantic.bat"]
2019-09-20 01:09:31 +00:00
[features]
# In v2 we'll fix these names to be more "normal".
derive = ["bytemuck_derive"]
2019-09-20 01:09:31 +00:00
extern_crate_alloc = []
extern_crate_std = ["extern_crate_alloc"]
2020-08-20 03:43:44 +00:00
zeroable_maybe_uninit = []
min_const_generics = []
wasm_simd = [] # Until >= 1.54.0 is MSRV this is an off-by-default feature.
aarch64_simd = [] # Until >= 1.59.0 is MSRV this is an off-by-default feature.
# Do not use if you can avoid it, because this is unsound.
unsound_ptr_pod_impl = []
2021-12-16 06:16:38 +00:00
# NOT SEMVER SUPPORTED! TEMPORARY ONLY!
nightly_portable_simd = []
[dependencies]
2020-08-28 03:39:14 +00:00
# use the upper line for testing against bytemuck_derive changes, if any
bytemuck_derive = { path = "./derive", optional = true }
# bytemuck_derive = { version = "1", optional = true }
2019-09-20 01:09:31 +00:00
2020-07-25 21:43:31 +00:00
[package.metadata.docs.rs]
# Note(Lokathor): Don't use all-feautures or it would use `unsound_ptr_pod_impl` too.
features = [
"derive",
"extern_crate_alloc",
"extern_crate_std",
"zeroable_maybe_uninit",
"min_const_generics",
"wasm_simd",
]
2020-09-05 18:33:29 +00:00
[package.metadata.playground]
# Note(Lokathor): Don't use all-feautures or it would use `unsound_ptr_pod_impl` too.
features = [
"derive",
"extern_crate_alloc",
"extern_crate_std",
"zeroable_maybe_uninit",
"min_const_generics",
"wasm_simd",
]