fixed/Cargo.toml

48 lines
1.3 KiB
TOML
Raw Normal View History

2020-04-13 11:11:39 -07:00
# Copyright © 20182020 Trevor Spiteri
2018-08-09 11:02:34 -07:00
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
[package]
name = "fixed"
2020-10-15 09:48:04 -07:00
version = "1.3.0"
2018-08-09 11:02:34 -07:00
authors = ["Trevor Spiteri <tspiteri@ieee.org>"]
description = "Fixed-point numbers"
documentation = "https://docs.rs/fixed"
repository = "https://gitlab.com/tspiteri/fixed"
2018-08-09 11:02:34 -07:00
readme = "README.md"
keywords = ["mathematics", "numerics"]
2018-08-12 03:11:28 -07:00
categories = ["algorithms", "data-structures", "no-std", "science"]
2018-08-09 11:02:34 -07:00
license = "MIT/Apache-2.0"
edition = "2018"
autobenches = false
2018-08-09 11:02:34 -07:00
2018-08-23 04:12:32 -07:00
[features]
f16 = ["half"]
2019-01-25 18:59:00 -08:00
fail-on-warnings = []
2019-12-23 08:39:41 -08:00
std = []
2020-09-17 07:58:26 -07:00
unwrapped = []
serde-str = ["serde", "std"]
2018-08-23 04:12:32 -07:00
2018-08-09 11:02:34 -07:00
[dependencies]
2019-08-24 05:52:32 -07:00
typenum = "1.10"
2020-05-01 09:17:00 -07:00
az = { version = "1", optional = true }
2020-05-10 01:49:09 -07:00
half = { version = "1.6", optional = true }
2020-07-13 01:11:04 -07:00
num-traits = { version = "0.2.12", default-features = false, optional = true }
2019-08-24 05:52:32 -07:00
serde = { version = "1.0.60", default-features = false, optional = true }
2019-01-26 15:39:24 -08:00
[dev-dependencies]
2019-12-06 02:46:41 -08:00
rand = { version = "0.7", default-features = false }
rand_xoshiro = "0.4"
criterion = "0.3"
num-traits = { version = "0.2", default-features = false }
2018-08-23 04:12:32 -07:00
[package.metadata.docs.rs]
2020-09-22 07:50:12 -07:00
features = ["az", "f16", "num-traits", "serde", "std", "unwrapped"]
[[bench]]
name = "bench_main"
harness = false