feat: initialize rust project scaffold
Add minimal Rust project structure for bespoke site compiler: - rust-toolchain.toml: stable channel with rustfmt, clippy, rust-src - Cargo.toml: nrd-sh v0.1.0 with pulldown-cmark, gray_matter, maud - src/main.rs: stub entrypoint Verified with cargo check.
This commit is contained in:
3
src/main.rs
Normal file
3
src/main.rs
Normal file
@@ -0,0 +1,3 @@
|
||||
fn main() {
|
||||
println!("nrd.sh compiler v{}", env!("CARGO_PKG_VERSION"));
|
||||
}
|
||||
Reference in New Issue
Block a user