precision-core 0.1.0-alpha.1

Deterministic fixed-point arithmetic for financial computation
Documentation
# 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"
rust-version = "1.70"
name = "precision-core"
version = "0.1.0-alpha.1"
authors = ["Dijkstra Keystone <engineering@dijkstrakeystone.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Deterministic fixed-point arithmetic for financial computation"
readme = "README.md"
keywords = [
    "decimal",
    "financial",
    "precision",
    "arithmetic",
    "defi",
]
categories = [
    "mathematics",
    "finance",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/dijkstra-keystone/keystone"

[features]
default = []
determinism-check = []
proptest = ["dep:proptest"]
std = [
    "rust_decimal/std",
    "serde/std",
]

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

[[test]]
name = "determinism"
path = "tests/determinism.rs"

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

[dependencies.num-traits]
version = "0.2"
features = ["libm"]
default-features = false

[dependencies.postcard]
version = "1"
default-features = false

[dependencies.proptest]
version = "1"
optional = true

[dependencies.rust_decimal]
version = "1"
features = [
    "maths",
    "serde",
]
default-features = false

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

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

[dev-dependencies.postcard]
version = "1"
features = ["alloc"]
default-features = false

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