1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO 2# 3# When uploading crates to the registry Cargo will automatically 4# "normalize" Cargo.toml files for maximal compatibility 5# with all versions of Cargo and also rewrite `path` dependencies 6# to registry (e.g., crates.io) dependencies. 7# 8# If you are reading this file be aware that the original Cargo.toml 9# will likely look very different (and much more reasonable). 10# See Cargo.toml.orig for the original contents. 11 12[package] 13edition = "2021" 14rust-version = "1.58" 15name = "half" 16version = "2.2.1" 17authors = ["Kathryn Long <[email protected]>"] 18exclude = [ 19 ".git*", 20 ".editorconfig", 21] 22description = "Half-precision floating point f16 and bf16 types for Rust implementing the IEEE 754-2008 standard binary16 and bfloat16 types." 23readme = "README.md" 24keywords = [ 25 "f16", 26 "bfloat16", 27 "no_std", 28] 29categories = [ 30 "no-std", 31 "data-structures", 32 "encoding", 33] 34license = "MIT OR Apache-2.0" 35repository = "https://github.com/starkat99/half-rs" 36 37[package.metadata.docs.rs] 38rustc-args = [ 39 "--cfg", 40 "docsrs", 41] 42features = [ 43 "std", 44 "serde", 45 "bytemuck", 46 "num-traits", 47 "zerocopy", 48] 49 50[[bench]] 51name = "convert" 52harness = false 53 54[dependencies.bytemuck] 55version = "1.4.1" 56features = ["derive"] 57optional = true 58default-features = false 59 60[dependencies.num-traits] 61version = "0.2.14" 62features = ["libm"] 63optional = true 64default-features = false 65 66[dependencies.serde] 67version = "1.0" 68features = ["derive"] 69optional = true 70default-features = false 71 72[dependencies.zerocopy] 73version = "0.6.0" 74optional = true 75default-features = false 76 77[dev-dependencies.criterion] 78version = "0.4.0" 79 80[dev-dependencies.crunchy] 81version = "0.2.2" 82 83[dev-dependencies.quickcheck] 84version = "1.0" 85 86[dev-dependencies.quickcheck_macros] 87version = "1.0" 88 89[dev-dependencies.rand] 90version = "0.8.4" 91 92[features] 93alloc = [] 94default = ["std"] 95std = ["alloc"] 96use-intrinsics = [] 97 98[target."cfg(target_arch = \"spirv\")".dependencies.crunchy] 99version = "0.2.2" 100