2020-04-13 11:11:39 -07:00
|
|
|
|
# Copyright © 2018–2020 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-07-20 23:42:56 -07:00
|
|
|
|
version = "1.1.0"
|
2018-08-09 11:02:34 -07:00
|
|
|
|
authors = ["Trevor Spiteri <tspiteri@ieee.org>"]
|
|
|
|
|
description = "Fixed-point numbers"
|
|
|
|
|
documentation = "https://docs.rs/fixed"
|
2018-08-09 11:10:38 -07:00
|
|
|
|
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"
|
2019-08-02 06:47:05 -07:00
|
|
|
|
edition = "2018"
|
2019-08-03 00:46:50 -07:00
|
|
|
|
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 = []
|
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
|
|
|
|
|
2019-08-03 00:46:50 -07: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"
|
2019-08-03 00:46:50 -07:00
|
|
|
|
num-traits = { version = "0.2", default-features = false }
|
|
|
|
|
|
2018-08-23 04:12:32 -07:00
|
|
|
|
[package.metadata.docs.rs]
|
2020-07-13 01:11:04 -07:00
|
|
|
|
features = ["az", "f16", "num-traits", "serde", "std"]
|
2019-08-03 00:46:50 -07:00
|
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
|
name = "bench_main"
|
|
|
|
|
harness = false
|