-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathCargo.toml
More file actions
50 lines (48 loc) · 1.36 KB
/
Copy pathCargo.toml
File metadata and controls
50 lines (48 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[package]
name = "float8"
version = "0.7.0"
rust-version = "1.70"
edition = "2021"
description = "8-bit floating point types for Rust"
homepage = "https://github.com/EricLBuehler/float8"
repository = "https://github.com/EricLBuehler/float8"
keywords = ["float8", "f8e4m3", "fp8e5m2", "no_std"]
categories = ["science"]
license = "MIT"
[dependencies]
half = { version = "2.4.1", default-features = false }
bytemuck = { version = "1.4.1", default-features = false, features = [
"derive",
], optional = true }
serde = { version = "1.0", default-features = false, features = [
"derive",
], optional = true }
num-traits = { version = "0.2.14", default-features = false, features = [
"libm",
], optional = true }
zerocopy = { version = "0.6.0", default-features = false, optional = true }
rand = { version = "0.9.0", default-features = false, features = [
"std",
"std_rng",
"thread_rng",
], optional = true }
rand_distr = { version = "0.5.0", default-features = false, optional = true }
rkyv = { version = "0.7", optional = true }
[features]
default = ["std"]
std = ["half/std"]
all = [
"std",
"num-traits",
"rand_distr",
"bytemuck",
"zerocopy",
"rkyv",
"serde",
]
num-traits = ["dep:num-traits"]
rand_distr = ["dep:rand_distr", "dep:rand", "std"]
bytemuck = ["dep:bytemuck"]
zerocopy = ["dep:zerocopy"]
rkyv = ["dep:rkyv"]
serde = ["dep:serde"]