https://github.com/apskhem/dbml-rs
A DBML parser for Rust.
https://github.com/apskhem/dbml-rs
dbml parser rust
Last synced: 3 months ago
JSON representation
A DBML parser for Rust.
- Host: GitHub
- URL: https://github.com/apskhem/dbml-rs
- Owner: apskhem
- License: apache-2.0
- Created: 2023-01-10T13:06:13.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-03T18:24:02.000Z (about 1 year ago)
- Last Synced: 2025-09-28T06:36:38.267Z (4 months ago)
- Topics: dbml, parser, rust
- Language: Rust
- Homepage:
- Size: 343 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# A DBML parser for Rust
[](https://crates.io/crates/dbml-rs)



A DBML parser implemented in Rust programming language.
## How to use it?
```rust
use dbml_rs::*;
use std::fs;
fn main() {
let input = fs::read_to_string("path/to/your/file.dbml");
let result = parse_dbml(&input);
}
```
## License
Licensed under either of
- Apache License, Version 2.0
([LICENSE-APACHE](LICENSE-APACHE) or )
- MIT license
([LICENSE-MIT](LICENSE-MIT) or )
## Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
dual licensed as above, without any additional terms or conditions.
Always welcome you to participate, contribute and together.