#marker #linting #cargo #cargo-subcommand #cli-interface #cli-tool #cli

app cargo_marker

Marker's CLI interface to automatically compile and run lint crates

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

#60 in Cargo plugins

Download history 4/week @ 2023-12-25 5/week @ 2024-02-19 13/week @ 2024-02-26 13/week @ 2024-03-11 171/week @ 2024-04-01

184 downloads per month

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

~11–23MB
~296K SLoC