aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml.orig
blob: 5963bae41250b306e77978864f1ae2b0d1333c3b (plain)
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
51
52
53
54
[package]
name = "half"
version = "1.7.1" # Remember to keep in sync with html_root_url crate attribute
authors = ["Kathryn Long <squeeself@gmail.com>"]
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/Apache-2.0"
categories = ["no-std", "data-structures", "encoding"]
edition = "2018"
exclude = ["/ci", "/*.yml"]

[badges]
appveyor = { repository = "starkat99/half-rs" }
travis-ci = { repository = "starkat99/half-rs" }
maintenance = { status = "passively-maintained" }

[features]
std = ["alloc"]
use-intrinsics = []
serialize = ["serde"] # Deprecated. Use serde directly.
alloc = []

[dependencies.bytemuck]
version = "1.4.1"
optional = true
default-features = false
features = ["derive"]

[dependencies.serde]
version = "1.0"
optional = true
default-features = false
features = ["derive"]

[dependencies.num-traits]
version = "0.2.14"
optional = true
default-features = false

[package.metadata.docs.rs]
features = ["std", "serde", "bytemuck", "num-traits"]

[dev-dependencies]
criterion = "0.3"
quickcheck = "0.9"
quickcheck_macros = "0.9"
rand = "0.7"
version-sync = "0.8"

[[bench]]
name = "convert"
harness = false