Debian Codegraph @

debian/missing-sources/half/Cargo.toml.orig

raw
1 [package]
2 name = "half"
3 # Remember to keep in sync with html_root_url crate attribute
4 version = "2.7.1"
5 authors = ["Kathryn Long <[email protected]>"]
6 description = "Half-precision floating point f16 and bf16 types for Rust implementing the IEEE 754-2008 standard binary16 and bfloat16 types."
7 repository = "https://github.com/VoidStarKat/half-rs"
8 readme = "README.md"
9 keywords = ["f16", "bfloat16", "no_std"]
10 license = "MIT OR Apache-2.0"
11 categories = ["no-std", "data-structures", "encoding"]
12 edition = "2021"
13 rust-version = "1.81"
14 exclude = [".git*", ".editorconfig", ".circleci"]
15
16 [features]
17 default = ["std"]
18 std = ["alloc"]
19 use-intrinsics = [] # Deprecated
20 alloc = []
21 rand_distr = ["dep:rand", "dep:rand_distr"]
22 zerocopy = [] # Deprecated
23 nightly = []
24
25 [dependencies]
26 cfg-if = "1.0.0"
27 bytemuck = { version = "1.4.1", default-features = false, features = [
28 "derive",
29 ], optional = true }
30 serde = { version = "1.0", default-features = false, features = [
31 "derive",
32 ], optional = true }
33 num-traits = { version = "0.2.16", default-features = false, features = [
34 "libm",
35 ], optional = true }
36 zerocopy = { version = "0.8.26", default-features = false, features = [
37 "derive",
38 "simd",
39 ] }
40 rand = { version = "0.9.0", default-features = false, features = [
41 "thread_rng",
42 ], optional = true }
43 rand_distr = { version = "0.5.0", default-features = false, optional = true }
44 rkyv = { version = "0.8.0", optional = true }
45 arbitrary = { version = "1.4.1", features = ["derive"], optional = true }
46
47 [target.'cfg(target_arch = "spirv")'.dependencies]
48 crunchy = "0.2.2"
49
50 [dev-dependencies]
51 criterion = "0.5"
52 quickcheck = "1.0"
53 quickcheck_macros = "1.0"
54 rand = "0.9.0"
55 crunchy = "0.2.2"
56
57 [[bench]]
58 name = "convert"
59 harness = false
60
61 [package.metadata.docs.rs]
62 rustdoc-args = ["--cfg", "docsrs"]
63 all-features = true