bookspec's first push committed 1,979 files of cargo build output (target/). At the owner's request its history was rewritten to drop them (git filter-branch, every commit) and force-pushed: the repository went from 105 MB to under 400 KB. Every commit got a new hash, so the old pin 74f2853d no longer exists upstream. Its rewritten twin is 6b309306, with an identical tree apart from target/ (checked against a mirror backup); the pin moves to the new tip 4eb99123, which only adds a .gitignore. The bookspec adapter (52 tests) and the package tests (29) pass on it. Older wanderbooks commits still name 74f2853d and will not fetch bookspec from scratch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
41 lines
1.4 KiB
TOML
41 lines
1.4 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"
|
|
# bookspec examples are TOML (tests/bookspec.rs), 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 = "4eb99123893b31af8e6f9468befa80d109260208" }
|
|
bookspec-runner = { git = "https://git.swaits.com/swaits/bookspec", rev = "4eb99123893b31af8e6f9468befa80d109260208" }
|
|
ledger-package = { path = "../ledger-package" }
|
|
ledger-import = { path = "../ledger-import" }
|
|
ledger-store = { path = "../ledger-store" }
|
|
tempfile = "3"
|
|
|
|
[[bench]]
|
|
name = "books"
|
|
harness = false
|