Debian Codegraph @

debian/rust-vendor/half/Cargo.toml

raw
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]
13 edition = "2021"
14 rust-version = "1.81"
15 name = "half"
16 version = "2.7.1"
17 authors = ["Kathryn Long <[email protected]>"]
18 build = false
19 exclude = [
20 ".git*",
21 ".editorconfig",
22 ".circleci",
23 ]
24 autolib = false
25 autobins = false
26 autoexamples = false
27 autotests = false
28 autobenches = false
29 description = "Half-precision floating point f16 and bf16 types for Rust implementing the IEEE 754-2008 standard binary16 and bfloat16 types."
30 readme = "README.md"
31 keywords = [
32 "f16",
33 "bfloat16",
34 "no_std",
35 ]
36 categories = [
37 "no-std",
38 "data-structures",
39 "encoding",
40 ]
41 license = "MIT OR Apache-2.0"
42 repository = "https://github.com/VoidStarKat/half-rs"
43
44 [package.metadata.docs.rs]
45 all-features = true
46 rustdoc-args = [
47 "--cfg",
48 "docsrs",
49 ]
50
51 [features]
52 alloc = []
53 default = ["std"]
54 nightly = []
55 rand_distr = [
56 "dep:rand",
57 "dep:rand_distr",
58 ]
59 std = ["alloc"]
60 use-intrinsics = []
61 zerocopy = []
62
63 [lib]
64 name = "half"
65 path = "src/lib.rs"
66
67 [[bench]]
68 name = "convert"
69 path = "benches/convert.rs"
70 harness = false
71
72 [dependencies.arbitrary]
73 version = "1.4.1"
74 features = ["derive"]
75 optional = true
76
77 [dependencies.bytemuck]
78 version = "1.4.1"
79 features = ["derive"]
80 optional = true
81 default-features = false
82
83 [dependencies.cfg-if]
84 version = "1.0.0"
85
86 [dependencies.num-traits]
87 version = "0.2.16"
88 features = ["libm"]
89 optional = true
90 default-features = false
91
92 [dependencies.rand]
93 version = "0.9.0"
94 features = ["thread_rng"]
95 optional = true
96 default-features = false
97
98 [dependencies.rand_distr]
99 version = "0.5.0"
100 optional = true
101 default-features = false
102
103 [dependencies.rkyv]
104 version = "0.8.0"
105 optional = true
106
107 [dependencies.serde]
108 version = "1.0"
109 features = ["derive"]
110 optional = true
111 default-features = false
112
113 [dependencies.zerocopy]
114 version = "0.8.26"
115 features = [
116 "derive",
117 "simd",
118 ]
119 default-features = false
120
121 [dev-dependencies.criterion]
122 version = "0.5"
123
124 [dev-dependencies.crunchy]
125 version = "0.2.2"
126
127 [dev-dependencies.quickcheck]
128 version = "1.0"
129
130 [dev-dependencies.quickcheck_macros]
131 version = "1.0"
132
133 [dev-dependencies.rand]
134 version = "0.9.0"
135
136 [target.'cfg(target_arch = "spirv")'.dependencies.crunchy]
137 version = "0.2.2"