From cd3a02d7f816799edd79ec2b4c1d01b9bfc18866 Mon Sep 17 00:00:00 2001 From: Wesley Moore Date: Fri, 12 Jul 2024 19:15:52 +1000 Subject: [PATCH] Version 3.3.0 --- Cargo.lock | 2 +- Cargo.toml | 4 ++-- Changelog.md | 5 +++++ README.md | 12 ++---------- 4 files changed, 10 insertions(+), 13 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 63bc454..e362a6d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -101,7 +101,7 @@ dependencies = [ [[package]] name = "titlecase" -version = "3.2.0" +version = "3.3.0" dependencies = [ "regex", "wasm-bindgen", diff --git a/Cargo.toml b/Cargo.toml index afc0cde..9a48049 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "titlecase" description = "Capitalize text according to a style defined by John Gruber for Daring Fireball." -version = "3.2.0" +version = "3.3.0" edition = "2021" authors = ["Wesley Moore "] rust-version = "1.70.0" @@ -26,4 +26,4 @@ wasm-bindgen = { version = "0.2.92", optional = true } [features] default = ["perf"] perf = ["regex/perf"] -wasm = ["wasm-bindgen"] +wasm = ["dep:wasm-bindgen"] diff --git a/Changelog.md b/Changelog.md index a093c6b..7dd44b1 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,6 +1,11 @@ Changelog ========= +## [3.3.0](https://github.com/wezm/titlecase/releases/tag/v3.3.0) + +- Introduce `wasm` cargo feature to enable wasm functionality + to address [#26](https://github.com/wezm/titlecase/issues/26). + ## [3.2.0](https://github.com/wezm/titlecase/releases/tag/v3.2.0) - Introduce `perf` cargo feature tied to the feature of the same diff --git a/README.md b/README.md index 78a9f39..9375b5a 100644 --- a/README.md +++ b/README.md @@ -36,16 +36,8 @@ An Example With Small Words and Sub-Phrases: "The Example" ### Pre-compiled binaries -Pre-compiled binaries are available for a some platforms: - -* [FreeBSD 13+ amd64](https://releases.wezm.net/titlecase/3.2.0/titlecase-3.2.0-amd64-unknown-freebsd.tar.gz) -* [Linux x86\_64](https://releases.wezm.net/titlecase/3.2.0/titlecase-3.2.0-x86_64-unknown-linux-musl.tar.gz) -* [MacOS Universal](https://releases.wezm.net/titlecase/3.2.0/titlecase-3.2.0-universal-apple-darwin.tar.gz) -* [Windows x86\_64](https://releases.wezm.net/titlecase/3.2.0/titlecase-3.2.0-x86_64-pc-windows-msvc.zip) - -Example to download and extract a binary: - - curl https://releases.wezm.net/titlecase/3.2.0/titlecase-3.2.0-x86_64-unknown-linux-musl.tar.gz | tar zxf - +Pre-compiled binaries are available for some platforms, check the +[latest release](https://github.com/wezm/titlecase/releases/latest). ### From Source