4 releases

0.0.4 Jan 3, 2021
0.0.3 Dec 14, 2020
0.0.2 Feb 27, 2020
0.0.1 Feb 27, 2020

#1181 in Text processing

MIT license

33KB
474 lines

MDX

Rust implementation of MDX

I found this repo, should I use this?

no.

I'm going to anyway

ok, we look forward to working with you.

Developing

You must have Rust installed. You probably want rustup.

Command Cheatsheet:

cargo build
cargo build --release
cargo test
cargo bench

repo organization

what files matter where

integrations tests

tests against the public package API, and the public API only.

  • in tests/

unit tests

testing internals and such in a small way.

  • in src/*.rs

benchmark tests

Can we be speedy? how speedy? Did a recent change cause a regression?

  • in benches/mdx_benchmark.rs

Troubleshooting

I have a println/dgb/etc in my test and I'm not seeing the output

Use cargo test -- --nocapture to show output in tests. cargo swallows the output by default.

Dependencies

~6–11MB
~123K SLoC