quickner
Advanced tools
+30
-39
@@ -49,5 +49,5 @@ # This file is automatically @generated by Cargo. | ||
| name = "clap" | ||
| version = "4.1.6" | ||
| version = "4.1.8" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "ec0b0588d44d4d63a87dbd75c136c166bbfd9a86a31cb89e09906521c7d3f5e3" | ||
| checksum = "c3d7ae14b20b94cb02149ed21a86c423859cbe18dc7ed69845cace50e52b40a5" | ||
| dependencies = [ | ||
@@ -65,5 +65,5 @@ "bitflags", | ||
| name = "clap_derive" | ||
| version = "4.1.0" | ||
| version = "4.1.8" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "684a277d672e91966334af371f1a7b5833f9aa00b07c84e92fbce95e00208ce8" | ||
| checksum = "44bec8e5c9d09e439c4335b1af0abaab56dcf3b94999a936e1bb47b9134288f0" | ||
| dependencies = [ | ||
@@ -110,5 +110,5 @@ "heck", | ||
| name = "crossbeam-channel" | ||
| version = "0.5.6" | ||
| version = "0.5.7" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "c2dd04ddaf88237dc3b8d8f9a3c1004b506b54b3313403944054d23c0870c521" | ||
| checksum = "cf2b3e8478797446514c91ef04bafcb59faba183e621ad488df88983cc14128c" | ||
| dependencies = [ | ||
@@ -121,5 +121,5 @@ "cfg-if", | ||
| name = "crossbeam-deque" | ||
| version = "0.8.2" | ||
| version = "0.8.3" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "715e8152b692bba2d374b53d4875445368fdf21a94751410af607a5ac677d1fc" | ||
| checksum = "ce6fd6f855243022dcecf8702fef0c297d4338e226845fe067f6341ad9fa0cef" | ||
| dependencies = [ | ||
@@ -133,5 +133,5 @@ "cfg-if", | ||
| name = "crossbeam-epoch" | ||
| version = "0.9.13" | ||
| version = "0.9.14" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "01a9af1f4c2ef74bb8aa1f7e19706bc72d03598c8a570bb5de72243c7a9d9d5a" | ||
| checksum = "46bd5f3f85273295a9d14aedfb86f6aadbff6d8f5295c4a9edb08e819dcf5695" | ||
| dependencies = [ | ||
@@ -141,3 +141,3 @@ "autocfg", | ||
| "crossbeam-utils", | ||
| "memoffset 0.7.1", | ||
| "memoffset", | ||
| "scopeguard", | ||
@@ -148,5 +148,5 @@ ] | ||
| name = "crossbeam-utils" | ||
| version = "0.8.14" | ||
| version = "0.8.15" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "4fb766fa798726286dbbb842f174001dab8abc7b627a1dd86e0b7222a95d929f" | ||
| checksum = "3c063cd8cc95f5c377ed0d4b49a4b21f632396ff690e8470c29b3359b346984b" | ||
| dependencies = [ | ||
@@ -338,5 +338,5 @@ "cfg-if", | ||
| name = "itoa" | ||
| version = "1.0.5" | ||
| version = "1.0.6" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "fad582f4b9e86b6caa621cabeb0963332d92eea04729ab12892c2533951e6440" | ||
| checksum = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6" | ||
@@ -388,11 +388,2 @@ [[package]] | ||
| name = "memoffset" | ||
| version = "0.7.1" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "5de893c32cde5f383baa4c04c5d6dbdd735cfd4a794b0debdb2bb1b421da5ff4" | ||
| dependencies = [ | ||
| "autocfg", | ||
| ] | ||
| [[package]] | ||
| name = "memoffset" | ||
| version = "0.8.0" | ||
@@ -504,3 +495,3 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| "libc", | ||
| "memoffset 0.8.0", | ||
| "memoffset", | ||
| "parking_lot", | ||
@@ -558,3 +549,3 @@ "pyo3-build-config", | ||
| name = "quickner" | ||
| version = "0.0.1-alpha.13" | ||
| version = "0.0.1-alpha.14" | ||
| dependencies = [ | ||
@@ -568,3 +559,3 @@ "pyo3", | ||
| name = "quickner-core" | ||
| version = "0.0.1-alpha.13" | ||
| version = "0.0.1-alpha.14" | ||
| dependencies = [ | ||
@@ -594,5 +585,5 @@ "clap", | ||
| name = "rayon" | ||
| version = "1.6.1" | ||
| version = "1.7.0" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "6db3a213adf02b3bcfd2d3846bb41cb22857d131789e01df434fb7e7bc0759b7" | ||
| checksum = "1d2df5196e37bcc87abebc0053e20787d73847bb33134a69841207dd0a47f03b" | ||
| dependencies = [ | ||
@@ -605,5 +596,5 @@ "either", | ||
| name = "rayon-core" | ||
| version = "1.10.2" | ||
| version = "1.11.0" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "356a0625f1954f730c0201cdab48611198dc6ce21f4acff55089b5a78e6e835b" | ||
| checksum = "4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d" | ||
| dependencies = [ | ||
@@ -644,5 +635,5 @@ "crossbeam-channel", | ||
| name = "rustix" | ||
| version = "0.36.8" | ||
| version = "0.36.9" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "f43abb88211988493c1abb44a70efa56ff0ce98f233b7b276146f1f3f7ba9644" | ||
| checksum = "fd5c6ff11fecd55b40746d1995a02f2eb375bf8c00d192d521ee09f42bef37bc" | ||
| dependencies = [ | ||
@@ -659,5 +650,5 @@ "bitflags", | ||
| name = "ryu" | ||
| version = "1.0.12" | ||
| version = "1.0.13" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "7b4b9743ed687d4b4bcedf9ff5eaa7398495ae14e61cba0a295704edbc7decde" | ||
| checksum = "f91339c0467de62360649f8d3e185ca8de4224ff281f66000de5eb2a77a79041" | ||
@@ -801,5 +792,5 @@ [[package]] | ||
| name = "unicode-ident" | ||
| version = "1.0.6" | ||
| version = "1.0.7" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "84a22b9f218b40614adcb3f4ff08b703773ad44fa9423e4e0d346d5db86e4ebc" | ||
| checksum = "775c11906edafc97bc378816b94585fbd9a054eabaf86fdd0ced94af449efab7" | ||
@@ -938,7 +929,7 @@ [[package]] | ||
| name = "winnow" | ||
| version = "0.3.3" | ||
| version = "0.3.4" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "faf09497b8f8b5ac5d3bb4d05c0a99be20f26fd3d5f2db7b0716e946d5103658" | ||
| checksum = "c95fb4ff192527911dd18eb138ac30908e7165b8944e528b6af93aa4c842d345" | ||
| dependencies = [ | ||
| "memchr", | ||
| ] |
+1
-1
| [package] | ||
| name = "quickner" | ||
| version = "0.0.1-alpha.13" | ||
| version = "0.0.1-alpha.14" | ||
| edition = "2021" | ||
@@ -5,0 +5,0 @@ authors = ["Omar MHAIMDAT"] |
| [package] | ||
| name = "quickner-core" | ||
| version = "0.0.1-alpha.13" | ||
| version = "0.0.1-alpha.14" | ||
| edition = "2021" | ||
@@ -5,0 +5,0 @@ authors = ["Omar MHAIMDAT"] |
@@ -76,4 +76,12 @@ use crate::{ | ||
| if start == 0 | ||
| || text.chars().nth(start - 1).unwrap().is_whitespace() | ||
| || text.chars().nth(start - 1).unwrap().is_ascii_punctuation() | ||
| || text | ||
| .chars() | ||
| .nth(start - 1) | ||
| .unwrap_or_else(|| 'N') | ||
| .is_whitespace() | ||
| || text | ||
| .chars() | ||
| .nth(start - 1) | ||
| .unwrap_or_else(|| 'N') | ||
| .is_ascii_punctuation() | ||
| || ((start + target_len) == text.len() | ||
@@ -137,2 +145,9 @@ || text | ||
| let index = Quickner::find_index(t, self.entities.clone()); | ||
| // let patterns = self | ||
| // .entities | ||
| // .iter() | ||
| // .map(|entity| entity.name.as_str()) | ||
| // .collect::<Vec<&str>>(); | ||
| // let aho_corasick = AhoCorasick::new(patterns); | ||
| // let index = Quickner::find_index_using_aho_corasick(t, aho_corasick); | ||
| let mut index = match index { | ||
@@ -139,0 +154,0 @@ Some(index) => index, |
+1
-1
| Metadata-Version: 2.1 | ||
| Name: quickner | ||
| Version: 0.0.1a13 | ||
| Version: 0.0.1a14 | ||
| Classifier: Programming Language :: Rust | ||
@@ -5,0 +5,0 @@ Classifier: Programming Language :: Python :: Implementation :: CPython |
@@ -11,3 +11,3 @@ #!/bin/bash | ||
| echo "::group::Install maturin" | ||
| curl -L https://github.com/PyO3/maturin/releases/download/v0.14.14/maturin-x86_64-unknown-linux-musl.tar.gz | tar -xz -C /usr/local/bin | ||
| curl -L https://github.com/PyO3/maturin/releases/download/v0.14.15/maturin-x86_64-unknown-linux-musl.tar.gz | tar -xz -C /usr/local/bin | ||
| maturin --version || true | ||
@@ -14,0 +14,0 @@ which patchelf > /dev/null || python3 -m pip install patchelf |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
20734031
0