Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

An editorconfig core library in safe Rust

License

NotificationsYou must be signed in to change notification settings

TheDaemoness/ec4rs

Repository files navigation

Check ec4rscrates.ioAPI docs

AnEditorConfigcorein safe Rust.

This library enables you to integrate EditorConfig supportinto any tools which may benefit from it,such as code editors, formatters, and style linters.It includes mechanisms for type-safe parsing of properties,so that your tool doesn't have to do it itself.It also exposes significant portions of its logic,allowing you to use only the parts you need.

Name idea shamelessly stolen fromec4j.This library has minimal dependencies (onlystd at this time).

For example usage, seethe docs.

Testing

Check Compliance

The main repository for this library includes the EditorConfigcore testsas a Git submodule. This library should pass all of these tests.To run the test suite, run the following commands in a POSIX-like shell:

cargo build --package ec4rs_toolsgit submodule update --init --recursivecd testscmake -DEDITORCONFIG_CMD="$PWD/../target/debug/ec4rs-parse".ctest.

Glob Library

Check ec4rs_glob

This repository also includes theec4rs_glob library which isprimarily intended for internal use but can be used by other projects. Seeits README for more information.

License

ec4rs,ec4rs_glob, andec4rs_tools are licensed under theApache License 2.0with noNOTICE text.

Contributors submitting code changes must agree to the terms of theDeveloper Certificate of Origin (DCO)to have their contributions accepted for inclusion.A copy of the DCO may be found inDCO.txt.Contributors should sign-off on their commits (seegit commit -s)to indicate explicit agreement.

About

An editorconfig core library in safe Rust

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors6

Languages


[8]ページ先頭

©2009-2025 Movatter.jp