forked from starkat99/half-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
44 lines (38 loc) · 1.57 KB
/
Cargo.toml
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
[package]
name = "half"
# Remember to keep in sync with html_root_url crate attribute
version = "1.8.0-dev" # Remember to keep in sync with html_root_url crate attribute # Remember to keep in sync with html_root_url crate attribute
authors = ["Kathryn Long <[email protected]>"]
description = "Half-precision floating point f16 and bf16 types for Rust implementing the IEEE 754-2008 standard binary16 and bfloat16 types."
repository = "https://github.com/starkat99/half-rs"
readme = "README.md"
keywords = ["f16", "bfloat16", "no_std"]
license = "MIT OR Apache-2.0"
categories = ["no-std", "data-structures", "encoding"]
edition = "2018"
exclude = [".git*"]
[badges]
maintenance = { status = "passively-maintained" }
[features]
std = ["alloc"]
use-intrinsics = []
serialize = ["serde"] # Deprecated. Use serde directly.
alloc = []
[dependencies]
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, optional = true }
[dev-dependencies]
criterion = "0.3.5"
quickcheck = "1.0"
quickcheck_macros = "1.0"
rand = "0.8.4"
[[bench]]
name = "convert"
harness = false
[package.metadata.docs.rs]
features = ["std", "serde", "bytemuck", "num-traits"]