fixed/Cargo.toml

66 lines
1.5 KiB
TOML
Raw Normal View History

2021-02-05 06:22:27 -08:00
# Copyright © 20182021 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"
2021-04-20 13:12:16 -07:00
version = "1.8.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"
2021-04-20 13:12:16 -07:00
keywords = ["fixed", "fixed-point", "mathematics", "numerics"]
categories = ["algorithms", "embedded", "mathematics", "no-std"]
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]
2019-01-25 18:59:00 -08:00
fail-on-warnings = []
serde-str = ["serde", "std", "serde/std"]
2021-04-07 03:15:54 -07:00
std = []
# optional features through optional dependencies:
# serde
# experimental optional features through optional dependencies:
# num-traits
# deprecated
az = []
f16 = []
2018-08-23 04:12:32 -07:00
2018-08-09 11:02:34 -07:00
[dependencies]
2021-03-04 03:42:17 -08:00
az_crate = { version = "1.1", package = "az" }
bytemuck = "1.2"
2021-03-04 04:08:25 -08:00
half = "1.6"
2021-04-07 03:15:54 -07:00
typenum = "1.10"
2019-01-26 15:39:24 -08:00
[dependencies.num-traits]
version = "0.2.13"
default-features = false
features = ["i128"]
optional = true
2021-04-07 03:15:54 -07:00
[dependencies.serde]
version = "1.0.60"
default-features = false
optional = true
[dev-dependencies]
2019-12-06 02:46:41 -08:00
criterion = "0.3"
num-traits = { version = "0.2", default-features = false }
2021-04-07 03:15:54 -07:00
rand = { version = "0.8", default-features = false }
rand_xoshiro = "0.6"
2018-08-23 04:12:32 -07:00
[package.metadata.docs.rs]
2021-03-04 04:08:25 -08:00
features = ["num-traits", "serde", "std"]
[[bench]]
name = "bench_main"
harness = false