This crate provides a safe Rust wrapper to the native libeditorconfig
C library, using the editorconfig-sys FFI bindings.
This crate uses editorconfig-sys
which currently requires you to install libeditorconfig
. Please refer to the editorconfig-sys README for more information.
Add this to your Cargo.toml
:
[dependencies]
editorconfig-rs = "0.2.2"
Examples can be found in the tests.