#bindings #editorconfig #api-bindings #libeditorconfig

editorconfig-rs

Rust bindings to libeditorconfig using editorconfig-sys

3 unstable releases

0.2.1 Jan 30, 2024
0.2.0 Jan 28, 2024
0.1.0 Jan 28, 2024

#702 in #bindings

Download history 11/week @ 2024-01-28 26/week @ 2024-02-18 20/week @ 2024-02-25 17/week @ 2024-03-10 51/week @ 2024-03-31

68 downloads per month

MIT license

13KB
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.1"

Usage

Examples can be found in the tests.

Dependencies

~0–1.8MB
~36K SLoC