#editor-config #bindings #api-bindings #libeditorconfig

editorconfig-rs

Rust bindings to libeditorconfig using editorconfig-sys

4 releases

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

#3 in #editor-config

Download history 21/week @ 2024-09-21 9/week @ 2024-09-28 142/week @ 2024-10-19 3/week @ 2024-10-26 7/week @ 2024-11-02

152 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