65 lines
1.5 KiB
TOML
65 lines
1.5 KiB
TOML
# Copyright © 2018–2021 Trevor Spiteri
|
||
|
||
# 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"
|
||
version = "1.7.0"
|
||
authors = ["Trevor Spiteri <tspiteri@ieee.org>"]
|
||
description = "Fixed-point numbers"
|
||
documentation = "https://docs.rs/fixed"
|
||
repository = "https://gitlab.com/tspiteri/fixed"
|
||
readme = "README.md"
|
||
keywords = ["mathematics", "numerics"]
|
||
categories = ["algorithms", "data-structures", "no-std", "science"]
|
||
license = "MIT/Apache-2.0"
|
||
edition = "2018"
|
||
autobenches = false
|
||
|
||
[features]
|
||
fail-on-warnings = []
|
||
serde-str = ["serde", "std", "serde/std"]
|
||
std = []
|
||
|
||
# optional features through optional dependencies:
|
||
# serde
|
||
|
||
# experimental optional features through optional dependencies:
|
||
# num-traits
|
||
|
||
# deprecated
|
||
az = []
|
||
f16 = []
|
||
|
||
[dependencies]
|
||
az_crate = { version = "1.1", package = "az" }
|
||
half = "1.6"
|
||
typenum = "1.10"
|
||
|
||
[dependencies.num-traits]
|
||
version = "0.2.13"
|
||
default-features = false
|
||
features = ["i128"]
|
||
optional = true
|
||
|
||
[dependencies.serde]
|
||
version = "1.0.60"
|
||
default-features = false
|
||
optional = true
|
||
|
||
[dev-dependencies]
|
||
criterion = "0.3"
|
||
num-traits = { version = "0.2", default-features = false }
|
||
rand = { version = "0.8", default-features = false }
|
||
rand_xoshiro = "0.6"
|
||
|
||
[package.metadata.docs.rs]
|
||
features = ["num-traits", "serde", "std"]
|
||
|
||
[[bench]]
|
||
name = "bench_main"
|
||
harness = false
|