rust_decimal 1.35.0

Decimal number implementation written in pure Rust suitable for financial and fixed-precision calculations.
Documentation

rust_decimal

There is very little structured metadata to build this page from currently. You should check the main library docs, readme, or Cargo.toml in case the author documented the features in them.

This version has 35 feature flags, 3 of them enabled by default.

default

  • serde
  • std

serde

  • dep:serde

std

  • arrayvec/std
  • borsh?/std
  • bytes?/std
  • rand?/std
  • rkyv?/std
  • serde?/std
  • serde_json?/std

db-postgres

  • dep:bytes
  • dep:postgres-types
  • std

db-tokio-postgres

  • dep:bytes
  • dep:postgres-types
  • std

serde-with-arbitrary-precision

  • serde
  • serde_json/arbitrary_precision
  • serde_json/std

db-diesel1-mysql

  • diesel1/mysql
  • std

borsh

  • dep:borsh
  • std

db-diesel2-mysql

  • diesel2/mysql
  • std

db-diesel2-postgres

  • diesel2/postgres
  • std

db-diesel1-postgres

  • diesel1/postgres
  • std

tokio-postgres

  • dep:tokio-postgres

db-diesel-mysql

  • db-diesel1-mysql

rkyv

  • dep:rkyv

db-diesel-postgres

  • db-diesel1-postgres

serde-with-float

  • serde

diesel1

  • dep:diesel1

serde-bincode

  • serde-str

serde-with-str

  • serde

tokio-pg

  • db-tokio-postgres

diesel2

  • dep:diesel2

serde_json

  • dep:serde_json

rkyv-safe

  • rkyv/validation

rand

  • dep:rand

rust-fuzz

  • dep:arbitrary

maths-nopanic

  • maths

ndarray

  • dep:ndarray

proptest

  • dep:proptest

serde-str

  • serde-with-str

rocket-traits

  • dep:rocket

serde-float

  • serde-with-float

serde-arbitrary-precision

  • serde-with-arbitrary-precision

legacy-ops

    This feature flag does not enable additional features.

maths

    This feature flag does not enable additional features.

c-repr

    This feature flag does not enable additional features.