v2.0.0-beta.1
Pre-release
Pre-release
github-actions
released this
01 Jul 13:43
·
138 commits
to main
since this release
I finally decided to re-use the old crate name beancount-parser
instead of continuing with beancount_parser_2.
This release contains exactly the same functionallity beancount_parser_2
version 1.0.0-beta.3
.
beancount_parser_2
will be discontinued and archived soon.
Breaking changes
This is a full rewrite of the parser from scratch.
Most types have been either removed or changed in an incompatible way.
This new version is also more strict about what beancount syntax is considered valid.
Check the documentation to see how the new API looks like.
Note
You may depend on both the version 1 and 2 at the same time like this:
[dependencies] # version 1, in rust code `use beancount_parser::...` beancount-parser = { version = "1" } # version 2, in rust code `use beancount_parser_2::...` beancount-parser-2 = { package = "beancount-parser", version = "=2.0.0-beta.1" }
Supported beancount syntax
- Transaction
- flag
- payee and description
- tags
- links
- metadata
- postings
- account
- amount
- price
- cost
- amount
- date
- metadata
- Price directive
- Open and close directives
- Balance assertion
- Commodity declaration
- Events
- Options
- Directive metadata (string values only)