Skip to content

green-code-initiative/creedengo-rust

Repository files navigation

EcoCode on NuGet EcoCode on NuGet

creedengo-rust

ecoCode is a collective project aiming to reduce environmental footprint of software at the code level. The goal of the project is to provide a list of static code analyzers to highlight code structures that may have a negative ecological impact: energy and resources over-consumption, "fatware", shortening terminals' lifespan, etc.

ecoCode is based on evolving catalogs of good practices, for various technologies.

This set of Clippy linters implements these catalogs as rules for scanning your Rust projects using DyLint.

⚠️ 🚧 This is still a very early stage project 🚧. Any feedback or contribution will be highly appreciated. Please refer to the contribution section.

License: GPL v3 Contributor Covenant

🚀 Getting Started

Follow the get started file

🧩 Compatibility

This project requires:

  • Rust nightly toolchain (for dylint development)
  • cargo-dylint and dylint-link tools
  • VS Code with rust-analyzer extension (for IDE integration)

🌿 Rules

Id Description Severity Enabled
GCI2 Avoid multiple if-else statement ⚠️

🤝 Contribution

See contribution on the central ecoCode repository.

🤓 Main contributors

See main contributors on the central ecoCode repository.

About

Reduce the environmental footprint of your RUST software programs

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published