Skip to content

Commit

Permalink
Publishing pagefind_stem as a crate
Browse files Browse the repository at this point in the history
  • Loading branch information
bglw committed Jun 30, 2022
1 parent e7c9d20 commit f924140
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ jobs:
# Update cargo version,
printf ",s/version = \"0.0.0\"/version = \"$GIT_VERSION\"/g\nw\n" | ed ./pagefind/Cargo.toml
printf ",s/version = \"0.0.0\"/version = \"$GIT_VERSION\"/g\nw\n" | ed ./pagefind_web/Cargo.toml
printf ",s/version = \"0.0.0\"/version = \"$GIT_VERSION\"/g\nw\n" | ed ./pagefind_stem/Cargo.toml
printf ",s/\"version\": \"0.0.0\"/\"version\": \"$GIT_VERSION\"/g\nw\n" | ed ./pagefind_ui/package.json
git add ./pagefind/Cargo.toml
git add ./pagefind_web/Cargo.toml
Expand Down Expand Up @@ -170,7 +169,6 @@ jobs:
# Update cargo version,
printf ",s/version = \"0.0.0\"/version = \"$GIT_VERSION\"/g\nw\n" | ed ./pagefind/Cargo.toml
printf ",s/version = \"0.0.0\"/version = \"$GIT_VERSION\"/g\nw\n" | ed ./pagefind_web/Cargo.toml
printf ",s/version = \"0.0.0\"/version = \"$GIT_VERSION\"/g\nw\n" | ed ./pagefind_stem/Cargo.toml
printf ",s/\"version\": \"0.0.0\"/\"version\": \"$GIT_VERSION\"/g\nw\n" | ed ./pagefind_ui/package.json
git add ./pagefind/Cargo.toml
git add ./pagefind_web/Cargo.toml
Expand Down
2 changes: 1 addition & 1 deletion pagefind/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ kuchiki = "0.8.1"
wax = "0.4.0"
futures = "0.3"
tokio = { version = "1", features = ["full"] }
pagefind_stem = { path = "../pagefind_stem", features = ["english"] }
pagefind_stem = { version = "0.1.0", features = ["english"] }
stop-words = "0.6.2"
hashbrown = { version = "0.12.0", features = ["serde"] }
regex = "1.1"
Expand Down
4 changes: 3 additions & 1 deletion pagefind_stem/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
[package]
name = "pagefind_stem"
version = "0.0.0"
version = "0.1.0"
# Imports would have to change for a newer edition,
# and I don't want to have to edit snowball's rust files
edition = "2015"
description = "Snowball stemming algorithms repackaged for Rust, with languages behind feature flags."
license = "MIT"

[dependencies]

Expand Down
2 changes: 1 addition & 1 deletion pagefind_web/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ crate-type = ["cdylib", "rlib"]
[dependencies]
wasm-bindgen = "0.2"
bit-set = "0.5"
pagefind_stem = { path = "../pagefind_stem", features = ["english"] }
pagefind_stem = { version = "0.1.0", features = ["english"] }
minicbor = { version = "0.15.0", features = ["derive"] }
wee_alloc = "0.4"

Expand Down

0 comments on commit f924140

Please sign in to comment.