{"repo":"ultralytics/template-rust","free":true,"listed":false,"github":"https://github.com/ultralytics/template-rust","clone":"git clone https://github.com/ultralytics/template-rust.git","description":"Ultralytics Rust project template with library and CLI examples, tests, benchmarks, rustfmt, clippy, coverage, dependency checks, and crates.io publishing.","language":"Rust","stars":64,"topics":["rust","ultralytics","benchmarking","cargo","cli","clippy","code-coverage","crates-io","github-actions","project-template"],"license":"AGPL-3.0","category":"cli-tools","readme_excerpt":"🛠 Ultralytics Rust Project Template Welcome to the Ultralytics Rust Project Template! This repository provides a standardized foundation for initiating Rust projects at Ultralytics. It incorporates best practices in project structure, configuration, and essential tooling to streamline development. By using this template, Ultralytics developers can ensure consistency, maintain high quality standards, and accelerate the setup process for new Rust-based software. 🗂️ Repository Structure This template is organized for intuitive navigation and a clear understanding of Rust project components. - src/lib.rs : Core library code for the crate. - src/main.rs : Example binary entrypoint that exercises the library. - tests/ : Integration tests executed with cargo test . - benches/ : Criterion benchmarks executed with cargo bench . - docs/ : Optional Markdown docs that complement Rustdoc output. - Cargo.toml : Package metadata, dependencies, and build configuration. - rust-toolchain.toml , rustfmt.toml , clippy.toml , deny.toml : Toolchain pin, formatting, lint, and dependency-audit configuration. - .gitignore : Git ignore rules tailored for Cargo builds and IDEs. - LICENSE : Project license file (default AGPL-3.0-or-later). - .github/workflows/ : GitHub Actions for CI, formatting, and publishing the crate. 📦 Source Code Directory ( src/ ) The src/ directory contains both the reusable library ( lib.rs ) and an example binary ( main.rs ). Expand the library with modules as the crate gro","default_branch":null,"files":null,"tree":[],"storefront":"/r/ultralytics","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ultralytics/template-rust/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}