[package]
edition = "2024"
rust-version = "1.88"
name = "pnc-engine"
version = "0.2.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core engine for PNC: arbitrary-precision RPN evaluation, units, and persistence"
readme = "README.md"
license = "Apache-2.0"
repository = "https://gitlab.com/ygraf/pnc"
[lib]
name = "pnc_engine"
path = "src/lib.rs"
[[test]]
name = "arithmetic"
path = "tests/arithmetic.rs"
[[test]]
name = "mod_semantics"
path = "tests/mod_semantics.rs"
[[test]]
name = "more_ops"
path = "tests/more_ops.rs"
[[test]]
name = "more_ops2"
path = "tests/more_ops2.rs"
[[test]]
name = "ops_extra"
path = "tests/ops_extra.rs"
[[test]]
name = "parse"
path = "tests/parse.rs"
[[test]]
name = "persist"
path = "tests/persist.rs"
[[test]]
name = "stack_extra"
path = "tests/stack_extra.rs"
[[test]]
name = "stack_ops"
path = "tests/stack_ops.rs"
[[test]]
name = "swap_with_top"
path = "tests/swap_with_top.rs"
[[test]]
name = "units"
path = "tests/units.rs"
[[test]]
name = "units_parse"
path = "tests/units_parse.rs"
[[test]]
name = "unknown_cmd"
path = "tests/unknown_cmd.rs"
[dependencies.directories]
version = "5"
[dependencies.fs2]
version = "0.4"
[dependencies.num-bigint]
version = "0.4"
features = ["serde"]
[dependencies.num-rational]
version = "0.4"
features = ["serde"]
[dependencies.num-traits]
version = "0.2"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.thiserror]
version = "2"
[dependencies.toml]
version = "0.8"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.tempfile]
version = "3"