Skip to content

Commit

Permalink
bump version v0.1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Lips7 committed Jun 12, 2024
1 parent a353400 commit 5aecba7
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 10 deletions.
3 changes: 2 additions & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[build]
rustflags = ["-C", "target-cpu=native", "-Z", "threads=8"]
rustflags = ["-C", "target-cpu=native", "-Z", "threads=8"]
rustdocflags = ["-C", "target-cpu=native"]
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ readme = "README.md"
keywords = ["text", "string", "search", "pattern", "multi"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Lips7/Matcher"
version = "0.1.6"
version = "0.1.7"

[profile.release]
strip = true
Expand Down
Binary file modified matcher_c/matcher_c.so
Binary file not shown.
Binary file modified matcher_java/src/main/resources/matcher_c.so
Binary file not shown.
Binary file modified matcher_py/matcher_py/matcher_py.so
Binary file not shown.
2 changes: 1 addition & 1 deletion matcher_py/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "matcher_py"
version = "0.1.6"
version = "0.1.7"
readme = "README.md"
requires-python = ">=3.8"
authors = [{ name = 'Fuji Guo' }, { email = "[email protected]" }]
Expand Down
4 changes: 4 additions & 0 deletions matcher_rs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ repository.workspace = true
version.workspace = true
build = "build.rs"

[package.metadata.docs.rs]
rustc-args = ["--cfg", "matcher_rs_docs_rs"]
rustdoc-args = ["--cfg", "matcher_rs_docs_rs"]

[lib]
name = "matcher_rs"
crate-type = ["rlib"]
Expand Down
2 changes: 1 addition & 1 deletion matcher_rs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ To use `matcher_rs` in your Rust project, add the following to your `Cargo.toml`

```toml
[dependencies]
matcher_rs = "0.1.6"
matcher_rs = "0.1.7"
```

You can then use the Matcher struct to perform text matching. Here's a basic example:
Expand Down
4 changes: 4 additions & 0 deletions matcher_rs/build.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
fn main() {
println!("cargo:rustc-env=RUSTFLAGS={}", "-C target-feature=+aes");
#[allow(unexpected_cfgs)]
if cfg!(matcher_rs_docs_rs) {
println!("cargo:rustc-env=RUSTDOCFLAGS={}", "-C target-feature=+aes");
}
}
6 changes: 3 additions & 3 deletions matcher_rs/src/sim_matcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use super::{MatchResultTrait, TextMatcherTrait};
/// # Fields
/// - `table_id` (u64): The unique identifier for the table.
/// - `match_id` (String): The match identifier.
/// - `word_list` (Vec<String>): The list of processed words.
/// - `word_list` (`Vec<String>`): The list of processed words.
pub struct SimTable<'a> {
pub table_id: u64,
pub match_id: &'a str,
Expand Down Expand Up @@ -103,7 +103,7 @@ impl MatchResultTrait<'_> for SimResult<'_> {
///
/// - `remove_special_pattern` (Regex): A regular expression pattern for removing
/// special characters from the text.
/// - `sim_processed_table_list` (Vec<SimProcessedTable>): A vector of preprocessed
/// - `sim_processed_table_list` (`Vec<SimProcessedTable>`): A vector of preprocessed
/// tables, each containing a unique identifier, match identifier, and list of
/// processed words.
///
Expand Down Expand Up @@ -144,7 +144,7 @@ impl SimMatcher {
///
/// # Parameters
///
/// - `sim_table_list` (&Vec<SimTable>): A reference to a vector of `SimTable` instances.
/// - `sim_table_list` (`&Vec<SimTable>`): A reference to a vector of `SimTable` instances.
/// Each `SimTable` contains the original words and identifiers that will be processed
/// for similarity matching.
///
Expand Down

0 comments on commit 5aecba7

Please sign in to comment.