-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update dependencies and use github workflow
- Loading branch information
Showing
4 changed files
with
42 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Test | ||
on: | ||
push: | ||
branches: | ||
- "*" | ||
jobs: | ||
test: | ||
name: test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: install rust and run tests | ||
run: | | ||
rustup update stable --no-self-update | ||
rustup default stable | ||
cargo test -j`nproc` | ||
lint: | ||
name: check format | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: install rust and check format | ||
run: | | ||
rustup update stable | ||
rustup default stable | ||
rustup component add rustfmt | ||
cargo fmt -- --check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,18 @@ | ||
[package] | ||
name = "rake" | ||
version = "0.3.3" | ||
authors = ["Navid <[email protected]>"] | ||
categories = ["algorithms", "text-processing"] | ||
description = "Rust implementation of Rapid Automatic Keyword Extraction (RAKE) algorithm" | ||
documentation = "https://docs.rs/rake" | ||
edition = "2021" | ||
homepage = "https://github.com/yaa110/rake-rs" | ||
keywords = ["rake", "algorithm", "keyword"] | ||
license = "MIT/Apache-2.0" | ||
name = "rake" | ||
readme = "README.md" | ||
keywords = ["rake", "algorithm", "keyword"] | ||
repository = "https://github.com/yaa110/rake-rs" | ||
homepage = "https://github.com/yaa110/rake-rs" | ||
documentation = "https://docs.rs/rake" | ||
description = "Rust implementation of Rapid Automatic Keyword Extraction (RAKE) algorithm" | ||
categories = ["algorithms", "text-processing"] | ||
edition = "2018" | ||
|
||
[badges] | ||
travis-ci = { repository = "yaa110/rake-rs" } | ||
version = "0.3.4" | ||
|
||
[dependencies] | ||
regex = "1.4" | ||
serde = { version = "1.0", features = ["derive"] } | ||
lazy_static = "1.4" | ||
regex = "1.10" | ||
serde = {version = "1.0", features = ["derive"]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters