14 releases (5 breaking)

0.5.0 Dec 28, 2023
0.4.3 Dec 2, 2023
0.4.2 Nov 25, 2023
0.3.0 Oct 5, 2023
0.0.0-placeholder-3 Nov 29, 2022

#178 in Cargo plugins

MIT/Apache

89KB
1.5K SLoC

Cargo Marker

Crates.io License: MIT OR Apache-2.0

cargo_marker is the CLI tool for Marker, an experimental linting interface for Rust. It seamlessly integrates with the Rust compiler to provide custom linting capabilities for your Rust projects.

Note

Marker is in the early stages of development, some things are still missing and the API is still unstable.

A list of limitations and planned features can be found in Marker's Readme.

Key Features

  • Simple CLI: cargo_marker does all the heavy lifting for you, making custom code analysis, as simple as a single console command.
  • Seamless Integration: cargo_marker reuses Rust's existing infrastructure for linting, running Marker as part of your workflow is close to the effort needed for its sibling Clippy.
  • Automatic Lint-Crate Compilation: cargo_marker automatically fetches and builds specified lint crates, streamlining the process of incorporating additional linting rules into your project.
  • User-Friendly Setup: cargo_marker can automatically set up the driver and toolchain, allowing you to focus on writing quality code. (This version will setup rustc's driver for nightly-2023-11-16)

Usage

See the installation and usage instructions in the main Marker repository README. Installation and usage instructions are available in The Marker Book.

Contributing

Contributions are highly appreciated! If you encounter any issues or have suggestions for improvements, please check out Marker's GitHub repository.

License

Copyright (c) 2022-2023 Rust-Marker

Rust-marker is distributed under the terms of the MIT license or the Apache License (Version 2.0).

See LICENSE-APACHE, LICENSE-MIT.

Dependencies

~12–22MB
~297K SLoC