fixed/Cargo.toml

59 lines
1.3 KiB
TOML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Copyright © 20182021 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.10.0"
description = "Fixed-point numbers"
documentation = "https://docs.rs/fixed"
repository = "https://gitlab.com/tspiteri/fixed"
readme = "README.md"
keywords = ["fixed", "fixed-point", "mathematics", "numerics"]
categories = ["algorithms", "embedded", "mathematics", "no-std"]
license = "MIT/Apache-2.0"
edition = "2018"
[features]
fail-on-warnings = []
serde-str = ["serde", "std", "serde/std"]
std = []
# optional features through optional dependencies:
# serde
# experimental optional features through optional dependencies:
# arbitrary
# num-traits
# deprecated
az = []
f16 = []
[dependencies]
az_crate = { version = "1.1", package = "az" }
bytemuck = "1.2"
half = "1.6"
typenum = "1.14"
[dependencies.arbitrary]
version = "1"
optional = true
[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
[package.metadata.docs.rs]
features = ["arbitrary", "num-traits", "serde", "std"]