#editor-config

editorconfig-rs

Rust bindings to libeditorconfig using editorconfig-sys

4 releases

new 0.2.2 Oct 19, 2024
0.2.1 Jan 30, 2024
0.2.0 Jan 28, 2024
0.1.0 Jan 28, 2024

#4 in #editor-config

Download history 30/week @ 2024-09-23 87/week @ 2024-10-14

117 downloads per month

MIT license

14KB
189 lines

Rust Bindings to libeditorconfig

This crate provides a safe Rust wrapper to the native libeditorconfig C library, using the editorconfig-sys FFI bindings.

Workflow status

Dependencies

This crate uses editorconfig-sys which currently requires you to install libeditorconfig. Please refer to the editorconfig-sys README for more information.

Installation

Add this to your Cargo.toml:

[dependencies]
editorconfig-rs = "0.2.2"

Usage

Examples can be found in the tests.

Dependencies

~0–1.9MB
~37K SLoC