moneylib 0.12.0

Library to deal with money in Rust.
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 = "2024"
name = "moneylib"
version = "0.12.0"
authors = ["Muhammad Fathir Irhas <fathir.irhas@gmail.com>"]
build = false
exclude = [
    "**/*_test.rs",
    "tests/**",
    "examples/**",
    "Makefile",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Library to deal with money in Rust."
documentation = "https://docs.rs/moneylib"
readme = "README.md"
keywords = [
    "finance",
    "money",
    "currency",
    "decimal",
    "type-safe",
]
categories = [
    "finance",
    "data-structures",
]
license = "MIT"
repository = "https://github.com/mfirhas/moneylib"

[package.metadata.docs.rs]
all-features = true

[features]
accounting = []
default = []
exchange = []
locale = [
    "dep:icu_locale",
    "dep:icu_decimal",
]
raw_money = []
serde = [
    "dep:serde",
    "dep:serde_json",
]

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

[dependencies.currencylib]
version = "0.1.3"

[dependencies.icu_decimal]
version = "2.1.1"
optional = true

[dependencies.icu_locale]
version = "2.1.1"
optional = true

[dependencies.rust_decimal]
version = "1.40.0"
features = ["maths"]
default-features = false

[dependencies.rust_decimal_macros]
version = "1.40.0"
features = ["reexportable"]

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

[dependencies.serde_json]
version = "1.0"
features = ["arbitrary_precision"]
optional = true

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

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

[dev-dependencies.serde_yaml]
version = "0.9"

[dev-dependencies.toml]
version = "1.0"