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

editorconfig-rs

Rust bindings to libeditorconfig using editorconfig-sys

5 releases

new 0.2.3 Feb 11, 2025
0.2.2 Oct 19, 2024
0.2.1 Jan 30, 2024
0.2.0 Jan 28, 2024
0.1.0 Jan 28, 2024

#271 in Configuration

Download history 8/week @ 2024-10-24 5/week @ 2024-10-31 5/week @ 2024-11-07 5/week @ 2024-12-05 8/week @ 2024-12-12 1/week @ 2025-01-30 71/week @ 2025-02-06

72 downloads per month

MIT license

15KB
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.

Build status Crates.io

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.3"

Usage

Examples can be found in the tests.

Dependencies

~0–2MB
~38K SLoC