https://github.com/mdx-js/rust
mdx, in rust. maybe.
https://github.com/mdx-js/rust
Last synced: 8 months ago
JSON representation
mdx, in rust. maybe.
- Host: GitHub
- URL: https://github.com/mdx-js/rust
- Owner: mdx-js
- License: mit
- Created: 2020-02-27T20:35:47.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-10-02T12:52:18.000Z (about 1 year ago)
- Last Synced: 2025-03-24T04:51:56.689Z (9 months ago)
- Language: Rust
- Size: 79.1 KB
- Stars: 75
- Watchers: 14
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-list - rust - js | 42 | (Rust)
README
# 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](https://rustup.rs/).
### Command Cheatsheet:
```shell
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.