# 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.87.0"
name = "feldera-fxp"
version = "0.154.0"
authors = ["Feldera Team <dev@feldera.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fixed-point decimal with fixed precision and scale"
homepage = "https://github.com/feldera/feldera"
readme = "README.md"
keywords = [
    "ivm",
    "analytics",
    "database",
    "incremental",
    "sql",
]
categories = ["mathematics"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/feldera/feldera"

[features]
dbsp = [
    "serde",
    "rkyv",
    "size_of",
    "dep:dbsp",
    "dep:feldera-types",
]
rkyv = ["dep:rkyv"]
serde = ["dep:serde"]
size_of = ["dep:size-of"]
validation = [
    "rkyv",
    "dep:bytecheck",
    "rkyv/validation",
]

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

[dependencies.bytecheck]
version = "0.6.12"
optional = true

[dependencies.dbsp]
version = "0.154.0"
optional = true

[dependencies.feldera-types]
version = "0.154.0"
optional = true

[dependencies.num-traits]
version = "0.2.19"

[dependencies.rand]
version = "0.8.5"
features = ["small_rng"]

[dependencies.rand_distr]
version = "0.4.3"

[dependencies.rkyv]
version = "0.7.45"
features = ["size_64"]
optional = true
default-features = false

[dependencies.serde]
version = "1.0.213"
optional = true

[dependencies.size-of]
version = "0.1.7"
features = [
    "time-std",
    "ordered-float",
]
optional = true
package = "feldera-size-of"

[dependencies.smallstr]
version = "0.3.0"

[dependencies.smallvec]
version = "1.15.0"
features = [
    "serde",
    "write",
]

[dev-dependencies.itertools]
version = "0.14.0"

[dev-dependencies.num-bigint]
version = "0.4.6"

[dev-dependencies.serde_json]
version = "1.0.132"
features = ["arbitrary_precision"]
