Files
wanderbooks/crates/ledger-core/Cargo.toml
T
swaitsandClaude Opus 5.5 609e4e6b26
check / check (push) Canceled after 0s
portable-macos / portable (macos-latest) (push) Canceled after 0s
portable-windows / portable (windows-latest) (push) Canceled after 0s
two-user / two-user (push) Canceled after 0s
build: pin bookspec at bc92cf3, settlements and the shares law
bookspec main now carries X-H1b (settlements, recoveries, invoice
numbers, vendor references and their examples; BS-arap-10 ignores
hyphens as plan P4b S4 decided) and K-U3's law 42. The checker and the
Lean move together (tests/bookspec/pin.rs): Lean 179 theorems, standard
axioms only; 80 of 91 examples run and pass, the other 11 are for
options wanderbooks did not pick.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 03:09:18 -07:00

46 lines
1.6 KiB
TOML

[package]
name = "ledger-core"
version = "0.1.0"
edition.workspace = true
license.workspace = true
repository.workspace = true
description = "Canonical double-entry bookkeeping semantics: the engine everything else is built on."
[dependencies]
rust_decimal = { version = "1", features = ["serde"] }
thiserror = "2"
chrono = { version = "0.4", features = ["serde"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# company.timezone: IANA names, with the zone database built in so every
# computer reads a name the same way.
jiff = { version = "0.2.35", default-features = false, features = ["std", "tz-system", "tzdb-bundle-always"] }
[lints]
workspace = true
[dev-dependencies]
criterion = "0.8.2"
proptest = "1"
# `tests/decimal_exact.rs`: an independent exact reference (arbitrary
# precision rationals) for `Decimal`, the one numeric type the money paths
# trust. Test-only, like every dev-dependency here.
num-bigint = "0.4"
num-rational = "0.4"
# bookspec examples are TOML (tests/bookspec/), run on the engine's own
# store (a dev-dependency only: the store depends on this crate), each in
# a directory of its own.
toml = "1"
# The specification lives in its own repository (P13 step 6, D-34, D-65),
# pinned to a commit.
bookspec-checker = { git = "https://git.swaits.com/swaits/bookspec", rev = "bc92cf3f69c392cefc9bd319b103994b3bfb0d76" }
bookspec-runner = { git = "https://git.swaits.com/swaits/bookspec", rev = "bc92cf3f69c392cefc9bd319b103994b3bfb0d76" }
ledger-package = { path = "../ledger-package" }
ledger-import = { path = "../ledger-import" }
ledger-store = { path = "../ledger-store" }
tempfile = "3"
[[bench]]
name = "books"
harness = false