diff --git a/native/lingua_nif/Cargo.lock b/native/lingua_nif/Cargo.lock index d2fc98b..fd9370c 100644 --- a/native/lingua_nif/Cargo.lock +++ b/native/lingua_nif/Cargo.lock @@ -1,25 +1,12 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -[[package]] -name = "addr2line" -version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c0929d69e78dd9bf5408269919fcbcaeb2e35e5d43e5815517cdc6a8e11a423" -dependencies = [ - "gimli", -] +version = 3 [[package]] name = "adler" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee2a4ec343196209d6594e19543ae87a39f96d5534d7174822a3ad825dd6ed7e" - -[[package]] -name = "adler32" -version = "1.2.0" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aae1277d39aeec15cb388266ecc24b11c80469deae6067e17a1a7aa9e5c1f234" +checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" [[package]] name = "aho-corasick" @@ -30,12 +17,6 @@ dependencies = [ "memchr", ] -[[package]] -name = "anyhow" -version = "1.0.34" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf8dcb5b4bbaa28653b647d8c77bd4ed40183b48882e130c1f1ffb73de069fd7" - [[package]] name = "autocfg" version = "1.0.1" @@ -43,57 +24,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a" [[package]] -name = "backtrace" -version = "0.3.55" +name = "bumpalo" +version = "3.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef5140344c85b01f9bbb4d4b7288a8aa4b3287ccef913a14bcc78a1063623598" -dependencies = [ - "addr2line", - "cfg-if 1.0.0", - "libc", - "miniz_oxide 0.4.3", - "object", - "rustc-demangle", -] +checksum = "a4a45a46ab1f2412e53d3a0ade76ffad2025804294569aae387231a0cd6e0899" [[package]] name = "byteorder" -version = "1.3.4" +version = "1.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08c48aae112d48ed9f069b33538ea9e3e90aa263cfa3d1c24309612b1f7472de" - -[[package]] -name = "bzip2" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42b7c3cbf0fa9c1b82308d57191728ca0256cb821220f4e2fd410a72ade26e3b" -dependencies = [ - "bzip2-sys", - "libc", -] - -[[package]] -name = "bzip2-sys" -version = "0.1.9+1.0.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad3b39a260062fca31f7b0b12f207e8f2590a67d32ec7d59c20484b07ea7285e" -dependencies = [ - "cc", - "libc", - "pkg-config", -] - -[[package]] -name = "cc" -version = "1.0.66" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c0496836a84f8d0495758516b8621a622beb77c0fed418570e50764093ced48" - -[[package]] -name = "cfg-if" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" +checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" [[package]] name = "cfg-if" @@ -109,11 +49,11 @@ checksum = "28b9d6de7f49e22cf97ad17fc4036ece69300032f45f78f30b4a4482cdc3f4a6" [[package]] name = "crc32fast" -version = "1.2.1" +version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81156fece84ab6a9f2afdb109ce3ae577e42b1228441eded99bd77f627953b1a" +checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", ] [[package]] @@ -122,7 +62,7 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dca26ee1f8d361640700bde38b2c37d8c22b3ce2d360e1fc1c74ea4b0aa7d775" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "crossbeam-utils", ] @@ -132,7 +72,7 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94af6efb46fef72616855b036a624cf27ba656ffc9be1b9a3c931cfc7749a9a9" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "crossbeam-epoch", "crossbeam-utils", ] @@ -143,7 +83,7 @@ version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a1aaa739f95311c2c7887a76863f500026092fb1dce0161dab577e559ef3569d" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "const_fn", "crossbeam-utils", "lazy_static", @@ -153,12 +93,11 @@ dependencies = [ [[package]] name = "crossbeam-utils" -version = "0.8.1" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02d96d1e189ef58269ebe5b97953da3274d83a93af647c2ddd6f9dab28cedb8d" +checksum = "0bf124c720b7686e3c2663cf54062ab0f68a88af2fb6a030e87e30bf721fcb38" dependencies = [ - "autocfg", - "cfg-if 1.0.0", + "cfg-if", "lazy_static", ] @@ -168,57 +107,33 @@ version = "1.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" -[[package]] -name = "failure" -version = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d32e9bd16cc02eae7db7ef620b392808b89f6a5e16bb3497d159c6b92a0f4f86" -dependencies = [ - "backtrace", -] - [[package]] name = "flate2" -version = "1.0.14" +version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2cfff41391129e0a856d6d822600b8d71179d46879e310417eb9c762eb178b42" +checksum = "b39522e96686d38f4bc984b9198e3a0613264abaebaff2c5c918bfa6b6da09af" dependencies = [ - "cfg-if 0.1.10", + "cfg-if", "crc32fast", "libc", - "miniz_oxide 0.3.7", + "miniz_oxide", ] [[package]] name = "fraction" -version = "0.8.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78d24d088325f939faaf806483fbfac0548e43018606bfe7a44abc83f6dc75ea" +checksum = "6bb65943183b6b3cbf00f64c181e8178217e30194381b150e4f87ec59864c803" dependencies = [ "lazy_static", "num", ] -[[package]] -name = "gimli" -version = "0.23.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6503fe142514ca4799d4c26297c4248239fe8838d827db6bd6065c6ed29a6ce" - -[[package]] -name = "glob" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574" - [[package]] name = "heck" -version = "0.3.1" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20564e78d53d2bb135c343b3f47714a56af2061f1c928fdb541dc7b9fdd94205" -dependencies = [ - "unicode-segmentation", -] +checksum = "2540771e65fc8cb83cd6e8a237f70c319bd5c29f78ed1084ba5d50eeac86f7f9" [[package]] name = "hermit-abi" @@ -231,26 +146,21 @@ dependencies = [ [[package]] name = "include_dir" -version = "0.6.0" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23d58bdeb22b1c4691106c084b1063781904c35d0f22eda2a283598968eac61a" +checksum = "482a2e29200b7eed25d7fdbd14423326760b7f6658d21a4cf12d55a50713c69f" dependencies = [ - "glob", - "include_dir_impl", - "proc-macro-hack", + "include_dir_macros", ] [[package]] -name = "include_dir_impl" -version = "0.6.0" +name = "include_dir_macros" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "327869970574819d24d1dca25c891856144d29159ab797fa9dc725c5c3f57215" +checksum = "5e074c19deab2501407c91ba1860fa3d6820bfde307db6d8cb851b55a10be89b" dependencies = [ - "anyhow", - "proc-macro-hack", - "proc-macro2 1.0.24", - "quote 1.0.7", - "syn 1.0.60", + "proc-macro2", + "quote", ] [[package]] @@ -282,11 +192,10 @@ checksum = "4d58d1b70b004888f764dfbf6a26a3b0342a1632d33968e4a179d8011c760614" [[package]] name = "lingua" -version = "1.2.2" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76eaeaec5e20f5d4f66543850aceae735c51e0b44be2e1330479bb5f3f39d371" +checksum = "0ff1807a80606b30b928e1c171c8ec030b0d3aef99bb2259a051516229bb9213" dependencies = [ - "cfg-if 1.0.0", "fraction", "include_dir", "itertools", @@ -373,680 +282,681 @@ dependencies = [ "serde_json", "strum", "strum_macros", + "wasm-bindgen", "zip", ] [[package]] name = "lingua-afrikaans-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84cf08dc4513ac6a51c38f5476d1d34200c2490684f1ddb4769711eb09a911a6" +checksum = "1a5a9ec0e06d8afce002d93b8d3c41a5ae489228c7b6cc2dda882a41e186b9cb" dependencies = [ "include_dir", ] [[package]] name = "lingua-albanian-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23fce0312f990ca992938c4174265fd066b8a5b48baa8fd489c4e5e71cd981da" +checksum = "3a332101361229cfbf1c723fd6d5a31ea6925ffa031f5b848f26df7642e133f2" dependencies = [ "include_dir", ] [[package]] name = "lingua-arabic-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46d908e1b4bbb45411497b5e079495873b30590afdb86fba356cdc6f35f1fa34" +checksum = "fea063b53093ebc05ba56130317a6cbe80723fa5d8da152fd5d7bc9b58450f19" dependencies = [ "include_dir", ] [[package]] name = "lingua-armenian-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87950905d52d5acbf718d7e020055c0a8705e2b965fcdfcfdac5c8f13a8382c5" +checksum = "d9060db52a551fac2712b3f5051de8942716b4e1e2967856d864a956392d6ce3" dependencies = [ "include_dir", ] [[package]] name = "lingua-azerbaijani-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa65693c7e993ffdc08750ec0588109f6158994ced690a19ec47eb23042a2395" +checksum = "d68232a1eb939d251f9f3468996aec8184647eb35d5575280ff22f102a7334f6" dependencies = [ "include_dir", ] [[package]] name = "lingua-basque-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c21df2de808aaf10d1f760d4f94a46bdd1346821ddfa03aa41cbc28a254ef5a" +checksum = "bd8e0bf799ddf0fce013759fd77099c9a50360108b603b849cfe78820317efbe" dependencies = [ "include_dir", ] [[package]] name = "lingua-belarusian-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "924adbb7acf2028f004071d8258e82763763606a710a0622cdc53e4f0f2ebd43" +checksum = "65226128d55fa9be0128caddbca7f7866b242d793df0f2f20dd02c7f0c5aadf1" dependencies = [ "include_dir", ] [[package]] name = "lingua-bengali-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "efd2159d415e3865bc54764b882a8074380a941e828604532fe0ba2851249b60" +checksum = "47002195ac6aa3283986023a8d7384fd469b403af1093dff0a4abfa913ddfeea" dependencies = [ "include_dir", ] [[package]] name = "lingua-bokmal-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29624bab860ea44ca08a19d269734322f7605729bc269b3dea9e1baa9db7eac1" +checksum = "7e69a2e872f146246d05254884b17100c732d663c73422413f0dd5a65a351798" dependencies = [ "include_dir", ] [[package]] name = "lingua-bosnian-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5d5aff8d62516fc91cad40b41a19bcba9af4195c46c8a3b73b523cec3ae0a3d" +checksum = "6cf6b0e45c26c805eebc59b21856f7b4860146ec5e3984e6291d5bfc422c127c" dependencies = [ "include_dir", ] [[package]] name = "lingua-bulgarian-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45befcc2ac3b2e0afc96779606b5e1c7e572966d70a432273218e8ab24346053" +checksum = "a904551e986c5bd5f55ed832893aba0bba80315e4f06f3aed45b9d7c13c4328f" dependencies = [ "include_dir", ] [[package]] name = "lingua-catalan-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3ae2e5657a6122480fa939bdae70393b9ca9e18919a02537e33bdc85caac69f" +checksum = "099aaee95f04177b785bb791b603d53a8b0e3eda5eceef5c043633b0631457d7" dependencies = [ "include_dir", ] [[package]] name = "lingua-chinese-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b037cd47ffb61e2cd959012ed287e4e2686b69c1e29abb91fb95dc45316c88d5" +checksum = "f6015fe96965c7c4b1f1552931cfd993b710cc9c6a8f2b28655d79f20ad43092" dependencies = [ "include_dir", ] [[package]] name = "lingua-croatian-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0110429aa156b0776727f23668ec586f2f1a739f05cd5dc3be0056aa5ef2e85" +checksum = "d1c07a2adaf7ee6986bcbf40d2787873e46c400fd103babc6427f506123e21e5" dependencies = [ "include_dir", ] [[package]] name = "lingua-czech-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46fb6bd0545c63684b5044d57a98aa16115904dd6b7c7de650c8a15ee3b884db" +checksum = "cd8daaec821d88775d247154dd75962a3a5daf83dacae0e40aa33718c310e46e" dependencies = [ "include_dir", ] [[package]] name = "lingua-danish-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2d186b19795155b7699732115e55f4d792fd75b9ae23ca4de51d74f07d8f2a8" +checksum = "04af91fa8c79572331842d111ba3ca75f785925dc3b144957c1cce7d1c5f728c" dependencies = [ "include_dir", ] [[package]] name = "lingua-dutch-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea11b836e3b3321d393b1f3a9d027d37270b302d5ca4bb232f095c9f3ad18178" +checksum = "ae4a303904373d2b5d8165c579a3cd01dc0f2c11cfbeef73ff941c64c09e27f5" dependencies = [ "include_dir", ] [[package]] name = "lingua-english-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6af66c5d97bbf48589531b40c237eb15e879d55101b73d23ce12d95eff565a4d" +checksum = "aa6ba281afeb7f767fa6a08b0e10eedc45944eb3a7994fa4dd49fdcc0c3981b2" dependencies = [ "include_dir", ] [[package]] name = "lingua-esperanto-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b37315aafae3ae8b5222f0d54a34d1d8380e44f20728303083f831e68797232" +checksum = "b60ed4f4bfeef65890f9fa17c937b8258c12d1060bda4779a7b09555f67d7727" dependencies = [ "include_dir", ] [[package]] name = "lingua-estonian-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a311f11b0840e8cd54a05738e8fb822cc3329cb311d20250db957ab1f2fd703b" +checksum = "b2a95a66f981f6d3b09ec69b78ea3ef30e861c4380d7a1940a27380d053353cc" dependencies = [ "include_dir", ] [[package]] name = "lingua-finnish-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9815346d742425dce8a93e17154e41483bc74a116899d90e94fe451abcf37e6e" +checksum = "90657afd99b586d8c2ad2229e3de62a79cc7d631fbdcd6e148056b8363364caa" dependencies = [ "include_dir", ] [[package]] name = "lingua-french-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e177999ddbac990e6d854a2558f86a8ff86817c50713821b98c3c15a7ef01cb0" +checksum = "b41d3ef75e2c6b4c363feabe66c34409add33bc04eeed48a06b1e196d9700d85" dependencies = [ "include_dir", ] [[package]] name = "lingua-ganda-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9cd3cc37e14a526f7c5d3b6b676bd5412468d31ebacfeb39dafc704067b162c" +checksum = "fdb4c076bafdf27a59c35a58d0fa8067fa2dd048ee0a5e7ff1fd8db725ce986b" dependencies = [ "include_dir", ] [[package]] name = "lingua-georgian-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f712a0cc69df37d6a9d0e5cea57dfee4c4a680e115c78bff17ff4fcc4ecdfb48" +checksum = "647526a2b32d1e095dd23e3666a3104f3e69a0fe2f44dc0e904272dedfb0f189" dependencies = [ "include_dir", ] [[package]] name = "lingua-german-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e47ed93155de892be3f2409102d73b118fd9a20a83bbd070288ce39fdd898ab0" +checksum = "b878b826926f260313afb4568f10f87c1e55a2c32640f30ee127a83d87fcc115" dependencies = [ "include_dir", ] [[package]] name = "lingua-greek-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c3c7320686fac85a869a14fb0b4b170d3e085b43801b616cc541288b89b401d" +checksum = "1c8f219cd4249326196eded87d284be6a1b12542b0d178a62b293e52e79b4095" dependencies = [ "include_dir", ] [[package]] name = "lingua-gujarati-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ef9abf275f36164b7a6b818a67766c7bd177b0c72980695a920667274e90a3f" +checksum = "2343159f19ef0b398e1390a6c829a5280c295349d44d171bd85ba909c5e793a2" dependencies = [ "include_dir", ] [[package]] name = "lingua-hebrew-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92d495140814c813b0712754e1c9ed6f5806531347839517be3ab93d63a072ef" +checksum = "26beada9b9791a8bb5fa1ef7715e1df182c8c5abdc88731b3d4afed7f9dced4e" dependencies = [ "include_dir", ] [[package]] name = "lingua-hindi-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f68821fbf8431ee997152201f90c04995f2512f51849bedce8551648167a2d1" +checksum = "30699440ee47c7b91cb2e0631985f05c225460f1e319a8136ca72a97c0bf5a84" dependencies = [ "include_dir", ] [[package]] name = "lingua-hungarian-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6603cd5841a82df06bc5f126c52f5ab26b1aee8126f06400153febe1ea914dd8" +checksum = "1b048a1f8d446c0ecd73f16b14d8e7e66a16cd0382fd5baafa4e6a5bd5ea99e2" dependencies = [ "include_dir", ] [[package]] name = "lingua-icelandic-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f697d66bb2b5170ccff2c4162ac5fc7c55b8ef72ba8d4e7cbb62220a58b51aa" +checksum = "8129d934943bc989aa60371e2f1ff315d17a1129f2dc2a2096650921d296fe98" dependencies = [ "include_dir", ] [[package]] name = "lingua-indonesian-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6e4f83268277d71a39a25ad676bb22971fe8f476bf1baaa7f9e86e68ee3e77a" +checksum = "ee4ed10b915f8b29156adfa26ac33f64a77ea86d235ff83dc52b22384e78891e" dependencies = [ "include_dir", ] [[package]] name = "lingua-irish-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02224904ee01a4c26a64e41f1f4afa0d34d2f4f1e6ceb1990df5fc6d7db1b488" +checksum = "592fee9f34d0fcd24fd171d5320031606626304d40f860ce87532ad7830022a0" dependencies = [ "include_dir", ] [[package]] name = "lingua-italian-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "991d840c4eae9501056d616beb0f9c9d8f93587fc12c03d4264d18f31d44b8a4" +checksum = "24cec9eab6c9c137ef348c173da12bed857dd9d4d3fce8972de6d5ee80ca41ae" dependencies = [ "include_dir", ] [[package]] name = "lingua-japanese-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05298b2a9d55574b4182ea3d3a1380a39e14e4538abde88d0c7a29fc7fa1ff96" +checksum = "3d00bd26e2de75e813a1e9f204d047aae469f6d451b65773407f52422c780929" dependencies = [ "include_dir", ] [[package]] name = "lingua-kazakh-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b3b1b3c9bda14c342db7c9602535dba6217437903149e7f05cd2a1ca1e11390" +checksum = "21da0ab799a77a6221f86c15227eb95fe3e092d2a31263f276a4c9aa43b75786" dependencies = [ "include_dir", ] [[package]] name = "lingua-korean-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ea966fffc8db18da7602cf1689dabf7727290651f0aff2c0b3c08c27c6a87f6" +checksum = "fa37965f7449f2c731d830aab18d2a528b920befbb6e4405772d92d539242a0b" dependencies = [ "include_dir", ] [[package]] name = "lingua-latin-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50274e1e23cd159339c4921a5e1e105df708867aa1839665dd0131923033a936" +checksum = "c48bace6da840f1a2627878219c0fa50d629d02add35e3561e5c75006b54d4b1" dependencies = [ "include_dir", ] [[package]] name = "lingua-latvian-language-model" -version = "1.0.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61a8937c89845999b86b84d8c8049538e21dcea59b88e0cc6b3e1d4ef6695d6e" +checksum = "5fe0b49052fa9399bc70ccaf820c13fd514f132a027f966d7df5be2eba504e1f" dependencies = [ "include_dir", ] [[package]] name = "lingua-lithuanian-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a2fd16ef3da9458cb4fc2ac965eb8d826339d5c7a1f22da4e4b719e839ec7cf" +checksum = "1ccfd1a636365e72433a7ca43bb32e5acc8b5e239919747a89d6afca9d60d7cb" dependencies = [ "include_dir", ] [[package]] name = "lingua-macedonian-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7e128428caf3d8c19dd6a202e8bb48bbf1fa54f3a1232818eacefbc8ed61b77" +checksum = "45db07681c6c72683a83fa97288135dd1ed090db0d1fefd563d01b49428183db" dependencies = [ "include_dir", ] [[package]] name = "lingua-malay-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b480183f7878104579bce8f944a6186f76667fc751c9d035c82739a6d543d1e" +checksum = "15efc930c9b3bce23b261527faf6cf8f3819f0f91c573760d7327d2f11a183e5" dependencies = [ "include_dir", ] [[package]] name = "lingua-maori-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ec64006beea55087a2f8be8c0d4ad7f8dd7e5ee5df2b64397059375ea5946a0" +checksum = "e517b2bf83f7cbd3cdc3b1603899612a71a54d830dd96be63b082ebab7dea000" dependencies = [ "include_dir", ] [[package]] name = "lingua-marathi-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34e83af4fdca48bb6965537de209714a5eb61f452c505ffd6301984b776ecb3e" +checksum = "88462495f40ddd18c4e05fe6d067351e1337ddab8ae7fd7eba39b89630809367" dependencies = [ "include_dir", ] [[package]] name = "lingua-mongolian-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fb8b048234a19eea6276524d8fa656ff655cacd62b3b27f8669447d95384d96" +checksum = "82ca6a89a7500525d2ec5e24a7ee7ed1cb93cda4116a3ac2a3cabe689ff03951" dependencies = [ "include_dir", ] [[package]] name = "lingua-nynorsk-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b868e634e74e053e31b55feccf076b556920b2440420e771cce7e91a8f52f1e" +checksum = "445d81e0d9b171c23eb8b8c37660dc6594d0bee801f5d0789cd7db17ceef58fe" dependencies = [ "include_dir", ] [[package]] name = "lingua-persian-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2695ea52effa2bdf5a31ea0f4794c593716faf9058625acdfe299e70c5e5edb1" +checksum = "795011db21b24cd51ad7cec8b8fe1a2452b4c26451d1bb91737eeb3434f6b507" dependencies = [ "include_dir", ] [[package]] name = "lingua-polish-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "797befa535f082944449e5d9bfecef7f28139c005285fac57042eaac47d1751c" +checksum = "17673ac03a100e9df1588fcc8f7dba0124d2055f96d1169626e805cedb332205" dependencies = [ "include_dir", ] [[package]] name = "lingua-portuguese-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "349c578139767389c9f31501e4774eaedd3ac68508e031fcd4d9fc40772ebb5e" +checksum = "bfb604ee45a96a8be1c4b80776bf29399fcedc55b65912d28aa7e3ef726dda77" dependencies = [ "include_dir", ] [[package]] name = "lingua-punjabi-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdc90f84cceceebda87564feff53202c3da5f2523b8427ae085d5406ac44d5d7" +checksum = "41d9868ddd52a367dd2cd99eb135a328f2493631a03908894193bcf286d2a1d0" dependencies = [ "include_dir", ] [[package]] name = "lingua-romanian-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79926a1da01b02ca941e518142f4e83bd22045dee868956a6816f427916c5d6f" +checksum = "3645b4134f3aa7e756212ca5f3b79eb2acfda815aef9b35da15ae299c2423a76" dependencies = [ "include_dir", ] [[package]] name = "lingua-russian-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "806c496674a8a8c296a1c12d913c8cde26e6df509d58fc68e2a4e88743634e22" +checksum = "e2b092363a5834298cb7f1632c184f0877103fb88ad82bf6f07edcb871f0fd85" dependencies = [ "include_dir", ] [[package]] name = "lingua-serbian-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8538cf1dabf39c8ddcf24a6dac57405616524bf058bf67ee812861093684cc9f" +checksum = "9b4f19064a23062e81711d7cdc1feb6c51fad175ca3558cb0ad18af8324d0eb5" dependencies = [ "include_dir", ] [[package]] name = "lingua-shona-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12ab3212bb1057de6adc8e775bb9748e1407281137191dd857bf0e5b912a932f" +checksum = "3894f3c223ffc05b7a9f8aab860e61242eb7c63ad109c7c800e959a6879fe1e5" dependencies = [ "include_dir", ] [[package]] name = "lingua-slovak-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d94c9aad599e3b46e86651c0892b0cce44079fd5bf5d32a3086928f29dcaf710" +checksum = "150ccbde4f5e0c2ea3b4e50e5438918df0d54e14734478d59bd446b66efac561" dependencies = [ "include_dir", ] [[package]] name = "lingua-slovene-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5d0c2168b7ed7cc2b38ad0348e2624fdacbd9f792bfc5466ef5d5650a239a68" +checksum = "7991cf3a04fc61fe3b6624dd2077c46a5c2b321de4440a809b5efddb94e9a689" dependencies = [ "include_dir", ] [[package]] name = "lingua-somali-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aff7a23269ff393aceb08ac1ab7beaf7219adbe06348bf1c0b6f115a97ee5b2b" +checksum = "ccb563dc178d1642f94976e3b3e54f62fa4526c39ad80c4a9405dc7507baf52b" dependencies = [ "include_dir", ] [[package]] name = "lingua-sotho-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26aec32f794d1f9ebf2c6957c1ea8954fde8fb6eb5ed1f0cf9e245edf6321d55" +checksum = "00e2eadbac81290fe6af5ce634af3de635a2c66025e9774cb0843ae1660c0a0a" dependencies = [ "include_dir", ] [[package]] name = "lingua-spanish-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3cdc7e565899439c3594ae0b09f0bd84b1cc505925198d22f4b9be879315697c" +checksum = "4fa5ff519621176934e2edd0eb38bdc9ffe8f187e02acacc8c8102192d76f51e" dependencies = [ "include_dir", ] [[package]] name = "lingua-swahili-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1dfeb7158b9a36d56a9e9f686d594d0c36981855dd47b165f191e0d7261dbb17" +checksum = "19e9901282f3061f1ca137dc7e0187a982da23044be1176342e15770f0ce29a5" dependencies = [ "include_dir", ] [[package]] name = "lingua-swedish-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "344b89e68d155185388b4b6cc055c47abbfc707d4ec18f9ecdd90b5a352840b7" +checksum = "6c434ce21aefb3bc8d88d91235f806ac12406ed035dff36c284777b721f300c0" dependencies = [ "include_dir", ] [[package]] name = "lingua-tagalog-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1306a58c25984c0ba2702761510aae83686d04dcb7357f166ae6be130b9eddab" +checksum = "93bc8cf068b1ac4839263f9ded63106597178c53d4189a3d8c48f994fbd38e4c" dependencies = [ "include_dir", ] [[package]] name = "lingua-tamil-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66c198030032c5a5965f7e5068463a2f46b4ac9f2dbae71518ebd420dda227b7" +checksum = "d953994ec7e7bc80d5930bbb5ded5436a34f67734101a108d2b62c36a3a9310e" dependencies = [ "include_dir", ] [[package]] name = "lingua-telugu-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "747a35e5ccf1be1a4ffce93d70149bba9a601f619d23b9f7753c844e6d7c6c95" +checksum = "232aad872671ff53c50a96a91e5d1c886b191217adf41674b777f651fecef287" dependencies = [ "include_dir", ] [[package]] name = "lingua-thai-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5739ec3013371087f27b5dc2ae9edcb85d6e2e6a0bfb71ec1c40d88eea7ee245" +checksum = "c01dc8ced43c87d37c869528a353681a2bac9c393352e96b820f99120374dc93" dependencies = [ "include_dir", ] [[package]] name = "lingua-tsonga-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76c0cf56f92af8446ba848348a2af708f98eac5c06583a231d80c171efd87dab" +checksum = "d5990437427d9dee91f8d3f3059d6861dce98719022b8345cbd096043a45e242" dependencies = [ "include_dir", ] [[package]] name = "lingua-tswana-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c52c8a719fc0710ab89dcbfbccff50b79a59c0f3d8f275c401f425ce88ff0ed6" +checksum = "19fb235b7b05852f6bded0ffc1890b1da708f1490a41d1c41a417583e406dbf7" dependencies = [ "include_dir", ] [[package]] name = "lingua-turkish-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a831e6b5ec8531f27442b4bb215c376e0f6bff50032a4a66c64a6f7b6364a2e" +checksum = "f58513bff0ce9503eed82522dc65813370e0116c897c30703f66aa8894788373" dependencies = [ "include_dir", ] [[package]] name = "lingua-ukrainian-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9e4cb84bd93162d944f95565bbe20b42923ad21a5ee13f6d747f51ff5e6ab00" +checksum = "4c39f40906c186265e12458e73d46767a5211dfad25d5df538f15cee6c348782" dependencies = [ "include_dir", ] [[package]] name = "lingua-urdu-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dd630d40d46b447a2a0d81b65bdd33406f170f57319108f5055b4258022a4c7" +checksum = "984de2de71dda05cf0c09af752d0370dd8d2abffa25bee54749963918663406b" dependencies = [ "include_dir", ] [[package]] name = "lingua-vietnamese-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfd661dc338b0594c292026526b75a428b6d983c39f0e8c3aeb5244736a9f860" +checksum = "a9490c7234aed122e201e629af6854de5752bb879ff3f6ed5aa0ff65fa52fb5c" dependencies = [ "include_dir", ] [[package]] name = "lingua-welsh-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23e102068fb9b366cbb8a14ac5a49893dbb9a039b2f68e2f4a0aaf64c8dc2326" +checksum = "320df870ddd01919b4815e1a361d753ce1f77dd1abe8db10526ca9093af9f4b9" dependencies = [ "include_dir", ] [[package]] name = "lingua-xhosa-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8274fcb39e5dee3e5f95eea1d115e37581343c19d0f5708ceab96944571f5643" +checksum = "a4f5efd0a5cd523fa59d2051cb073b94f4c0ebe4653f6bbeb00e8bd2965be536" dependencies = [ "include_dir", ] [[package]] name = "lingua-yoruba-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c327b6025f92c772a671103d15abf96cf59453ed7ba82391e157b7db229b1eb9" +checksum = "e1db77f9689eb87a89eb715a212ac381f132cc92972f160b4e2c58fe1a2dacb3" dependencies = [ "include_dir", ] [[package]] name = "lingua-zulu-language-model" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b96ce52e94c61f1902344d63da4f3e29b5ebd3f6b239a8ccc499fcc08706801" +checksum = "4750bd5fe9fcb76c7626b6d267a930758509317947ab0931e7fe055c7c099403" dependencies = [ "include_dir", ] @@ -1055,11 +965,19 @@ dependencies = [ name = "lingua_nif" version = "0.1.0" dependencies = [ - "lazy_static", "lingua", "rustler", ] +[[package]] +name = "log" +version = "0.4.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6389c490849ff5bc16be905ae24bc913a9c8892e19b2341dbc175e14c341c2b8" +dependencies = [ + "cfg-if", +] + [[package]] name = "maplit" version = "1.0.2" @@ -1083,21 +1001,11 @@ dependencies = [ [[package]] name = "miniz_oxide" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "791daaae1ed6889560f8c4359194f56648355540573244a5448a83ba1ecc7435" -dependencies = [ - "adler32", -] - -[[package]] -name = "miniz_oxide" -version = "0.4.3" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f2d26ec3309788e423cfbf68ad1800f061638098d76a83681af979dc4eda19d" +checksum = "d2b29bd4bc3f33391105ebee3589c19197c4271e3e5a9ec9bfe8127eeff8f082" dependencies = [ "adler", - "autocfg", ] [[package]] @@ -1187,38 +1095,11 @@ dependencies = [ "libc", ] -[[package]] -name = "object" -version = "0.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d3b63360ec3cb337817c2dbd47ab4a0f170d285d8e5a2064600f3def1402397" - [[package]] name = "once_cell" -version = "1.7.2" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af8b08b04175473088b46763e51ee54da5f9a164bc162f615b91bc179dbf15a3" - -[[package]] -name = "pkg-config" -version = "0.3.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3831453b3449ceb48b6d9c7ad7c96d5ea673e9b470a1dc578c2ce6521230884c" - -[[package]] -name = "proc-macro-hack" -version = "0.5.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbf0c48bc1d91375ae5c3cd81e3722dff1abcf81a30960240640d223f59fe0e5" - -[[package]] -name = "proc-macro2" -version = "0.4.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759" -dependencies = [ - "unicode-xid 0.1.0", -] +checksum = "87f3e037eac156d1775da914196f0f37741a274155e34a0b7e427c35d2a2ecb9" [[package]] name = "proc-macro2" @@ -1226,16 +1107,7 @@ version = "1.0.24" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e0704ee1a7e00d7bb417d0770ea303c1bccbabf0ef1667dae92b5967f5f8a71" dependencies = [ - "unicode-xid 0.2.1", -] - -[[package]] -name = "quote" -version = "0.6.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1" -dependencies = [ - "proc-macro2 0.4.30", + "unicode-xid", ] [[package]] @@ -1244,7 +1116,7 @@ version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "aa563d17ecb180e500da1cfd2b028310ac758de548efdd203e18f283af693f37" dependencies = [ - "proc-macro2 1.0.24", + "proc-macro2", ] [[package]] @@ -1289,45 +1161,45 @@ version = "0.6.25" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b" -[[package]] -name = "rustc-demangle" -version = "0.1.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e3bad0ee36814ca07d7968269dd4b7ec89ec2da10c4bb613928d3077083c232" - [[package]] name = "rustler" -version = "0.21.1" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "533dc3379a0f166749ce262a941e9b52ce19c3208729fc6b6cce76aea76d939b" +checksum = "c3e6617fa86bacfb2de792c12e261e0f456bb9ff15038498ae421715bf4128c5" dependencies = [ "lazy_static", "rustler_codegen", "rustler_sys", - "which", ] [[package]] name = "rustler_codegen" -version = "0.21.1" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a21563a1c4b02773f5c6dce723630c9998694258ff4d67bd6025ba057a29b51c" +checksum = "05cda738bc4260019ee078a699fac55ce3577fe2db736b2cc64a4d6696950fa6" dependencies = [ "heck", - "proc-macro2 0.4.30", - "quote 0.6.13", - "syn 0.15.44", + "proc-macro2", + "quote", + "syn", ] [[package]] name = "rustler_sys" -version = "2.1.0" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fb96034ff33723615fd19223d58c987c1f6476342e83557a6e467ef95f83bda" +checksum = "3ff26a42e62d538f82913dd34f60105ecfdffbdb25abdc3c3580b0c622285332" dependencies = [ + "regex", "unreachable", ] +[[package]] +name = "rustversion" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2cc38e8fa666e2de3c4aba7edeb5ffc5246c1c2ed0e3d17e560aeeba736b23f" + [[package]] name = "ryu" version = "1.0.5" @@ -1355,9 +1227,9 @@ version = "1.0.126" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "963a7dbc9895aeac7ac90e74f34a5d5261828f79df35cbed41e10189d3804d43" dependencies = [ - "proc-macro2 1.0.24", - "quote 1.0.7", - "syn 1.0.60", + "proc-macro2", + "quote", + "syn", ] [[package]] @@ -1373,87 +1245,34 @@ dependencies = [ [[package]] name = "strum" -version = "0.21.0" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aaf86bbcfd1fa9670b7a129f64fc0c9fcbbfe4f1bc4210e9e98fe71ffc12cde2" +checksum = "e96acfc1b70604b8b2f1ffa4c57e59176c7dbb05d556c71ecd2f5498a1dee7f8" [[package]] name = "strum_macros" -version = "0.21.1" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d06aaeeee809dbc59eb4556183dd927df67db1540de5be8d3ec0b6636358a5ec" +checksum = "6878079b17446e4d3eba6192bb0a2950d5b14f0ed8424b852310e5a94345d0ef" dependencies = [ "heck", - "proc-macro2 1.0.24", - "quote 1.0.7", - "syn 1.0.60", -] - -[[package]] -name = "syn" -version = "0.15.44" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5" -dependencies = [ - "proc-macro2 0.4.30", - "quote 0.6.13", - "unicode-xid 0.1.0", + "proc-macro2", + "quote", + "rustversion", + "syn", ] [[package]] name = "syn" -version = "1.0.60" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c700597eca8a5a762beb35753ef6b94df201c81cca676604f547495a0d7f0081" -dependencies = [ - "proc-macro2 1.0.24", - "quote 1.0.7", - "unicode-xid 0.2.1", -] - -[[package]] -name = "thiserror" -version = "1.0.22" +version = "1.0.67" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e9ae34b84616eedaaf1e9dd6026dbe00dcafa92aa0c8077cb69df1fcfe5e53e" +checksum = "6498a9efc342871f91cc2d0d694c674368b4ceb40f62b65a7a08c3792935e702" dependencies = [ - "thiserror-impl", + "proc-macro2", + "quote", + "unicode-xid", ] -[[package]] -name = "thiserror-impl" -version = "1.0.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ba20f23e85b10754cd195504aebf6a27e2e6cbe28c17778a0c930724628dd56" -dependencies = [ - "proc-macro2 1.0.24", - "quote 1.0.7", - "syn 1.0.60", -] - -[[package]] -name = "time" -version = "0.1.44" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6db9e6914ab8b1ae1c260a4ae7a49b6c5611b40328a735b21862567685e73255" -dependencies = [ - "libc", - "wasi", - "winapi", -] - -[[package]] -name = "unicode-segmentation" -version = "1.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb0d2e7be6ae3a5fa87eed5fb451aff96f2573d2694942e40543ae0bbe19c796" - -[[package]] -name = "unicode-xid" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc" - [[package]] name = "unicode-xid" version = "0.2.1" @@ -1476,53 +1295,69 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" [[package]] -name = "wasi" -version = "0.10.0+wasi-snapshot-preview1" +name = "wasm-bindgen" +version = "0.2.80" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f" +checksum = "27370197c907c55e3f1a9fbe26f44e937fe6451368324e009cba39e139dc08ad" +dependencies = [ + "cfg-if", + "serde", + "serde_json", + "wasm-bindgen-macro", +] [[package]] -name = "which" -version = "2.0.1" +name = "wasm-bindgen-backend" +version = "0.2.80" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b57acb10231b9493c8472b20cb57317d0679a49e0bdbee44b3b803a6473af164" +checksum = "53e04185bfa3a779273da532f5025e33398409573f348985af9a1cbf3774d3f4" dependencies = [ - "failure", - "libc", + "bumpalo", + "lazy_static", + "log", + "proc-macro2", + "quote", + "syn", + "wasm-bindgen-shared", ] [[package]] -name = "winapi" -version = "0.3.9" +name = "wasm-bindgen-macro" +version = "0.2.80" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" +checksum = "17cae7ff784d7e83a2fe7611cfe766ecf034111b49deb850a3dc7699c08251f5" dependencies = [ - "winapi-i686-pc-windows-gnu", - "winapi-x86_64-pc-windows-gnu", + "quote", + "wasm-bindgen-macro-support", ] [[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" +name = "wasm-bindgen-macro-support" +version = "0.2.80" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" +checksum = "99ec0dc7a4756fffc231aab1b9f2f578d23cd391390ab27f952ae0c9b3ece20b" +dependencies = [ + "proc-macro2", + "quote", + "syn", + "wasm-bindgen-backend", + "wasm-bindgen-shared", +] [[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" +name = "wasm-bindgen-shared" +version = "0.2.80" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" +checksum = "d554b7f530dee5964d9a9468d95c1f8b8acae4f282807e7d27d4b03099a46744" [[package]] name = "zip" -version = "0.5.12" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c83dc9b784d252127720168abd71ea82bf8c3d96b17dc565b5e2a02854f2b27" +checksum = "bf225bcf73bb52cbb496e70475c7bd7a3f769df699c0020f6c7bd9a96dcf0b8d" dependencies = [ "byteorder", - "bzip2", "crc32fast", + "crossbeam-utils", "flate2", - "thiserror", - "time", ] diff --git a/native/lingua_nif/Cargo.toml b/native/lingua_nif/Cargo.toml index 9a85256..2634a37 100644 --- a/native/lingua_nif/Cargo.toml +++ b/native/lingua_nif/Cargo.toml @@ -10,6 +10,5 @@ name = "lingua_nif" path = "src/lib.rs" [dependencies] -lazy_static = "1.4" -lingua = "1.2.2" -rustler = "0.21.1" +lingua = "1.4.0" +rustler = "0.25.0"