From 7338e19fe641ca03bf3744208a6c044a248129f4 Mon Sep 17 00:00:00 2001 From: spectre Date: Sat, 22 Feb 2025 12:24:53 +0100 Subject: [PATCH] change to a crate --- Cargo.toml | 7 ++----- src/{main.rs => lib.rs} | 0 2 files changed, 2 insertions(+), 5 deletions(-) rename src/{main.rs => lib.rs} (100%) diff --git a/Cargo.toml b/Cargo.toml index cf4de5b..1a0d633 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,10 +1,7 @@ [package] -name = "noise_engine" +name = "noise-engine" version = "0.1.0" -edition = "2021" +edition = "2024" [dependencies] noise = "0.9.0" -[lib] -name = "noise_engine" -path = "src/lib.rs" diff --git a/src/main.rs b/src/lib.rs similarity index 100% rename from src/main.rs rename to src/lib.rs