# rrdbc
[](https://github.com/oxibus/rrdbc)
[](https://crates.io/crates/rrdbc)
[](https://crates.io/crates/rrdbc)
[](https://docs.rs/rrdbc)
[](https://github.com/oxibus/rrdbc)
[](https://github.com/oxibus/rrdbc/actions)
[](https://app.codecov.io/gh/oxibus/rrdbc)
## dbc2json
Convert dbc file to json file.
```sh
$ ./dbc2json -h
dbc2json 0.1.0
Convert DBC file to JSON
USAGE:
dbc2json --input <input> --output <output>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-i, --input <input> Input dbc file
-o, --output <output> Output json file
````
usage example:
```sh
dbc2json -i input.dbc -o output.json
```
## Features
By default, the crate is built with all features enabled. Some of them are only needed to build binary tools. For faster compilation, disable defaults and optionally enable `serde` and/or `encoding`:
```toml
rrdbc = { version = "0.1", default-features = false, features = ["serde", "encoding"] }
```
## Resources
* <https://bitbucket.org/tobylorenz/vector_dbc/src/master/>
* <https://github.com/xR3b0rn/dbcppp>
* <https://github.com/cantools/cantools>
## Development
* This project is easier to develop with [just](https://github.com/casey/just#readme), a modern alternative to `make`.
Install it with `cargo install just`.
* To get a list of available commands, run `just`.
* To run tests, use `just test`.
## License
Licensed under either of
* Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or <https://www.apache.org/licenses/LICENSE-2.0>)
* MIT license ([LICENSE-MIT](LICENSE-MIT) or <https://opensource.org/licenses/MIT>)
at your option.
### 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.