diff --git a/Cargo.lock b/Cargo.lock index d5a02db..2105c9b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -101,6 +101,16 @@ dependencies = [ "hashbrown", ] +[[package]] +name = "kakutils-rs" +version = "0.1.0" +dependencies = [ + "alphanumeric-sort", + "clap", + "regex", + "shellwords", +] + [[package]] name = "lazy_static" version = "1.4.0" @@ -188,11 +198,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b" [[package]] -name = "rust-selection-sort" -version = "0.1.0" +name = "shellwords" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "89e515aa4699a88148ed5ef96413ceef0048ce95b43fbc955a33bde0a70fcae6" dependencies = [ - "alphanumeric-sort", - "clap", + "lazy_static", "regex", ] diff --git a/Cargo.toml b/Cargo.toml index 913870c..ae02e87 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "rust-selection-sort" +name = "kakutils-rs" version = "0.1.0" edition = "2021" license = "MIT" @@ -10,9 +10,13 @@ keywords = ["cli", "kakoune"] [dependencies] regex = "1" -clap = {version = "3", features = ["derive"]} +clap = {version = "3", features = ["derive", "env"]} alphanumeric-sort = "1" +shellwords = "1" [profile.release] lto = true opt-level = "z" +strip = true +codegen-units = 1 +panic = "abort"