Add clap CLI, lib crate, unit test, and criterion benchmark

Minimal scaffold before turning this into a Nix flake template.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018ALEXkc7pTro7tF1WcUuKb
This commit is contained in:
2026-08-10 23:49:06 +08:00
commit 979e77571f
6 changed files with 803 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
[package]
name = "rust_template"
version = "0.1.0"
edition = "2024"
[dependencies]
clap = { version = "4.6.6", features = ["derive"] }
[dev-dependencies]
criterion = { version = "0.8.2", features = ["html_reports"] }
[[bench]]
name = "greet"
harness = false