diff --git a/Cargo.lock b/Cargo.lock index c0db6fc..3c872e0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -214,7 +214,7 @@ dependencies = [ ] [[package]] -name = "toke" +name = "toke-runner" version = "0.1.0" dependencies = [ "clap", diff --git a/Cargo.toml b/Cargo.toml index 4971cea..396dd5b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "toke" +name = "toke-runner" description = "A command runner for toml files" repository = "https://git.olympuslab.net/afonso/toke" readme = "README.md" @@ -9,6 +9,9 @@ version = "0.1.0" edition = "2021" license = "MIT" +[[bin]] +name = "toke" + # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] diff --git a/src/main.rs b/src/bin/toke.rs similarity index 100% rename from src/main.rs rename to src/bin/toke.rs