-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
44 lines (37 loc) · 1.36 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Copyright © 2018–2024 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 = "2.0.0-alpha.28.0"
categories = ["algorithms", "embedded", "mathematics", "no-std"]
description = "Fixed-point numbers."
documentation = "https://docs.rs/fixed"
edition = "2021"
keywords = ["dsp", "embedded", "fixed", "math", "numerics"]
license = "MIT/Apache-2.0"
readme = "README.md"
repository = "https://gitlab.com/tspiteri/fixed"
rust-version = "1.79"
[dependencies]
arbitrary = { optional = true, version = "1" }
az = "1.2"
borsh = { default-features = false, optional = true, version = "1" }
bytemuck = "1.2"
half = { default-features = false, version = ">= 1.8, < 3" }
num-traits = { default-features = false, features = ["i128"], optional = true, version = "0.2.18" }
serde = { default-features = false, optional = true, version = "1.0.60" }
[features]
arbitrary = ["dep:arbitrary"]
borsh = ["dep:borsh"]
serde = ["dep:serde"]
serde-str = ["serde", "serde/std", "std"]
std = []
# experimental features
num-traits = ["dep:num-traits"]
# undocumented features
fail-on-warnings = []
[package.metadata.docs.rs]
features = ["arbitrary", "borsh", "num-traits", "serde", "std"]