10 releases

0.0.9 Nov 13, 2024
0.0.8 Sep 18, 2024
0.0.5 Apr 19, 2024
0.0.4 Feb 4, 2024
0.0.2 Nov 14, 2023

#319 in Development tools

Download history 4/week @ 2024-08-24 365/week @ 2024-08-31 32/week @ 2024-09-07 194/week @ 2024-09-14 46/week @ 2024-09-21 22/week @ 2024-09-28 14/week @ 2024-10-05 16/week @ 2024-10-12 10/week @ 2024-10-19 10/week @ 2024-10-26 24/week @ 2024-11-02 140/week @ 2024-11-09 32/week @ 2024-11-16 25/week @ 2024-11-23 20/week @ 2024-11-30

222 downloads per month
Used in 7 crates (4 directly)

MIT/Apache

155KB
3K SLoC

dsntk | Decision Toolkit

Decision table recognizer

Crates.io docs Code coverage
build Linux build Windows build MacOs
MIT licensed Apache 2.0 licensed Contributor Covenant

Overview

Decision table recognizer used by components of dsntk crate.

Recognizes decision tables defined as Unicode text. To be properly recognized, the structure of the decision table must be conformant to DMN™ standard. Example of the decision table defined using only Unicode characters is shown below:

  ┌───┬────────────┬───────╥──────────┐
  │ U │  Customer  │ Order ║ Discount │
  ╞═══╪════════════╪═══════╬══════════╡
  │ 1 │ "Business" │  <10  ║   0.10   │
  ├───┼────────────┼───────╫──────────┤
  │ 2 │ "Business" │ >=10  ║   0.15   │
  ├───┼────────────┼───────╫──────────┤
  │ 3 │ "Private"  │   -   ║   0.05   │
  └───┴────────────┴───────╨──────────┘

License

Licensed under either of

at your option.

Contribution

Any contributions to Decision Toolkit are greatly appreciated. All contributions intentionally submitted for inclusion in the work by you, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~2.6–3.5MB
~65K SLoC