fixnum 0.9.4

Fixed-point numbers with explicit rounding
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "fixnum"
version = "0.9.4"
authors = ["Paul Loyd <pavelko95@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fixed-point numbers with explicit rounding"
readme = "README.md"
keywords = [
    "fixed",
    "decimal",
    "numbers",
]
categories = ["no-std"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/loyd/fixnum"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = ["std"]
i128 = ["dep:i256"]
i16 = []
i32 = []
i64 = []
parity = ["parity-scale-codec"]
quick-xml = [
    "serde?/derive",
    "serde?/alloc",
]
rkyv = ["dep:rkyv"]
schemars = ["dep:schemars"]
serde = ["dep:serde"]
std = ["derive_more/error"]

[lib]
name = "fixnum"
path = "src/lib.rs"

[[example]]
name = "usage"
path = "examples/usage.rs"
required-features = ["i64"]

[[test]]
name = "it"
path = "tests/it/main.rs"

[[bench]]
name = "ops"
path = "benches/ops.rs"
harness = false

[[bench]]
name = "serde"
path = "benches/serde.rs"
harness = false
required-features = ["serde"]

[dependencies.i256]
version = "=0.1.1"
optional = true
default-features = false

[dependencies.itoa]
version = "1.0.1"

[dependencies.parity-scale-codec]
version = "3"
optional = true
default-features = false

[dependencies.rkyv]
version = "0.8.14"
optional = true

[dependencies.schemars]
version = "0.8"
optional = true
default-features = false

[dependencies.serde]
version = "1.0"
optional = true
default-features = false

[dependencies.static_assertions]
version = "1.1.0"

[dependencies.typenum]
version = "1.12.0"

[dev-dependencies.anyhow]
version = "1.0.38"
default-features = false

[dev-dependencies.colored]
version = "2.0.0"

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.derive_more]
version = "1.0.0"
features = ["full"]

[dev-dependencies.proptest]
version = "1.0.0"

[dev-dependencies.quick-xml]
version = "0.24.0"
features = ["serialize"]

[dev-dependencies.rust_decimal]
version = "1.22.0"

[dev-dependencies.serde]
version = "1.0"
features = ["derive"]
default-features = false

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.trybuild]
version = "1.0.85"