librsigstopup 0.1.0

Super safe library untuk simulasi perhitungan top-up dengan JSON API, verbose logging, dan full trace
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.95"
name = "librsigstopup"
version = "0.1.0"
authors = ["neuxdotdev <neuxdev1@gmail.com>"]
build = false
exclude = [
    ".github/",
    "examples/",
    "bench/",
    ".gitignore",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Super safe library untuk simulasi perhitungan top-up dengan JSON API, verbose logging, dan full trace"
homepage = "https://github.com/neuxdotdev/librsigstopup"
documentation = "https://docs.rs/librsigstopup"
readme = "README.md"
keywords = [
    "finance",
    "calculator",
    "topup",
    "json-api",
    "logging",
]
categories = [
    "finance",
    "api-bindings",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/neuxdotdev/librsigstopup"

[features]
android = [
    "dep:android_logger",
    "dep:log",
]
default = ["json-logging"]
ffi = []
json-logging = []
verbose = []

[lib]
name = "librsigstopup"
crate-type = [
    "lib",
    "cdylib",
    "staticlib",
]
path = "src/lib.rs"
doctest = true
doc = true

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

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

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.rust_decimal]
version = "1.41"

[dependencies.rust_decimal_macros]
version = "1.40"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.0"
features = [
    "rt",
    "rt-multi-thread",
    "macros",
    "time",
]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "json",
    "ansi",
]

[dependencies.uuid]
version = "1.0"
features = [
    "v4",
    "serde",
]

[dependencies.validator]
version = "0.20"
features = ["derive"]

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

[dev-dependencies.mockall]
version = "0.13"

[dev-dependencies.pretty_assertions]
version = "1.4"

[dev-dependencies.tokio]
version = "1.0"
features = [
    "full",
    "test-util",
]

[target.'cfg(target_os = "android")'.dependencies.android_logger]
version = "0.14"
optional = true

[target.'cfg(target_os = "android")'.dependencies.log]
version = "0.4"
optional = true

[lints.clippy]
all = "warn"
nursery = "warn"
pedantic = "warn"

[profile.dev]
opt-level = 0
debug = 2

[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1
panic = "abort"
strip = true