4 releases (1 stable)

1.0.0 Aug 16, 2023
0.3.0 Nov 20, 2021
0.2.0 Jan 25, 2020
0.1.0 Oct 23, 2019

#564 in Encoding

Download history 19/week @ 2024-02-05 3/week @ 2024-02-19 23/week @ 2024-02-26 7/week @ 2024-03-04 4/week @ 2024-03-11 96/week @ 2024-04-01

101 downloads per month

MIT license

14KB
250 lines

JSON Compilation Database

This crate provides support for reading and writing JSON compilation database files.

Overview

A compilation database is a set of records which describe the compilation of the source files in a given project. It describes the compiler invocation command to compile a single source file to an object file.

This database can have many forms. One well known and supported format is the JSON compilation database, which is a simple JSON file having the list of compilation as an array. The definition of the JSON compilation database files is done in the LLVM project documentation.

Usage

First, add this to your Cargo.toml:

[dependencies]
json_compilation_db = "1.0"

License

This project is licensed under the MIT license.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in json_compilation_db by you, shall be licensed as MIT, without any additional terms or conditions.

Dependencies

~375–790KB
~17K SLoC