editorconfig-sys 0.1.0

Native Rust bindings to libeditorconfig
docs.rs failed to build editorconfig-sys-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: editorconfig-sys-0.1.3

Native Rust Bindings to libeditorconfig

This crate uses bindgen and pkg-config to automatically generate Rust FFI bindings to the EditorConfig Core C library.

Following the *-sys package convention, editorconfig-sys is just a thin wrapper around the native libeditorconfig library.

Workflow status

Dependencies

To use this crate, libeditorconfig >= 0.12.5 must be installed and pkg-config must be able to find it. You can check if pkg-config can find the library and which version is installed with:

pkg-config --modversion editorconfig

Installation

Add this to your Cargo.toml:

[dependencies]
editorconfig-sys = "0.1.0"

Usage

Some unsafe Rust code examples can be found in the tests.