forked from starkat99/half-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
46 lines (41 loc) · 1.24 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
45
46
[package]
name = "float16"
# Remember to keep in sync with html_root_url crate attribute
version = "0.1.3"
authors = ["Kathryn Long <[email protected]>", "Alex Huszagh <[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/Alexhuszagh/float16"
readme = "README.md"
keywords = ["f16", "bfloat16", "no_std"]
license = "MIT OR Apache-2.0"
categories = ["no-std", "data-structures", "encoding"]
edition = "2021"
# FIXME: Remove build script once the MSRV goes to 1.70, which halves the build time.
rust-version = "1.60"
exclude = [
".git*",
".editorconfig",
".circleci",
"Makefile.toml",
"clippy.toml",
"rustfmt.toml",
]
[features]
default = ["std"]
std = []
[lints.rust.unexpected_cfgs]
level = "warn"
check-cfg = [
'cfg(kani)',
'cfg(target_arch, values("spirv"))',
'cfg(target_feature, values("IntegerFunctions2INTEL", "SPV_INTEL_shader_integer_functions2"))',
'cfg(has_x86_intrinsics)',
'cfg(has_aarch64_intrinsics)',
]
[dependencies]
cfg-if = "1.0.0"
[build-dependencies]
rustc_version = "0.2"
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]
all-features = true