diff --git a/Cargo.lock b/Cargo.lock index a28f7ee..7b9d8c1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -233,7 +233,7 @@ dependencies = [ [[package]] name = "decasify" -version = "0.2.2" +version = "0.2.3" dependencies = [ "clap", "clap_complete", diff --git a/Cargo.toml b/Cargo.toml index 7d93c7d..4df1ca2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "decasify" -version = "0.2.2" +version = "0.2.3" authors = ["Caleb Maclennan "] edition = "2021" description = "A CLI utility and library to cast strings to title-case according to locale specific style guides including Turkish support" diff --git a/rockspecs/decasify-0.2.3-1.rockspec b/rockspecs/decasify-0.2.3-1.rockspec new file mode 100644 index 0000000..7acdf7b --- /dev/null +++ b/rockspecs/decasify-0.2.3-1.rockspec @@ -0,0 +1,32 @@ +rockspec_format = "1.0" +package = "decasify" +version = "0.2.3-1" + +source = { + url = "git+https://github.com/alerque/decasify.git", + dir = "decasify", + tag = "v0.2.3" +} + +description = { + summary = "Lua C module built from the Rust decasify crate to cast strings to title-case according to locale specific style guides including Turkish support", + detailed = [[ + A Lua library exposed as a C module built from the Rust decasify crate. + Provides casing functions for long strings (not just individual words) + supporting the grammatical style guides of various locales including Turkish. + ]], + license = "GPL-3.0-only", + homepage = "https://github.com/alerque/decasify", +} + +dependencies = { + "lua >= 5.1", + "luarocks-build-rust-mlua" +} + +build = { + type = "rust-mlua", + modules = { + "decasify" + } +}