From 96ae3a5d636d3e4a498d90ced83b09013c7d7cc8 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Wed, 6 Dec 2023 13:15:45 +1000 Subject: [PATCH] Update to latest fsrs-rs The extra entries in Cargo.lock and licenses.json are mostly spurious, and caused by https://github.com/tracel-ai/burn/pull/1025#issuecomment-1842006690 --- .deny.toml | 2 +- Cargo.lock | 1660 ++++++++++++++++++++-- Cargo.toml | 2 +- cargo/licenses.json | 1270 ++++++++++++++++- rslib/src/scheduler/answering/mod.rs | 6 +- rslib/src/scheduler/fsrs/error.rs | 8 + rslib/src/scheduler/fsrs/memory_state.rs | 81 +- 7 files changed, 2769 insertions(+), 260 deletions(-) diff --git a/.deny.toml b/.deny.toml index e0ece6eb4..523414296 100644 --- a/.deny.toml +++ b/.deny.toml @@ -54,7 +54,7 @@ unknown-git = "warn" allow-registry = ["https://github.com/rust-lang/crates.io-index"] [sources.allow-org] -github = ["ankitects"] +github = ["ankitects", "open-spaced-repetition"] [bans] multiple-versions = "warn" diff --git a/Cargo.lock b/Cargo.lock index 557865ae9..d4158e926 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -17,6 +17,17 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" +[[package]] +name = "aes" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac1f845298e95f983ff1944b728ae08b8cebab80d684f0a832ed0fc74dfa27e2" +dependencies = [ + "cfg-if", + "cipher", + "cpufeatures", +] + [[package]] name = "ahash" version = "0.8.6" @@ -153,10 +164,10 @@ dependencies = [ "unicase", "unicode-normalization", "utime", - "windows", + "windows 0.52.0", "wiremock", "zip", - "zstd", + "zstd 0.13.0", ] [[package]] @@ -258,30 +269,30 @@ checksum = "7079075b41f533b8c61d2a4d073c4676e1f8b249ff94a393b0595db304e0dd87" [[package]] name = "anstyle-parse" -version = "0.2.2" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "317b9a89c1868f5ea6ff1d9539a69f45dffc21ce321ac1fd1160dfa48c8e2140" +checksum = "c75ac65da39e5fe5ab759307499ddad880d724eed2f6ce5b5e8a26f4f387928c" dependencies = [ "utf8parse", ] [[package]] name = "anstyle-query" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ca11d4be1bab0c8bc8734a9aa7bf4ee8316d462a08c6ac5052f888fef5b494b" +checksum = "a3a318f1f38d2418400f8209655bfd825785afd25aa30bb7ba6cc792e4596748" dependencies = [ - "windows-sys", + "windows-sys 0.52.0", ] [[package]] name = "anstyle-wincon" -version = "3.0.1" +version = "3.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0699d10d2f4d628a98ee7b57b289abbc98ff3bad977cb3152709d4bf2330628" +checksum = "1cd54b81ec8d6180e24654d0b371ad22fc3dd083b6ff8ba325b72e00c87660a7" dependencies = [ "anstyle", - "windows-sys", + "windows-sys 0.52.0", ] [[package]] @@ -314,6 +325,15 @@ version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" +[[package]] +name = "ash" +version = "0.37.3+1.3.251" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39e9c3835d686b0a6084ab4234fcd1b07dbf6e4767dce60874b12356a25ecd4a" +dependencies = [ + "libloading 0.7.4", +] + [[package]] name = "assert-json-diff" version = "2.0.2" @@ -345,8 +365,8 @@ dependencies = [ "memchr", "pin-project-lite", "tokio", - "zstd", - "zstd-safe", + "zstd 0.13.0", + "zstd-safe 7.0.0", ] [[package]] @@ -490,6 +510,12 @@ version = "0.21.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "35636a1494ede3b646cc98f74f8e62c773a38a659ebc777a2cf26b9b74171df9" +[[package]] +name = "base64ct" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" + [[package]] name = "bincode" version = "2.0.0-rc.3" @@ -499,6 +525,27 @@ dependencies = [ "serde", ] +[[package]] +name = "bit-set" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0700ddab506f33b20a03b13996eccd309a48e5ff77d0d95926aa0210fb4e95f1" +dependencies = [ + "bit-vec", +] + +[[package]] +name = "bit-vec" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb" + +[[package]] +name = "bit_field" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc827186963e592360843fb5ba4b973e145841266c1357f7180c43526f2e5b61" + [[package]] name = "bitflags" version = "1.3.2" @@ -521,9 +568,15 @@ dependencies = [ "arrayvec", "cc", "cfg-if", - "constant_time_eq", + "constant_time_eq 0.3.0", ] +[[package]] +name = "block" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d8c1fef690941d3e7788d328517591fecc684c084084702d6ff1641e993699a" + [[package]] name = "block-buffer" version = "0.10.4" @@ -561,9 +614,9 @@ checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" [[package]] name = "burn" -version = "0.10.0" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e06bb3dfa90408228c879224e26a8bbf072aa2a68194c9b512f715624525c7cc" +checksum = "d5008368c07b8ffc5c8bde2ebf31b59bdd263fdd825152bd0a9d333a220ba44f" dependencies = [ "burn-core", "burn-train", @@ -571,9 +624,9 @@ dependencies = [ [[package]] name = "burn-autodiff" -version = "0.10.0" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b20c3ba4141da32bbcc48a4ce33a0fbf09742dfb6f17d6e781f27e076bf06d82" +checksum = "176a12ffd413ba2bfafa2b4ed1e2a21d7880b67a1ac3a9bb4919c9c0f102cdd7" dependencies = [ "burn-common", "burn-tensor", @@ -583,10 +636,22 @@ dependencies = [ ] [[package]] -name = "burn-common" -version = "0.10.0" +name = "burn-candle" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ce227728da80c4c7f932e66900d285ff6e04b815d77d769fd2ade463acb0d52" +checksum = "ce2556eb085f2ef1cd8d0d6d932f8a64f529c5d0487ea7e4a868fe6a65e3d892" +dependencies = [ + "burn-tensor", + "candle-core", + "derive-new", + "half 2.3.1", +] + +[[package]] +name = "burn-common" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7dcb7947986d5420a9126959a5f16675f2d7b822bacc60a966fcfcf5a7dbd247" dependencies = [ "async-trait", "derive-new", @@ -597,22 +662,39 @@ dependencies = [ ] [[package]] -name = "burn-core" -version = "0.10.0" +name = "burn-compute" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbbeb7c07436e89d3b7e2445198f5d4142255bf74564eb4dc6cb9898f00d2da5" +checksum = "08dfd31ce4d27c64358991c23a26d8aaa2d9cb0f8517c7e79d01f2fe8d6c1eb0" +dependencies = [ + "burn-common", + "derive-new", + "hashbrown 0.14.3", + "log", + "spin 0.9.8", +] + +[[package]] +name = "burn-core" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2067024ff50b21e29e6835a7cc8189046024fc7c174f1d2d635a4955c5151fe5" dependencies = [ "bincode", "burn-autodiff", + "burn-candle", "burn-common", "burn-dataset", "burn-derive", + "burn-fusion", "burn-ndarray", + "burn-tch", "burn-tensor", + "burn-wgpu", "derive-new", "flate2", "half 2.3.1", - "hashbrown", + "hashbrown 0.14.3", "libm", "log", "rand 0.8.5", @@ -624,18 +706,24 @@ dependencies = [ [[package]] name = "burn-dataset" -version = "0.10.0" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c7f12f9a55e82d327384e20c394c79e5a414b245fe59c37346e7a98234d1707" +checksum = "a9f3481ac13ad69279d4922cf17866aa99841b76db49d9a7915a7521d772a345" dependencies = [ "csv", "derive-new", "dirs", + "gix-tempfile", + "image", + "r2d2", + "r2d2_sqlite", "rand 0.8.5", "rmp-serde", + "rusqlite", "sanitize-filename", "serde", "serde_json", + "serde_rusqlite", "strum", "strum_macros", "tempfile", @@ -644,9 +732,9 @@ dependencies = [ [[package]] name = "burn-derive" -version = "0.10.0" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0726d6006ab4f1c65b37b079a8663ad168110976fb57234764495ed8c49a94b6" +checksum = "d44415ff69a525b49272a5ed893655441834f9ee6cac3ffe2b2387326042d8fc" dependencies = [ "derive-new", "proc-macro2", @@ -655,10 +743,23 @@ dependencies = [ ] [[package]] -name = "burn-ndarray" -version = "0.10.0" +name = "burn-fusion" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0cbba6e5180a91a48e2e5da7e74107d82dae9cc94a772a73783eb1381dd71fa2" +checksum = "821663ff1f79865d6b0e998230683f72ff4351608770c07f91e39953e89fbec6" +dependencies = [ + "burn-common", + "burn-tensor", + "derive-new", + "hashbrown 0.14.3", + "spin 0.9.8", +] + +[[package]] +name = "burn-ndarray" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0448005c7ed6f1636ca0e12a148613fdd4d5739e1db8b241c7940140098f4fe3" dependencies = [ "burn-autodiff", "burn-common", @@ -674,16 +775,29 @@ dependencies = [ ] [[package]] -name = "burn-tensor" -version = "0.10.0" +name = "burn-tch" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4ddf687c9e2ddf235bb1528530b5e6c04601d4240aca78de6484fd01cc81e9f" +checksum = "197d7276dd95abe3872fdbdfedd091730700aef7d83542ecc9d20a015791d968" +dependencies = [ + "burn-tensor", + "half 2.3.1", + "libc", + "rand 0.8.5", + "tch", +] + +[[package]] +name = "burn-tensor" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60f8cf3d9588047b7d221c718b7208b829fdd1050150a69d069b66e1bb6e6cbb" dependencies = [ "burn-common", "burn-tensor-testgen", "derive-new", "half 2.3.1", - "hashbrown", + "hashbrown 0.14.3", "libm", "num-traits", "rand 0.8.5", @@ -693,20 +807,19 @@ dependencies = [ [[package]] name = "burn-tensor-testgen" -version = "0.10.0" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f92da000e738bcf20ec873d63c3b46ed4e0afa10fb14ea3133874886c0fb591f" +checksum = "a555a79ab0ab974e61aee15e62e87576ca47e7df768f68145754527d31633f87" dependencies = [ "proc-macro2", "quote", - "syn 2.0.39", ] [[package]] name = "burn-train" -version = "0.10.0" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7b6ae54075e0f4ea7da7d1e6b94fb84854aed912885a2a957e9ce1e18aae12a" +checksum = "eb7defef4e44f0780d25c0aaf4d55efc96fb726b3f5d60902da682a59692359d" dependencies = [ "burn-core", "derive-new", @@ -717,6 +830,49 @@ dependencies = [ "tracing-subscriber", ] +[[package]] +name = "burn-wgpu" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8676fa583cfa91db6f2ed26d8e42197fd378c15ed1e8a62c07286cb88f1971ec" +dependencies = [ + "burn-common", + "burn-compute", + "burn-tensor", + "bytemuck", + "derive-new", + "futures-intrusive", + "hashbrown 0.14.3", + "log", + "num-traits", + "pollster", + "rand 0.8.5", + "serde", + "spin 0.9.8", + "text_placeholder", + "wgpu", +] + +[[package]] +name = "bytemuck" +version = "1.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "374d28ec25809ee0e23827c2ab573d729e293f281dfe393500e7ad618baa61c6" +dependencies = [ + "bytemuck_derive", +] + +[[package]] +name = "bytemuck_derive" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "965ab7eb5f8f97d2a083c799f3a1b994fc397b2fe2da5d1da1626ce15a39f2b1" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.39", +] + [[package]] name = "byteorder" version = "1.5.0" @@ -729,12 +885,54 @@ version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" +[[package]] +name = "bzip2" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bdb116a6ef3f6c3698828873ad02c3014b3c85cadb88496095628e3ef1e347f8" +dependencies = [ + "bzip2-sys", + "libc", +] + +[[package]] +name = "bzip2-sys" +version = "0.1.11+1.0.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "736a955f3fa7875102d57c82b8cac37ec45224a07fd32d58f9f7a186b6cd4cdc" +dependencies = [ + "cc", + "libc", + "pkg-config", +] + [[package]] name = "camino" version = "1.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c59e92b5a388f549b863a7bea62612c09f24c8393560709a54558a9abdfb3b9c" +[[package]] +name = "candle-core" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d60d9b91c73bc662dc45aff607f5ffe79724b7cf7d7c8dc12a72b25921683b67" +dependencies = [ + "byteorder", + "gemm", + "half 2.3.1", + "memmap2", + "num-traits", + "num_cpus", + "rand 0.8.5", + "rand_distr", + "rayon", + "safetensors", + "thiserror", + "yoke", + "zip", +] + [[package]] name = "cast" version = "0.3.0" @@ -817,9 +1015,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.4.8" +version = "4.4.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2275f18819641850fa26c89acc84d465c1bf91ce57bc2748b28c420473352f64" +checksum = "bfaff671f6b22ca62406885ece523383b9b64022e341e53e009a62ebc47a45f2" dependencies = [ "clap_builder", "clap_derive", @@ -827,9 +1025,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.4.8" +version = "4.4.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07cdf1b148b25c1e1f7a42225e30a0d99a615cd4637eae7365548dd4529b95bc" +checksum = "a216b506622bb1d316cd51328dce24e07bdff4a6128a47c7e7fad11878d5adbb" dependencies = [ "anstream", "anstyle", @@ -898,6 +1096,12 @@ dependencies = [ "unicode-width", ] +[[package]] +name = "color_quant" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b" + [[package]] name = "colorchoice" version = "1.0.0" @@ -905,10 +1109,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" [[package]] -name = "concurrent-queue" -version = "2.3.0" +name = "com-rs" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f057a694a54f12365049b0958a1685bb52d567f5593b355fbf685838e873d400" +checksum = "bf43edc576402991846b093a7ca18a3477e0ef9c588cde84964b5d3e43016642" + +[[package]] +name = "concurrent-queue" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d16048cd947b08fa32c24458a22f5dc5e835264f689f4f5653210c69fd107363" dependencies = [ "crossbeam-utils", ] @@ -922,6 +1132,12 @@ dependencies = [ "ninja_gen", ] +[[package]] +name = "constant_time_eq" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" + [[package]] name = "constant_time_eq" version = "0.3.0" @@ -939,9 +1155,9 @@ dependencies = [ [[package]] name = "core-foundation" -version = "0.9.3" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "194a7a9e6de53fa55116934067c844d9d749312f75c6f6d0980e8c252f8c2146" +checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f" dependencies = [ "core-foundation-sys", "libc", @@ -949,9 +1165,20 @@ dependencies = [ [[package]] name = "core-foundation-sys" -version = "0.8.4" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e496a50fda8aacccc86d7529e2c1e0892dbd0f898a6b5645b5561b89c3210efa" +checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" + +[[package]] +name = "core-graphics-types" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "45390e6114f68f718cc7a830514a96f903cccd70d02a8f6d9f643ac4ba45afaf" +dependencies = [ + "bitflags 1.3.2", + "core-foundation", + "libc", +] [[package]] name = "cpufeatures" @@ -1087,6 +1314,30 @@ dependencies = [ "memchr", ] +[[package]] +name = "d3d12" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e16e44ab292b1dddfdaf7be62cfd8877df52f2f3fde5858d95bab606be259f20" +dependencies = [ + "bitflags 2.4.1", + "libloading 0.8.1", + "winapi", +] + +[[package]] +name = "dashmap" +version = "5.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856" +dependencies = [ + "cfg-if", + "hashbrown 0.14.3", + "lock_api", + "once_cell", + "parking_lot_core", +] + [[package]] name = "data-encoding" version = "2.5.0" @@ -1114,9 +1365,9 @@ checksum = "63dfa964fe2a66f3fde91fc70b267fe193d822c7e603e2a675a49a7f46ad3f49" [[package]] name = "deranged" -version = "0.3.9" +version = "0.3.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f32d04922c60427da6f9fef14d042d9edddef64cb9d4ce0d64d0685fbeb1fd3" +checksum = "8eb30d70a07a3b04884d2677f06bec33509dc67ca60d92949e5535352d3191dc" dependencies = [ "powerfmt", ] @@ -1176,7 +1427,7 @@ dependencies = [ "libc", "option-ext", "redox_users", - "windows-sys", + "windows-sys 0.48.0", ] [[package]] @@ -1214,6 +1465,16 @@ version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "56ce8c6da7551ec6c462cbaf3bfbc75131ebbfa1c944aeaa9dab51ca1c5f0c3b" +[[package]] +name = "dyn-stack" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56e53799688f5632f364f8fb387488dd05db9fe45db7011be066fc20e7027f8b" +dependencies = [ + "bytemuck", + "reborrow", +] + [[package]] name = "either" version = "1.9.0" @@ -1271,12 +1532,12 @@ checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" [[package]] name = "errno" -version = "0.3.7" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f258a7194e7f7c2a7837a8913aeab7fd8c383457034fa20ce4dd3dcb813e8eb8" +checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245" dependencies = [ "libc", - "windows-sys", + "windows-sys 0.52.0", ] [[package]] @@ -1285,6 +1546,22 @@ version = "2.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" +[[package]] +name = "exr" +version = "1.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "279d3efcc55e19917fff7ab3ddd6c14afb6a90881a0078465196fe2f99d08c56" +dependencies = [ + "bit_field", + "flume 0.10.14", + "half 2.3.1", + "lebe", + "miniz_oxide", + "rayon-core", + "smallvec", + "zune-inflate", +] + [[package]] name = "fallible-iterator" version = "0.3.0" @@ -1297,6 +1574,15 @@ version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7360491ce676a36bf9bb3c56c1aa791658183a54d2744120f27285738d90465a" +[[package]] +name = "faster-hex" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "239f7bfb930f820ab16a9cd95afc26f88264cf6905c960b340a615384aa3338a" +dependencies = [ + "serde", +] + [[package]] name = "fastrand" version = "1.9.0" @@ -1313,15 +1599,33 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" [[package]] -name = "filetime" -version = "0.2.22" +name = "fdeflate" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4029edd3e734da6fe05b6cd7bd2960760a616bd2ddd0d59a0124746d6272af0" +checksum = "64d6dafc854908ff5da46ff3f8f473c6984119a2876a383a860246dd7841a868" +dependencies = [ + "simd-adler32", +] + +[[package]] +name = "filetime" +version = "0.2.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ee447700ac8aa0b2f2bd7bc4462ad686ba06baa6727ac149a2d6277f0d240fd" dependencies = [ "cfg-if", "libc", - "redox_syscall 0.3.5", - "windows-sys", + "redox_syscall", + "windows-sys 0.52.0", +] + +[[package]] +name = "find-crate" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59a98bbaacea1c0eb6a0876280051b892eb73594fd90cf3b20e9c817029c57d2" +dependencies = [ + "toml", ] [[package]] @@ -1395,6 +1699,31 @@ dependencies = [ "thiserror", ] +[[package]] +name = "flume" +version = "0.10.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1657b4441c3403d9f7b3409e47575237dac27b1b5726df654a6ecbf92f0f7577" +dependencies = [ + "futures-core", + "futures-sink", + "nanorand", + "pin-project", + "spin 0.9.8", +] + +[[package]] +name = "flume" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "55ac459de2512911e4b674ce33cf20befaba382d05b62b008afc1c8b57cbf181" +dependencies = [ + "futures-core", + "futures-sink", + "nanorand", + "spin 0.9.8", +] + [[package]] name = "fnv" version = "1.0.7" @@ -1407,7 +1736,28 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" dependencies = [ - "foreign-types-shared", + "foreign-types-shared 0.1.1", +] + +[[package]] +name = "foreign-types" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d737d9aa519fb7b749cbc3b962edcf310a8dd1f4b67c91c4f83975dbdd17d965" +dependencies = [ + "foreign-types-macros", + "foreign-types-shared 0.3.1", +] + +[[package]] +name = "foreign-types-macros" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a5c6c585bc94aaf2c7b51dd4c2ba22680844aba4c687be581871a6f518c5742" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.39", ] [[package]] @@ -1416,6 +1766,12 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" +[[package]] +name = "foreign-types-shared" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa9a19cbb55df58761df49b23516a86d432839add4af60fc256da840f66ed35b" + [[package]] name = "form_urlencoded" version = "1.2.1" @@ -1457,10 +1813,10 @@ dependencies = [ [[package]] name = "fsrs" version = "0.1.0" -source = "git+https://github.com/open-spaced-repetition/fsrs-rs.git?rev=96ae7fca09f17723ec514a1d633d36c3a09779f4#96ae7fca09f17723ec514a1d633d36c3a09779f4" +source = "git+https://github.com/open-spaced-repetition/fsrs-rs.git?rev=34570f396c86df857dd149921b9ed91c37993321#34570f396c86df857dd149921b9ed91c37993321" dependencies = [ "burn", - "itertools 0.11.0", + "itertools 0.12.0", "log", "ndarray", "ndarray-rand", @@ -1541,6 +1897,17 @@ dependencies = [ "futures-util", ] +[[package]] +name = "futures-intrusive" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d930c203dd0b6ff06e0201a4a2fe9149b43c684fd4420555b26d21b1a02956f" +dependencies = [ + "futures-core", + "lock_api", + "parking_lot", +] + [[package]] name = "futures-io" version = "0.3.29" @@ -1609,6 +1976,123 @@ dependencies = [ "slab", ] +[[package]] +name = "gemm" +version = "0.16.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b3afa707040531a7527477fd63a81ea4f6f3d26037a2f96776e57fb843b258e" +dependencies = [ + "dyn-stack", + "gemm-c32", + "gemm-c64", + "gemm-common", + "gemm-f16", + "gemm-f32", + "gemm-f64", + "num-complex", + "num-traits", + "paste", + "raw-cpuid", + "seq-macro", +] + +[[package]] +name = "gemm-c32" +version = "0.16.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1cc3973a4c30c73f26a099113953d0c772bb17ee2e07976c0a06b8fe1f38a57d" +dependencies = [ + "dyn-stack", + "gemm-common", + "num-complex", + "num-traits", + "paste", + "raw-cpuid", + "seq-macro", +] + +[[package]] +name = "gemm-c64" +version = "0.16.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "30362894b93dada374442cb2edf4512ddf19513c9bec88e06a445bcb6b22e64f" +dependencies = [ + "dyn-stack", + "gemm-common", + "num-complex", + "num-traits", + "paste", + "raw-cpuid", + "seq-macro", +] + +[[package]] +name = "gemm-common" +version = "0.16.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "988499faa80566b046b4fee2c5f15af55b5a20c1fe8486b112ebb34efa045ad6" +dependencies = [ + "bytemuck", + "dyn-stack", + "half 2.3.1", + "num-complex", + "num-traits", + "once_cell", + "paste", + "pulp", + "raw-cpuid", + "rayon", + "seq-macro", +] + +[[package]] +name = "gemm-f16" +version = "0.16.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6cf2854a12371684c38d9a865063a27661812a3ff5803454c5742e8f5a388ce" +dependencies = [ + "dyn-stack", + "gemm-common", + "gemm-f32", + "half 2.3.1", + "num-complex", + "num-traits", + "paste", + "raw-cpuid", + "rayon", + "seq-macro", +] + +[[package]] +name = "gemm-f32" +version = "0.16.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0bc84003cf6d950a7c7ca714ad6db281b6cef5c7d462f5cd9ad90ea2409c7227" +dependencies = [ + "dyn-stack", + "gemm-common", + "num-complex", + "num-traits", + "paste", + "raw-cpuid", + "seq-macro", +] + +[[package]] +name = "gemm-f64" +version = "0.16.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "35187ef101a71eed0ecd26fb4a6255b4192a12f1c5335f3a795698f2d9b6cf33" +dependencies = [ + "dyn-stack", + "gemm-common", + "num-complex", + "num-traits", + "paste", + "raw-cpuid", + "seq-macro", +] + [[package]] name = "generic-array" version = "0.14.7" @@ -1652,12 +2136,85 @@ dependencies = [ "wasm-bindgen", ] +[[package]] +name = "gif" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "80792593675e051cf94a4b111980da2ba60d4a83e43e0048c5693baab3977045" +dependencies = [ + "color_quant", + "weezl", +] + [[package]] name = "gimli" version = "0.28.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" +[[package]] +name = "gix-features" +version = "0.33.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f77decb545f63a52852578ef5f66ecd71017ffc1983d551d5fa2328d6d9817f" +dependencies = [ + "gix-hash", + "gix-trace", + "libc", +] + +[[package]] +name = "gix-fs" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53d5089f3338647776733a75a800a664ab046f56f21c515fa4722e395f877ef8" +dependencies = [ + "gix-features", +] + +[[package]] +name = "gix-hash" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d4796bac3aaf0c2f8bea152ca924ae3bdc5f135caefe6431116bcd67e98eab9" +dependencies = [ + "faster-hex", + "thiserror", +] + +[[package]] +name = "gix-tempfile" +version = "8.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cea558d3daf3b1d0001052b12218c66c8f84788852791333b633d7eeb6999db1" +dependencies = [ + "dashmap", + "gix-fs", + "libc", + "once_cell", + "parking_lot", + "signal-hook", + "signal-hook-registry", + "tempfile", +] + +[[package]] +name = "gix-trace" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96b6d623a1152c3facb79067d6e2ecdae48130030cf27d6eb21109f13bd7b836" + +[[package]] +name = "gl_generator" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a95dfc23a2b4a9a2f5ab41d194f8bfda3cabec42af4e39f08c339eb2a0c124d" +dependencies = [ + "khronos_api", + "log", + "xml-rs", +] + [[package]] name = "glob" version = "0.3.1" @@ -1677,6 +2234,80 @@ dependencies = [ "regex-syntax 0.8.2", ] +[[package]] +name = "glow" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "886c2a30b160c4c6fec8f987430c26b526b7988ca71f664e6a699ddf6f9601e4" +dependencies = [ + "js-sys", + "slotmap", + "wasm-bindgen", + "web-sys", +] + +[[package]] +name = "glutin_wgl_sys" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c8098adac955faa2d31079b65dc48841251f69efd3ac25477903fc424362ead" +dependencies = [ + "gl_generator", +] + +[[package]] +name = "gpu-alloc" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fbcd2dba93594b227a1f57ee09b8b9da8892c34d55aa332e034a228d0fe6a171" +dependencies = [ + "bitflags 2.4.1", + "gpu-alloc-types", +] + +[[package]] +name = "gpu-alloc-types" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "98ff03b468aa837d70984d55f5d3f846f6ec31fe34bbb97c4f85219caeee1ca4" +dependencies = [ + "bitflags 2.4.1", +] + +[[package]] +name = "gpu-allocator" +version = "0.23.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "40fe17c8a05d60c38c0a4e5a3c802f2f1ceb66b76c67d96ffb34bef0475a7fad" +dependencies = [ + "backtrace", + "log", + "presser", + "thiserror", + "winapi", + "windows 0.51.1", +] + +[[package]] +name = "gpu-descriptor" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc11df1ace8e7e564511f53af41f3e42ddc95b56fd07b3f4445d2a6048bc682c" +dependencies = [ + "bitflags 2.4.1", + "gpu-descriptor-types", + "hashbrown 0.14.3", +] + +[[package]] +name = "gpu-descriptor-types" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6bf0b36e6f090b7e1d8a4b49c0cb81c1f8376f72198c65dd3ad9ff3556b8b78c" +dependencies = [ + "bitflags 2.4.1", +] + [[package]] name = "h2" version = "0.3.22" @@ -1708,9 +2339,12 @@ version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bc52e53916c08643f1b56ec082790d1e86a32e58dc5268f897f313fbae7b4872" dependencies = [ + "bytemuck", "cfg-if", "crunchy", "num-traits", + "rand 0.8.5", + "rand_distr", "serde", ] @@ -1728,6 +2362,15 @@ dependencies = [ "thiserror", ] +[[package]] +name = "hashbrown" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" +dependencies = [ + "ahash", +] + [[package]] name = "hashbrown" version = "0.14.3" @@ -1745,7 +2388,22 @@ version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e8094feaf31ff591f651a2664fb9cfd92bba7a60ce3197265e9482ebe753c8f7" dependencies = [ - "hashbrown", + "hashbrown 0.14.3", +] + +[[package]] +name = "hassle-rs" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1397650ee315e8891a0df210707f0fc61771b0cc518c3023896064c5407cb3b0" +dependencies = [ + "bitflags 1.3.2", + "com-rs", + "libc", + "libloading 0.7.4", + "thiserror", + "widestring", + "winapi", ] [[package]] @@ -1790,6 +2448,12 @@ version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" +[[package]] +name = "hexf-parse" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dfa686283ad6dd069f105e5ab091b04c62850d3e4cf5d67debad1933f55023df" + [[package]] name = "hmac" version = "0.12.1" @@ -1805,7 +2469,7 @@ version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5444c27eef6923071f7ebcc33e3444508466a76f7a2b93da00ed6e19f30c1ddb" dependencies = [ - "windows-sys", + "windows-sys 0.48.0", ] [[package]] @@ -2004,6 +2668,25 @@ dependencies = [ "winapi-util", ] +[[package]] +name = "image" +version = "0.24.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f3dfdbdd72063086ff443e297b61695500514b1e41095b6fb9a5ab48a70a711" +dependencies = [ + "bytemuck", + "byteorder", + "color_quant", + "exr", + "gif", + "jpeg-decoder", + "num-rational", + "num-traits", + "png", + "qoi", + "tiff", +] + [[package]] name = "indexmap" version = "2.1.0" @@ -2011,7 +2694,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d530e1a18b1cb4c484e6e34556a0d948706958449fca0cab753d649f2bce3d1f" dependencies = [ "equivalent", - "hashbrown", + "hashbrown 0.14.3", ] [[package]] @@ -2104,7 +2787,7 @@ checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" dependencies = [ "hermit-abi", "rustix", - "windows-sys", + "windows-sys 0.48.0", ] [[package]] @@ -2150,10 +2833,19 @@ dependencies = [ ] [[package]] -name = "js-sys" -version = "0.3.65" +name = "jpeg-decoder" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54c0c35952f67de54bb584e9fd912b3023117cbafc0a77d8f3dee1fb5f572fe8" +checksum = "bc0000e42512c92e31c2252315bda326620a4e034105e900c98ec492fa077b3e" +dependencies = [ + "rayon", +] + +[[package]] +name = "js-sys" +version = "0.3.66" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cee9c64da59eae3b50095c18d3e74f8b73c0b86d2792824ff01bbce68ba229ca" dependencies = [ "wasm-bindgen", ] @@ -2168,6 +2860,23 @@ dependencies = [ "winapi", ] +[[package]] +name = "khronos-egl" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6aae1df220ece3c0ada96b8153459b67eebe9ae9212258bb0134ae60416fdf76" +dependencies = [ + "libc", + "libloading 0.8.1", + "pkg-config", +] + +[[package]] +name = "khronos_api" +version = "3.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2db585e1d738fc771bf08a151420d3ed193d9d895a36df7f6f8a9456b911ddc" + [[package]] name = "kqueue" version = "1.0.8" @@ -2194,12 +2903,38 @@ version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" +[[package]] +name = "lebe" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03087c2bad5e1034e8cace5926dec053fb3790248370865f5117a7d0213354c8" + [[package]] name = "libc" version = "0.2.150" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "89d92a4743f9a61002fae18374ed11e7973f530cb3a3255fb354818118b2203c" +[[package]] +name = "libloading" +version = "0.7.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f" +dependencies = [ + "cfg-if", + "winapi", +] + +[[package]] +name = "libloading" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c571b676ddfc9a8c12f1f3d3085a7b163966a8fd8098a90640953ce5f6170161" +dependencies = [ + "cfg-if", + "windows-sys 0.48.0", +] + [[package]] name = "libm" version = "0.2.8" @@ -2214,7 +2949,7 @@ checksum = "85c833ca1e66078851dba29046874e38f08b2c883700aa29a03ddd3b23814ee8" dependencies = [ "bitflags 2.4.1", "libc", - "redox_syscall 0.4.1", + "redox_syscall", ] [[package]] @@ -2287,9 +3022,9 @@ dependencies = [ [[package]] name = "linux-raw-sys" -version = "0.4.11" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "969488b55f8ac402214f3f5fd243ebb7206cf82de60d3172994707a4bcc2b829" +checksum = "c4cd1a83af159aa67994778be9070f0ae1bd732942279cabb14f86f986a21456" [[package]] name = "lock_api" @@ -2351,6 +3086,15 @@ dependencies = [ "walkdir", ] +[[package]] +name = "malloc_buf" +version = "0.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62bb907fe88d54d8d9ce32a3cceab4218ed2f6b7d35617cafe9adf84e43919cb" +dependencies = [ + "libc", +] + [[package]] name = "maplit" version = "1.0.2" @@ -2419,9 +3163,9 @@ dependencies = [ [[package]] name = "mdbook" -version = "0.4.35" +version = "0.4.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c3f88addd34930bc5f01b9dc19f780447e51c92bf2536e3ded058018271775d" +checksum = "80992cb0e05f22cc052c99f8e883f1593b891014b96a8b4637fd274d7030c85e" dependencies = [ "ammonia", "anyhow", @@ -2439,6 +3183,7 @@ dependencies = [ "notify-debouncer-mini", "once_cell", "opener", + "pathdiff", "pulldown-cmark 0.9.3", "regex", "serde", @@ -2457,6 +3202,16 @@ version = "2.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167" +[[package]] +name = "memmap2" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f49388d20533534cd19360ad3d6a7dadc885944aa802ba3995040c5ec11288c6" +dependencies = [ + "libc", + "stable_deref_trait", +] + [[package]] name = "memoffset" version = "0.9.0" @@ -2466,6 +3221,21 @@ dependencies = [ "autocfg", ] +[[package]] +name = "metal" +version = "0.27.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c43f73953f8cbe511f021b58f18c3ce1c3d1ae13fe953293e13345bf83217f25" +dependencies = [ + "bitflags 2.4.1", + "block", + "core-graphics-types", + "foreign-types 0.5.0", + "log", + "objc", + "paste", +] + [[package]] name = "mime" version = "0.3.17" @@ -2508,6 +3278,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7" dependencies = [ "adler", + "simd-adler32", ] [[package]] @@ -2519,7 +3290,7 @@ dependencies = [ "libc", "log", "wasi 0.11.0+wasi-snapshot-preview1", - "windows-sys", + "windows-sys 0.48.0", ] [[package]] @@ -2546,6 +3317,35 @@ version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" +[[package]] +name = "naga" +version = "0.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6cd05939c491da968a42986204b7431678be21fdcd4b10cc84997ba130ada5a4" +dependencies = [ + "bit-set", + "bitflags 2.4.1", + "codespan-reporting", + "hexf-parse", + "indexmap", + "log", + "num-traits", + "rustc-hash", + "spirv", + "termcolor", + "thiserror", + "unicode-xid", +] + +[[package]] +name = "nanorand" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a51313c5820b0b02bd422f4b44776fbf47961755c74ce64afc73bfad10226c3" +dependencies = [ + "getrandom 0.2.11", +] + [[package]] name = "native-tls" version = "0.2.11" @@ -2634,7 +3434,7 @@ version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec60c60a693226186f5d6edf073232bfb6464ed97eb22cf3b01c1e8198fd97f5" dependencies = [ - "windows-sys", + "windows-sys 0.48.0", ] [[package]] @@ -2653,16 +3453,17 @@ dependencies = [ "log", "mio", "walkdir", - "windows-sys", + "windows-sys 0.48.0", ] [[package]] name = "notify-debouncer-mini" -version = "0.3.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e55ee272914f4563a2f8b8553eb6811f3c0caea81c756346bad15b7e3ef969f0" +checksum = "5d40b221972a1fc5ef4d858a2f671fb34c75983eb385463dff3780eeff6a9d43" dependencies = [ "crossbeam-channel", + "log", "notify", ] @@ -2682,6 +3483,7 @@ version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1ba157ca0885411de85d6ca030ba7e2a83a28636056c7c699b07c8b6f7383214" dependencies = [ + "bytemuck", "num-traits", ] @@ -2705,6 +3507,17 @@ dependencies = [ "num-traits", ] +[[package]] +name = "num-rational" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0638a1c9d0a3c0914158145bc76cff373a75a627e6ecbfb71cbe6f453a5a19b0" +dependencies = [ + "autocfg", + "num-integer", + "num-traits", +] + [[package]] name = "num-traits" version = "0.2.17" @@ -2746,6 +3559,25 @@ dependencies = [ "syn 2.0.39", ] +[[package]] +name = "objc" +version = "0.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "915b1b472bc21c53464d6c8461c9d3af805ba1ef837e1cac254428f4a77177b1" +dependencies = [ + "malloc_buf", + "objc_exception", +] + +[[package]] +name = "objc_exception" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad970fb455818ad6cba4c122ad012fae53ae8b4795f86378bce65e4f6bab2ca4" +dependencies = [ + "cc", +] + [[package]] name = "object" version = "0.32.1" @@ -2780,13 +3612,13 @@ dependencies = [ [[package]] name = "openssl" -version = "0.10.60" +version = "0.10.61" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79a4c6c3a2b158f7f8f2a2fc5a969fa3a068df6fc9dbb4a43845436e3af7c800" +checksum = "6b8419dc8cc6d866deb801274bba2e6f8f6108c1bb7fcc10ee5ab864931dbb45" dependencies = [ "bitflags 2.4.1", "cfg-if", - "foreign-types", + "foreign-types 0.3.2", "libc", "once_cell", "openssl-macros", @@ -2812,9 +3644,9 @@ checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" [[package]] name = "openssl-sys" -version = "0.9.96" +version = "0.9.97" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3812c071ba60da8b5677cc12bcb1d42989a65553772897a7e0355545a819838f" +checksum = "c3eaad34cdd97d81de97964fc7f29e2d104f483840d906ef56daa1912338460b" dependencies = [ "cc", "libc", @@ -2835,7 +3667,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0ae859aa07428ca9a929b936690f8b12dc5f11dd8c6992a18ca93919f28bc177" dependencies = [ "libc", - "windows-sys", + "windows-sys 0.48.0", ] [[package]] @@ -2885,17 +3717,46 @@ checksum = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e" dependencies = [ "cfg-if", "libc", - "redox_syscall 0.4.1", + "redox_syscall", "smallvec", "windows-targets 0.48.5", ] +[[package]] +name = "password-hash" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7676374caaee8a325c9e7a2ae557f216c5563a171d6997b0ef8a65af35147700" +dependencies = [ + "base64ct", + "rand_core 0.6.4", + "subtle", +] + [[package]] name = "paste" version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" +[[package]] +name = "pathdiff" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8835116a5c179084a830efb3adc117ab007512b535bc1a21c991d3b32a6b44dd" + +[[package]] +name = "pbkdf2" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917" +dependencies = [ + "digest", + "hmac", + "password-hash", + "sha2", +] + [[package]] name = "pem" version = "1.1.1" @@ -3131,6 +3992,25 @@ dependencies = [ "plotters-backend", ] +[[package]] +name = "png" +version = "0.17.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd75bf2d8dd3702b9707cdbc56a5b9ef42cec752eb8b3bafc01234558442aa64" +dependencies = [ + "bitflags 1.3.2", + "crc32fast", + "fdeflate", + "flate2", + "miniz_oxide", +] + +[[package]] +name = "pollster" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22686f4785f02a4fcc856d3b3bb19bf6c8160d103f7a99cc258bddd0251dc7f2" + [[package]] name = "powerfmt" version = "0.2.0" @@ -3149,6 +4029,12 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c" +[[package]] +name = "presser" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e8cf8e6a8aa66ce33f63993ffc4ea4271eb5b0530a9002db8455ea6050c77bfa" + [[package]] name = "prettyplease" version = "0.2.15" @@ -3168,12 +4054,6 @@ dependencies = [ "toml_edit", ] -[[package]] -name = "proc-macro-hack" -version = "0.5.20+deprecated" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068" - [[package]] name = "proc-macro2" version = "1.0.70" @@ -3183,6 +4063,12 @@ dependencies = [ "unicode-ident", ] +[[package]] +name = "profiling" +version = "1.0.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f89dff0959d98c9758c88826cc002e2c3d0b9dfac4139711d1f30de442f1139b" + [[package]] name = "prost" version = "0.12.3" @@ -3272,6 +4158,18 @@ dependencies = [ "unicase", ] +[[package]] +name = "pulp" +version = "0.18.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16785ee69419641c75affff7c9fdbdb7c0ab26dc9a5fb5218c2a2e9e4ef2087d" +dependencies = [ + "bytemuck", + "libm", + "num-complex", + "reborrow", +] + [[package]] name = "pyo3" version = "0.20.0" @@ -3333,6 +4231,15 @@ dependencies = [ "syn 2.0.39", ] +[[package]] +name = "qoi" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f6d64c71eb498fe9eae14ce4ec935c555749aef511cca85b5568910d6e48001" +dependencies = [ + "bytemuck", +] + [[package]] name = "quick-xml" version = "0.31.0" @@ -3351,6 +4258,28 @@ dependencies = [ "proc-macro2", ] +[[package]] +name = "r2d2" +version = "0.8.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51de85fb3fb6524929c8a2eb85e6b6d363de4e8c48f9e2c2eac4944abc181c93" +dependencies = [ + "log", + "parking_lot", + "scheduled-thread-pool", +] + +[[package]] +name = "r2d2_sqlite" +version = "0.23.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4dc290b669d30e20751e813517bbe13662d020419c5c8818ff10b6e8bb7777f6" +dependencies = [ + "r2d2", + "rusqlite", + "uuid", +] + [[package]] name = "rand" version = "0.7.3" @@ -3432,6 +4361,27 @@ dependencies = [ "rand_core 0.5.1", ] +[[package]] +name = "range-alloc" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c8a99fddc9f0ba0a85884b8d14e3592853e787d581ca1816c91349b10e4eeab" + +[[package]] +name = "raw-cpuid" +version = "10.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c297679cb867470fa8c9f67dbba74a78d78e3e98d7cf2b08d6d71540f797332" +dependencies = [ + "bitflags 1.3.2", +] + +[[package]] +name = "raw-window-handle" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2ff9a1f06a88b01621b7ae906ef0211290d1c8a168a15542486a8f61c0833b9" + [[package]] name = "rawpointer" version = "0.2.1" @@ -3480,13 +4430,10 @@ dependencies = [ ] [[package]] -name = "redox_syscall" -version = "0.3.5" +name = "reborrow" +version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" -dependencies = [ - "bitflags 1.3.2", -] +checksum = "03251193000f4bd3b042892be858ee50e8b3719f2b08e5833ac4353724632430" [[package]] name = "redox_syscall" @@ -3552,6 +4499,12 @@ version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" +[[package]] +name = "renderdoc-sys" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "216080ab382b992234dda86873c18d4c48358f5cfcb70fd693d7f6f2131b628b" + [[package]] name = "reqwest" version = "0.11.22" @@ -3623,16 +4576,16 @@ dependencies = [ [[package]] name = "ring" -version = "0.17.5" +version = "0.17.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb0205304757e5d899b9c2e448b867ffd03ae7f988002e47cd24954391394d0b" +checksum = "688c63d65483050968b2a8937f7995f443e27041a0f7700aa59b0822aedebb74" dependencies = [ "cc", "getrandom 0.2.11", "libc", "spin 0.9.8", "untrusted 0.9.0", - "windows-sys", + "windows-sys 0.48.0", ] [[package]] @@ -3684,7 +4637,7 @@ dependencies = [ "which 5.0.0", "xz2", "zip", - "zstd", + "zstd 0.13.0", ] [[package]] @@ -3715,15 +4668,15 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" [[package]] name = "rustix" -version = "0.38.25" +version = "0.38.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc99bc2d4f1fed22595588a013687477aedf3cdcfb26558c559edb67b4d9b22e" +checksum = "9470c4bf8246c8daf25f9598dca807fb6510347b1e1cfa55749113850c79d88a" dependencies = [ "bitflags 2.4.1", "errno", "libc", "linux-raw-sys", - "windows-sys", + "windows-sys 0.52.0", ] [[package]] @@ -3733,7 +4686,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "629648aced5775d558af50b2b4c7b02983a04b312126d45eeead26e7caa498b9" dependencies = [ "log", - "ring 0.17.5", + "ring 0.17.7", "rustls-webpki", "sct", ] @@ -3765,7 +4718,7 @@ version = "0.101.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765" dependencies = [ - "ring 0.17.5", + "ring 0.17.7", "untrusted 0.9.0", ] @@ -3787,6 +4740,16 @@ version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ef703b7cb59335eae2eb93ceb664c0eb7ea6bf567079d843e09420219668e072" +[[package]] +name = "safetensors" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d93279b86b3de76f820a8854dd06cbc33cfa57a417b19c47f6a25280112fb1df" +dependencies = [ + "serde", + "serde_json", +] + [[package]] name = "same-file" version = "1.0.6" @@ -3812,7 +4775,16 @@ version = "0.1.22" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0c3733bf4cf7ea0880754e19cb5a462007c4a8c1914bff372ccc95b464f1df88" dependencies = [ - "windows-sys", + "windows-sys 0.48.0", +] + +[[package]] +name = "scheduled-thread-pool" +version = "0.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3cbc66816425a074528352f5789333ecff06ca41b36b0b0efdfbb29edc391a19" +dependencies = [ + "parking_lot", ] [[package]] @@ -3833,7 +4805,7 @@ version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414" dependencies = [ - "ring 0.17.5", + "ring 0.17.7", "untrusted 0.9.0", ] @@ -3881,6 +4853,12 @@ version = "1.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "836fa6a3e1e547f9a2c4040802ec865b5d85f4014efe00555d7090a3dcaa1090" +[[package]] +name = "seq-macro" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3f0bf26fd526d2a95683cd0f87bf103b8539e2ca1ef48ce002d67aad59aa0b4" + [[package]] name = "serde" version = "1.0.193" @@ -3892,9 +4870,9 @@ dependencies = [ [[package]] name = "serde-aux" -version = "4.2.0" +version = "4.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3dfe1b7eb6f9dcf011bd6fad169cdeaae75eda0d61b1a99a3f015b41b0cae39" +checksum = "184eba62ebddb71658697c8b08822edee89970bf318c5362189f0de27f85b498" dependencies = [ "chrono", "serde", @@ -3955,6 +4933,16 @@ dependencies = [ "syn 2.0.39", ] +[[package]] +name = "serde_rusqlite" +version = "0.34.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4600dac14aada464c5584d327baa164e372153309bc4c0fb1498bbfbaa5a028b" +dependencies = [ + "rusqlite", + "serde", +] + [[package]] name = "serde_tuple" version = "0.5.0" @@ -4035,6 +5023,16 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a7cee0529a6d40f580e7a5e6c495c8fbfe21b7b52795ed4bb5e62cdf92bc6380" +[[package]] +name = "signal-hook" +version = "0.3.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8621587d4798caf8eb44879d42e56b9a93ea5dcd315a6487c357130095b62801" +dependencies = [ + "libc", + "signal-hook-registry", +] + [[package]] name = "signal-hook-registry" version = "1.4.1" @@ -4044,6 +5042,12 @@ dependencies = [ "libc", ] +[[package]] +name = "simd-adler32" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe" + [[package]] name = "simple-file-manifest" version = "0.11.0" @@ -4065,6 +5069,15 @@ dependencies = [ "autocfg", ] +[[package]] +name = "slotmap" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dbff4acf519f630b3a3ddcfaea6c06b42174d9a44bc70c620e9ed1649d58b82a" +dependencies = [ + "version_check", +] + [[package]] name = "smallvec" version = "1.11.2" @@ -4117,7 +5130,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7b5fac59a5cb5dd637972e5fca70daf0523c9067fcdc4842f053dae04a18f8e9" dependencies = [ "libc", - "windows-sys", + "windows-sys 0.48.0", ] [[package]] @@ -4135,6 +5148,28 @@ dependencies = [ "lock_api", ] +[[package]] +name = "spirv" +version = "0.2.0+1.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "246bfa38fe3db3f1dfc8ca5a2cdeb7348c78be2112740cc0ec8ef18b6d94f830" +dependencies = [ + "bitflags 1.3.2", + "num-traits", +] + +[[package]] +name = "stable_deref_trait" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" + +[[package]] +name = "static_assertions" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" + [[package]] name = "string_cache" version = "0.8.7" @@ -4223,6 +5258,18 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" +[[package]] +name = "synstructure" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "285ba80e733fac80aa4270fbcdf83772a79b80aa35c97075320abfee4a915b06" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.39", + "unicode-xid", +] + [[package]] name = "system-configuration" version = "0.5.1" @@ -4261,6 +5308,23 @@ version = "0.12.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "14c39fd04924ca3a864207c66fc2cd7d22d7c016007f9ce846cbb9326331930a" +[[package]] +name = "tch" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ed5dddab3812892bf5fb567136e372ea49f31672931e21cec967ca68aec03da" +dependencies = [ + "half 2.3.1", + "lazy_static", + "libc", + "ndarray", + "rand 0.8.5", + "safetensors", + "thiserror", + "torch-sys", + "zip", +] + [[package]] name = "tempfile" version = "3.8.1" @@ -4269,9 +5333,9 @@ checksum = "7ef1adac450ad7f4b3c28589471ade84f25f731a7a0fe30d71dfa9f60fd808e5" dependencies = [ "cfg-if", "fastrand 2.0.1", - "redox_syscall 0.4.1", + "redox_syscall", "rustix", - "windows-sys", + "windows-sys 0.48.0", ] [[package]] @@ -4301,7 +5365,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "21bebf2b7c9e0a515f6e0f8c51dc0f8e4696391e6f1ff30379559f8365fb0df7" dependencies = [ "rustix", - "windows-sys", + "windows-sys 0.48.0", +] + +[[package]] +name = "text_placeholder" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "512104f982ce6f50def5340f9d7d14cc21f7a859e9ccd251aa19d12e1345c070" +dependencies = [ + "hashbrown 0.13.2", + "serde", + "serde_json", ] [[package]] @@ -4343,6 +5418,17 @@ dependencies = [ "once_cell", ] +[[package]] +name = "tiff" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d172b0f4d3fba17ba89811858b9d3d97f928aece846475bbda076ca46736211" +dependencies = [ + "flate2", + "jpeg-decoder", + "weezl", +] + [[package]] name = "time" version = "0.3.30" @@ -4421,7 +5507,7 @@ dependencies = [ "signal-hook-registry", "socket2 0.5.5", "tokio-macros", - "windows-sys", + "windows-sys 0.48.0", ] [[package]] @@ -4536,6 +5622,21 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ea68304e134ecd095ac6c3574494fc62b909f416c4fca77e440530221e549d3d" +[[package]] +name = "torch-sys" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "803446f89fb877a117503dbfb8375b6a29fa8b0e0f44810fac3863c798ecef22" +dependencies = [ + "anyhow", + "cc", + "libc", + "serde", + "serde_json", + "ureq", + "zip", +] + [[package]] name = "tower" version = "0.4.13" @@ -4778,9 +5879,9 @@ checksum = "80d7ff825a6a654ee85a63e80f92f054f904f21e7d12da4e22f9834a4aaa35bc" [[package]] name = "unic-langid" -version = "0.9.1" +version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "398f9ad7239db44fd0f80fe068d12ff22d78354080332a5077dc6f52f14dcf2f" +checksum = "887622f8e7b723780c5e64b04dcc0c9b8f426ada7cca6790cd3ea3bf0f08037a" dependencies = [ "unic-langid-impl", "unic-langid-macros", @@ -4788,20 +5889,19 @@ dependencies = [ [[package]] name = "unic-langid-impl" -version = "0.9.1" +version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e35bfd2f2b8796545b55d7d3fd3e89a0613f68a0d1c8bc28cb7ff96b411a35ff" +checksum = "5adeb847e35eed4efbffd9fb2e4d078b91ece56e4d6a3c0d2df55b3a1dac07d5" dependencies = [ "tinystr", ] [[package]] name = "unic-langid-macros" -version = "0.9.1" +version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "055e618bf694161ffff0466d95cef3e1a5edc59f6ba1888e97801f2b4ebdc4fe" +checksum = "d4d4589552627b69df7135a17919dc0b62f320be06988b77fcfc69bc89425600" dependencies = [ - "proc-macro-hack", "tinystr", "unic-langid-impl", "unic-langid-macros-impl", @@ -4809,13 +5909,14 @@ dependencies = [ [[package]] name = "unic-langid-macros-impl" -version = "0.9.1" +version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f5cdec05b907f4e2f6843f4354f4ce6a5bebe1a56df320a49134944477ce4d8" +checksum = "fb865515362dca12581b9a4b731acdc9015f4b81e1be9b21fa6d9dbbd2598e5e" dependencies = [ - "proc-macro-hack", + "find-crate", + "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.39", "unic-langid-impl", ] @@ -4882,6 +5983,12 @@ version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" +[[package]] +name = "unicode-xid" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" + [[package]] name = "unindent" version = "0.2.3" @@ -4900,6 +6007,24 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" +[[package]] +name = "ureq" +version = "2.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8cdd25c339e200129fe4de81451814e5228c9b771d57378817d6117cc2b3f97" +dependencies = [ + "base64 0.21.5", + "flate2", + "log", + "once_cell", + "rustls", + "rustls-webpki", + "serde", + "serde_json", + "url", + "webpki-roots", +] + [[package]] name = "url" version = "2.5.0" @@ -4939,6 +6064,10 @@ name = "uuid" version = "1.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5e395fcf16a7a3d8127ec99782007af141946b4795001f876d54fb0d55978560" +dependencies = [ + "getrandom 0.2.11", + "rand 0.8.5", +] [[package]] name = "valuable" @@ -5027,9 +6156,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.88" +version = "0.2.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7daec296f25a1bae309c0cd5c29c4b260e510e6d813c286b19eaadf409d40fce" +checksum = "0ed0d4f68a3015cc185aff4db9506a015f4b96f95303897bfa23f846db54064e" dependencies = [ "cfg-if", "wasm-bindgen-macro", @@ -5037,9 +6166,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.88" +version = "0.2.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e397f4664c0e4e428e8313a469aaa58310d302159845980fd23b0f22a847f217" +checksum = "1b56f625e64f3a1084ded111c4d5f477df9f8c92df113852fa5a374dbda78826" dependencies = [ "bumpalo", "log", @@ -5052,9 +6181,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-futures" -version = "0.4.38" +version = "0.4.39" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9afec9963e3d0994cac82455b2b3502b81a7f40f9a0d32181f7528d9f4b43e02" +checksum = "ac36a15a220124ac510204aec1c3e5db8a22ab06fd6706d881dc6149f8ed9a12" dependencies = [ "cfg-if", "js-sys", @@ -5064,9 +6193,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.88" +version = "0.2.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5961017b3b08ad5f3fe39f1e79877f8ee7c23c5e5fd5eb80de95abc41f1f16b2" +checksum = "0162dbf37223cd2afce98f3d0785506dcb8d266223983e4b5b525859e6e182b2" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -5074,9 +6203,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.88" +version = "0.2.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5353b8dab669f5e10f5bd76df26a9360c748f054f862ff5f3f8aae0c7fb3907" +checksum = "f0eb82fcb7930ae6219a7ecfd55b217f5f0893484b7a13022ebb2b2bf20b5283" dependencies = [ "proc-macro2", "quote", @@ -5087,9 +6216,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-shared" -version = "0.2.88" +version = "0.2.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d046c5d029ba91a1ed14da14dca44b68bf2f124cfbaf741c54151fdb3e0750b" +checksum = "7ab9b36309365056cd639da3134bf87fa8f3d86008abf99e612384a6eecd459f" [[package]] name = "wasm-streams" @@ -5106,9 +6235,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.65" +version = "0.3.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5db499c5f66323272151db0e666cd34f78617522fb0c1604d31a27c50c206a85" +checksum = "9b85cbef8c220a6abc02aefd892dfc0fc23afb1c6a426316ec33253a3877249b" dependencies = [ "js-sys", "wasm-bindgen", @@ -5120,6 +6249,114 @@ version = "0.25.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1778a42e8b3b90bff8d0f5032bf22250792889a5cdc752aa0020c84abe3aaf10" +[[package]] +name = "weezl" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9193164d4de03a926d909d3bc7c30543cecb35400c02114792c2cae20d5e2dbb" + +[[package]] +name = "wgpu" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "30e7d227c9f961f2061c26f4cb0fbd4df0ef37e056edd0931783599d6c94ef24" +dependencies = [ + "arrayvec", + "cfg-if", + "flume 0.11.0", + "js-sys", + "log", + "naga", + "parking_lot", + "profiling", + "raw-window-handle", + "smallvec", + "static_assertions", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", + "wgpu-core", + "wgpu-hal", + "wgpu-types", +] + +[[package]] +name = "wgpu-core" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef91c1d62d1e9e81c79e600131a258edf75c9531cbdbde09c44a011a47312726" +dependencies = [ + "arrayvec", + "bit-vec", + "bitflags 2.4.1", + "codespan-reporting", + "log", + "naga", + "parking_lot", + "profiling", + "raw-window-handle", + "rustc-hash", + "smallvec", + "thiserror", + "web-sys", + "wgpu-hal", + "wgpu-types", +] + +[[package]] +name = "wgpu-hal" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b84ecc802da3eb67b4cf3dd9ea6fe45bbb47ef13e6c49c5c3240868a9cc6cdd9" +dependencies = [ + "android_system_properties", + "arrayvec", + "ash", + "bit-set", + "bitflags 2.4.1", + "block", + "core-graphics-types", + "d3d12", + "glow", + "glutin_wgl_sys", + "gpu-alloc", + "gpu-allocator", + "gpu-descriptor", + "hassle-rs", + "js-sys", + "khronos-egl", + "libc", + "libloading 0.8.1", + "log", + "metal", + "naga", + "objc", + "once_cell", + "parking_lot", + "profiling", + "range-alloc", + "raw-window-handle", + "renderdoc-sys", + "rustc-hash", + "smallvec", + "thiserror", + "wasm-bindgen", + "web-sys", + "wgpu-types", + "winapi", +] + +[[package]] +name = "wgpu-types" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d5ed5f0edf0de351fe311c53304986315ce866f394a2e6df0c4b3c70774bcdd" +dependencies = [ + "bitflags 2.4.1", + "js-sys", + "web-sys", +] + [[package]] name = "which" version = "4.4.2" @@ -5142,9 +6379,15 @@ dependencies = [ "home", "once_cell", "rustix", - "windows-sys", + "windows-sys 0.48.0", ] +[[package]] +name = "widestring" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "653f141f39ec16bba3c5abe400a0c60da7468261cc2cbf36805022876bc721a8" + [[package]] name = "winapi" version = "0.3.9" @@ -5176,6 +6419,16 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" +[[package]] +name = "windows" +version = "0.51.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca229916c5ee38c2f2bc1e9d8f04df975b4bd93f9955dc69fabb5d91270045c9" +dependencies = [ + "windows-core 0.51.1", + "windows-targets 0.48.5", +] + [[package]] name = "windows" version = "0.52.0" @@ -5213,6 +6466,15 @@ dependencies = [ "windows-targets 0.48.5", ] +[[package]] +name = "windows-sys" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" +dependencies = [ + "windows-targets 0.52.0", +] + [[package]] name = "windows-targets" version = "0.48.5" @@ -5329,9 +6591,9 @@ checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04" [[package]] name = "winnow" -version = "0.5.19" +version = "0.5.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "829846f3e3db426d4cee4510841b71a8e58aa2a76b1132579487ae430ccd9c7b" +checksum = "b7e87b8dfbe3baffbe687eef2e164e32286eff31a5ee16463ce03d991643ec94" dependencies = [ "memchr", ] @@ -5353,14 +6615,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "524e57b2c537c0f9b1e69f1965311ec12182b4122e45035b1508cd24d2adadb1" dependencies = [ "cfg-if", - "windows-sys", + "windows-sys 0.48.0", ] [[package]] name = "wiremock" -version = "0.5.21" +version = "0.5.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "079aee011e8a8e625d16df9e785de30a6b77f80a6126092d76a57375f96448da" +checksum = "13a3a53eaf34f390dd30d7b1b078287dd05df2aa2e21a589ccb80f5c7253c2e9" dependencies = [ "assert-json-diff", "async-trait", @@ -5387,6 +6649,12 @@ dependencies = [ "libc", ] +[[package]] +name = "xml-rs" +version = "0.8.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fcb9cbac069e033553e8bb871be2fbdffcab578eb25bd0f7c508cedc6dcd75a" + [[package]] name = "xml5ever" version = "0.17.0" @@ -5417,36 +6685,97 @@ dependencies = [ ] [[package]] -name = "zerocopy" -version = "0.7.26" +name = "yoke" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e97e415490559a91254a2979b4829267a57d2fcd741a98eee8b722fb57289aa0" +checksum = "65e71b2e4f287f467794c671e2b8f8a5f3716b3c829079a1c44740148eff07e4" +dependencies = [ + "serde", + "stable_deref_trait", + "yoke-derive", + "zerofrom", +] + +[[package]] +name = "yoke-derive" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e6936f0cce458098a201c245a11bef556c6a0181129c7034d10d76d1ec3a2b8" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.39", + "synstructure", +] + +[[package]] +name = "zerocopy" +version = "0.7.29" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d075cf85bbb114e933343e087b92f2146bac0d55b534cbb8188becf0039948e" dependencies = [ "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.7.26" +version = "0.7.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd7e48ccf166952882ca8bd778a43502c64f33bf94c12ebe2a7f08e5a0f6689f" +checksum = "86cd5ca076997b97ef09d3ad65efe811fa68c9e874cb636ccb211223a813b0c2" dependencies = [ "proc-macro2", "quote", "syn 2.0.39", ] +[[package]] +name = "zerofrom" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "655b0814c5c0b19ade497851070c640773304939a6c0fd5f5fb43da0696d05b7" +dependencies = [ + "zerofrom-derive", +] + +[[package]] +name = "zerofrom-derive" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6a647510471d372f2e6c2e6b7219e44d8c574d24fdc11c610a61455782f18c3" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.39", + "synstructure", +] + [[package]] name = "zip" version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "760394e246e4c28189f19d488c058bf16f564016aefac5d32bb1f3b51d5e9261" dependencies = [ + "aes", "byteorder", + "bzip2", + "constant_time_eq 0.1.5", "crc32fast", "crossbeam-utils", "flate2", + "hmac", + "pbkdf2", + "sha1", "time", + "zstd 0.11.2+zstd.1.5.2", +] + +[[package]] +name = "zstd" +version = "0.11.2+zstd.1.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20cc960326ece64f010d2d2107537f26dc589a6573a316bd5b1dba685fa5fde4" +dependencies = [ + "zstd-safe 5.0.2+zstd.1.5.2", ] [[package]] @@ -5455,7 +6784,17 @@ version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bffb3309596d527cfcba7dfc6ed6052f1d39dfbd7c867aa2e865e4a449c10110" dependencies = [ - "zstd-safe", + "zstd-safe 7.0.0", +] + +[[package]] +name = "zstd-safe" +version = "5.0.2+zstd.1.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d2a5585e04f9eea4b2a3d1eca508c4dee9592a89ef6f450c11719da0726f4db" +dependencies = [ + "libc", + "zstd-sys", ] [[package]] @@ -5476,3 +6815,12 @@ dependencies = [ "cc", "pkg-config", ] + +[[package]] +name = "zune-inflate" +version = "0.2.54" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "73ab332fe2f6680068f3582b16a24f90ad7096d5d39b974d1c0aff0125116f02" +dependencies = [ + "simd-adler32", +] diff --git a/Cargo.toml b/Cargo.toml index eb26065b1..64f3a23fa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,7 +36,7 @@ rev = "184b2ca50ed39ca43da13f0b830a463861adb9ca" [workspace.dependencies.fsrs] git = "https://github.com/open-spaced-repetition/fsrs-rs.git" -rev = "96ae7fca09f17723ec514a1d633d36c3a09779f4" +rev = "34570f396c86df857dd149921b9ed91c37993321" # path = "../../../fsrs-rs" [workspace.dependencies] diff --git a/cargo/licenses.json b/cargo/licenses.json index d4e76e5f2..93cbb924c 100644 --- a/cargo/licenses.json +++ b/cargo/licenses.json @@ -17,6 +17,15 @@ "license_file": null, "description": "A simple clean-room implementation of the Adler-32 checksum" }, + { + "name": "aes", + "version": "0.8.3", + "authors": "RustCrypto Developers", + "repository": "https://github.com/RustCrypto/block-ciphers", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Pure Rust implementation of the Advanced Encryption Standard (a.k.a. Rijndael)" + }, { "name": "ahash", "version": "0.8.6", @@ -143,6 +152,15 @@ "license_file": null, "description": "A vector with fixed capacity, backed by an array (it can be stored on the stack too). Implements fixed capacity ArrayVec and ArrayString." }, + { + "name": "ash", + "version": "0.37.3+1.3.251", + "authors": "Maik Klein |Benjamin Saunders |Marijn Suijten ", + "repository": "https://github.com/MaikKlein/ash", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Vulkan bindings for Rust" + }, { "name": "assert-json-diff", "version": "2.0.2", @@ -269,6 +287,15 @@ "license_file": null, "description": "encodes and decodes base64 as bytes or utf8" }, + { + "name": "base64ct", + "version": "1.6.0", + "authors": "RustCrypto Developers", + "repository": "https://github.com/RustCrypto/formats/tree/master/base64ct", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Pure Rust implementation of Base64 (RFC 4648) which avoids any usages of data-dependent branches/LUTs and thereby provides portable \"best effort\" constant-time operation and embedded-friendly no_std support" + }, { "name": "bincode", "version": "2.0.0-rc.3", @@ -278,6 +305,33 @@ "license_file": null, "description": "A binary serialization / deserialization strategy for transforming structs into bytes and vice versa!" }, + { + "name": "bit-set", + "version": "0.5.3", + "authors": "Alexis Beingessner ", + "repository": "https://github.com/contain-rs/bit-set", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "A set of bits" + }, + { + "name": "bit-vec", + "version": "0.6.3", + "authors": "Alexis Beingessner ", + "repository": "https://github.com/contain-rs/bit-vec", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "A vector of bits" + }, + { + "name": "bit_field", + "version": "0.10.2", + "authors": "Philipp Oppermann ", + "repository": "https://github.com/phil-opp/rust-bit-field", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Simple bit field trait providing get_bit, get_bits, set_bit, and set_bits methods for Rust's integral types." + }, { "name": "bitflags", "version": "1.3.2", @@ -305,6 +359,15 @@ "license_file": null, "description": "the BLAKE3 hash function" }, + { + "name": "block", + "version": "0.1.6", + "authors": "Steven Sheldon", + "repository": "http://github.com/SSheldon/rust-block", + "license": "MIT", + "license_file": null, + "description": "Rust interface for Apple's C language extension of blocks." + }, { "name": "block-buffer", "version": "0.10.4", @@ -314,6 +377,15 @@ "license_file": null, "description": "Buffer type for block processing of data" }, + { + "name": "block-padding", + "version": "0.3.3", + "authors": "RustCrypto Developers", + "repository": "https://github.com/RustCrypto/utils", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Padding and unpadding of messages divided into blocks." + }, { "name": "bumpalo", "version": "3.14.0", @@ -325,94 +397,157 @@ }, { "name": "burn", - "version": "0.10.0", + "version": "0.11.1", "authors": "nathanielsimard ", - "repository": "https://github.com/burn-rs/burn", + "repository": "https://github.com/tracel-ai/burn", "license": "Apache-2.0 OR MIT", "license_file": null, "description": "Flexible and Comprehensive Deep Learning Framework in Rust" }, { "name": "burn-autodiff", - "version": "0.10.0", + "version": "0.11.1", "authors": "nathanielsimard ", - "repository": "https://github.com/burn-rs/burn/tree/main/burn-autodiff", + "repository": "https://github.com/tracel-ai/burn/tree/main/burn-autodiff", "license": "Apache-2.0 OR MIT", "license_file": null, "description": "Automatic differentiation backend for the Burn framework" }, + { + "name": "burn-candle", + "version": "0.11.1", + "authors": "louisfd ", + "repository": "https://github.com/tracel-ai/burn/tree/main/burn-candle", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Candle backend for the Burn framework" + }, { "name": "burn-common", - "version": "0.10.0", + "version": "0.11.1", "authors": "Dilshod Tadjibaev (@antimora)", - "repository": "https://github.com/burn-rs/burn/tree/main/burn-common", + "repository": "https://github.com/tracel-ai/burn/tree/main/burn-common", "license": "Apache-2.0 OR MIT", "license_file": null, "description": "Common crate for the Burn framework" }, + { + "name": "burn-compute", + "version": "0.11.1", + "authors": "louisfd |Nathaniel Simard", + "repository": "https://github.com/tracel-ai/burn/tree/main/burn-compute", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Compute crate that helps creating high performance async backends." + }, { "name": "burn-core", - "version": "0.10.0", + "version": "0.11.1", "authors": "nathanielsimard ", - "repository": "https://github.com/burn-rs/burn/tree/main/burn-core", + "repository": "https://github.com/tracel-ai/burn/tree/main/burn-core", "license": "Apache-2.0 OR MIT", "license_file": null, "description": "Flexible and Comprehensive Deep Learning Framework in Rust" }, { "name": "burn-dataset", - "version": "0.10.0", + "version": "0.11.1", "authors": "nathanielsimard ", - "repository": "https://github.com/burn-rs/burn/tree/main/burn-dataset", + "repository": "https://github.com/tracel-ai/burn/tree/main/burn-dataset", "license": "Apache-2.0 OR MIT", "license_file": null, "description": "Library with simple dataset APIs for creating ML data pipelines" }, { "name": "burn-derive", - "version": "0.10.0", + "version": "0.11.1", "authors": "nathanielsimard ", - "repository": "https://github.com/burn-rs/burn/tree/main/burn-derive", + "repository": "https://github.com/tracel-ai/burn/tree/main/burn-derive", "license": "Apache-2.0 OR MIT", "license_file": null, "description": "Derive crate for the Burn framework" }, { - "name": "burn-ndarray", - "version": "0.10.0", + "name": "burn-fusion", + "version": "0.11.1", "authors": "nathanielsimard ", - "repository": "https://github.com/burn-rs/burn/tree/main/burn-ndarray", + "repository": "https://github.com/tracel-ai/burn/tree/main/burn-fusion", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Kernel fusion backend decorator for the Burn framework" + }, + { + "name": "burn-ndarray", + "version": "0.11.1", + "authors": "nathanielsimard ", + "repository": "https://github.com/tracel-ai/burn/tree/main/burn-ndarray", "license": "Apache-2.0 OR MIT", "license_file": null, "description": "Ndarray backend for the Burn framework" }, { - "name": "burn-tensor", - "version": "0.10.0", + "name": "burn-tch", + "version": "0.11.1", "authors": "nathanielsimard ", - "repository": "https://github.com/burn-rs/burn/tree/main/burn-tensor", + "repository": "https://github.com/tracel-ai/burn/tree/main/burn-tch", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Tch backend for the Burn framework" + }, + { + "name": "burn-tensor", + "version": "0.11.1", + "authors": "nathanielsimard ", + "repository": "https://github.com/tracel-ai/burn/tree/main/burn-tensor", "license": "Apache-2.0 OR MIT", "license_file": null, "description": "Tensor library with user-friendly APIs and automatic differentiation support" }, { "name": "burn-tensor-testgen", - "version": "0.10.0", + "version": "0.11.1", "authors": "nathanielsimard ", - "repository": "https://github.com/burn-rs/burn/tree/main/burn-tensor-testgen", + "repository": "https://github.com/tracel-ai/burn/tree/main/burn-tensor-testgen", "license": "Apache-2.0 OR MIT", "license_file": null, "description": "Test generation crate for burn-tensor" }, { "name": "burn-train", - "version": "0.10.0", + "version": "0.11.1", "authors": "nathanielsimard ", - "repository": "https://github.com/burn-rs/burn/tree/main/burn-train", + "repository": "https://github.com/tracel-ai/burn/tree/main/burn-train", "license": "Apache-2.0 OR MIT", "license_file": null, "description": "Training crate for the Burn framework" }, + { + "name": "burn-wgpu", + "version": "0.11.1", + "authors": "nathanielsimard ", + "repository": "https://github.com/tracel-ai/burn/tree/main/burn-wgpu", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "WGPU backend for the Burn framework" + }, + { + "name": "bytemuck", + "version": "1.14.0", + "authors": "Lokathor ", + "repository": "https://github.com/Lokathor/bytemuck", + "license": "Apache-2.0 OR MIT OR Zlib", + "license_file": null, + "description": "A crate for mucking around with piles of bytes." + }, + { + "name": "bytemuck_derive", + "version": "1.5.0", + "authors": "Lokathor ", + "repository": "https://github.com/Lokathor/bytemuck", + "license": "Apache-2.0 OR MIT OR Zlib", + "license_file": null, + "description": "derive proc-macros for `bytemuck`" + }, { "name": "byteorder", "version": "1.5.0", @@ -431,6 +566,24 @@ "license_file": null, "description": "Types and traits for working with bytes" }, + { + "name": "bzip2", + "version": "0.4.4", + "authors": "Alex Crichton ", + "repository": "https://github.com/alexcrichton/bzip2-rs", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Bindings to libbzip2 for bzip2 compression and decompression exposed as Reader/Writer streams." + }, + { + "name": "bzip2-sys", + "version": "0.1.11+1.0.8", + "authors": "Alex Crichton ", + "repository": "https://github.com/alexcrichton/bzip2-rs", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Bindings to libbzip2 for bzip2 compression and decompression exposed as Reader/Writer streams." + }, { "name": "camino", "version": "1.1.6", @@ -440,6 +593,15 @@ "license_file": null, "description": "UTF-8 paths" }, + { + "name": "candle-core", + "version": "0.3.1", + "authors": null, + "repository": "https://github.com/huggingface/candle", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Minimalist ML framework." + }, { "name": "cc", "version": "1.0.83", @@ -467,6 +629,15 @@ "license_file": null, "description": "Date and time library for Rust" }, + { + "name": "cipher", + "version": "0.4.4", + "authors": "RustCrypto Developers", + "repository": "https://github.com/RustCrypto/traits", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Traits for describing block ciphers and stream ciphers" + }, { "name": "coarsetime", "version": "0.1.33", @@ -476,15 +647,51 @@ "license_file": null, "description": "Time and duration crate optimized for speed" }, + { + "name": "codespan-reporting", + "version": "0.11.1", + "authors": "Brendan Zabarauskas ", + "repository": "https://github.com/brendanzab/codespan", + "license": "Apache-2.0", + "license_file": null, + "description": "Beautiful diagnostic reporting for text-based programming languages" + }, + { + "name": "color_quant", + "version": "1.1.0", + "authors": "nwin ", + "repository": "https://github.com/image-rs/color_quant.git", + "license": "MIT", + "license_file": null, + "description": "Color quantization library to reduce n colors to 256 colors." + }, + { + "name": "com-rs", + "version": "0.2.1", + "authors": "Lee Jeffery ", + "repository": "https://github.com/Eljay/com-rs", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Deprecated. Use the `com` crate instead." + }, { "name": "concurrent-queue", - "version": "2.3.0", + "version": "2.4.0", "authors": "Stjepan Glavina |Taiki Endo |John Nunley ", "repository": "https://github.com/smol-rs/concurrent-queue", "license": "Apache-2.0 OR MIT", "license_file": null, "description": "Concurrent multi-producer multi-consumer queue" }, + { + "name": "constant_time_eq", + "version": "0.1.5", + "authors": "Cesar Eduardo Barros ", + "repository": "https://github.com/cesarb/constant_time_eq", + "license": "CC0-1.0", + "license_file": null, + "description": "Compares two equal-sized byte strings in constant time." + }, { "name": "constant_time_eq", "version": "0.3.0", @@ -505,7 +712,7 @@ }, { "name": "core-foundation", - "version": "0.9.3", + "version": "0.9.4", "authors": "The Servo Project Developers", "repository": "https://github.com/servo/core-foundation-rs", "license": "Apache-2.0 OR MIT", @@ -514,13 +721,22 @@ }, { "name": "core-foundation-sys", - "version": "0.8.4", + "version": "0.8.6", "authors": "The Servo Project Developers", "repository": "https://github.com/servo/core-foundation-rs", "license": "Apache-2.0 OR MIT", "license_file": null, "description": "Bindings to Core Foundation for macOS" }, + { + "name": "core-graphics-types", + "version": "0.1.3", + "authors": "The Servo Project Developers", + "repository": "https://github.com/servo/core-foundation-rs", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Bindings for some fundamental Core Graphics types" + }, { "name": "cpufeatures", "version": "0.2.11", @@ -611,6 +827,24 @@ "license_file": null, "description": "Bare bones CSV parsing with no_std support." }, + { + "name": "d3d12", + "version": "0.7.0", + "authors": "gfx-rs developers", + "repository": "https://github.com/gfx-rs/d3d12-rs", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Low level D3D12 API wrapper" + }, + { + "name": "dashmap", + "version": "5.5.3", + "authors": "Acrimon ", + "repository": "https://github.com/xacrimon/dashmap", + "license": "MIT", + "license_file": null, + "description": "Blazing fast concurrent HashMap for Rust." + }, { "name": "data-encoding", "version": "2.5.0", @@ -640,7 +874,7 @@ }, { "name": "deranged", - "version": "0.3.9", + "version": "0.3.10", "authors": "Jacob Pratt ", "repository": "https://github.com/jhpratt/deranged", "license": "Apache-2.0 OR MIT", @@ -710,6 +944,15 @@ "license_file": null, "description": "Macro to generate doc comments" }, + { + "name": "dyn-stack", + "version": "0.10.0", + "authors": "sarah <>", + "repository": "https://github.com/kitegi/dynstack/", + "license": "MIT", + "license_file": null, + "description": "Dynamic stack wrapper for unsized allocations" + }, { "name": "either", "version": "1.9.0", @@ -748,7 +991,7 @@ }, { "name": "errno", - "version": "0.3.7", + "version": "0.3.8", "authors": "Chris Wong ", "repository": "https://github.com/lambda-fairy/rust-errno", "license": "Apache-2.0 OR MIT", @@ -764,6 +1007,15 @@ "license_file": null, "description": "Notify async tasks or threads" }, + { + "name": "exr", + "version": "1.6.4", + "authors": "johannesvollmer ", + "repository": "https://github.com/johannesvollmer/exrs", + "license": "BSD-3-Clause", + "license_file": null, + "description": "Read and write OpenEXR files without any unsafe code" + }, { "name": "fallible-iterator", "version": "0.3.0", @@ -782,6 +1034,15 @@ "license_file": null, "description": "Fallible streaming iteration" }, + { + "name": "faster-hex", + "version": "0.8.1", + "authors": "zhangsoledad <787953403@qq.com>", + "repository": "https://github.com/NervosFoundation/faster-hex", + "license": "MIT", + "license_file": null, + "description": "Fast hex encoding." + }, { "name": "fastrand", "version": "1.9.0", @@ -800,6 +1061,24 @@ "license_file": null, "description": "A simple and fast random number generator" }, + { + "name": "fdeflate", + "version": "0.3.1", + "authors": "The image-rs Developers", + "repository": "https://github.com/image-rs/fdeflate", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Fast specialized deflate implementation" + }, + { + "name": "find-crate", + "version": "0.6.3", + "authors": "Taiki Endo ", + "repository": "https://github.com/taiki-e/find-crate", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Find the crate name from the current Cargo.toml." + }, { "name": "fixedbitset", "version": "0.4.2", @@ -854,6 +1133,24 @@ "license_file": null, "description": "Parser/Serializer tools for Fluent Syntax." }, + { + "name": "flume", + "version": "0.10.14", + "authors": "Joshua Barretto ", + "repository": "https://github.com/zesterer/flume", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "A blazingly fast multi-producer channel" + }, + { + "name": "flume", + "version": "0.11.0", + "authors": "Joshua Barretto ", + "repository": "https://github.com/zesterer/flume", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "A blazingly fast multi-producer channel" + }, { "name": "fnv", "version": "1.0.7", @@ -872,6 +1169,24 @@ "license_file": null, "description": "A framework for Rust wrappers over C APIs" }, + { + "name": "foreign-types", + "version": "0.5.0", + "authors": "Steven Fackler ", + "repository": "https://github.com/sfackler/foreign-types", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "A framework for Rust wrappers over C APIs" + }, + { + "name": "foreign-types-macros", + "version": "0.2.3", + "authors": "Steven Fackler ", + "repository": "https://github.com/sfackler/foreign-types", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "An internal crate used by foreign-types" + }, { "name": "foreign-types-shared", "version": "0.1.1", @@ -881,6 +1196,15 @@ "license_file": null, "description": "An internal crate used by foreign-types" }, + { + "name": "foreign-types-shared", + "version": "0.3.1", + "authors": "Steven Fackler ", + "repository": "https://github.com/sfackler/foreign-types", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "An internal crate used by foreign-types" + }, { "name": "form_urlencoded", "version": "1.2.1", @@ -953,6 +1277,15 @@ "license_file": null, "description": "Executors for asynchronous tasks based on the futures-rs library." }, + { + "name": "futures-intrusive", + "version": "0.5.0", + "authors": "Matthias Einwag ", + "repository": "https://github.com/Matthias247/futures-intrusive", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Futures based on intrusive data structures - for std and no-std environments." + }, { "name": "futures-io", "version": "0.3.29", @@ -1016,6 +1349,69 @@ "license_file": null, "description": "Common utilities and extension traits for the futures-rs library." }, + { + "name": "gemm", + "version": "0.16.15", + "authors": "sarah <>", + "repository": "https://github.com/sarah-ek/gemm/", + "license": "MIT", + "license_file": null, + "description": "Playground for matrix multiplication algorithms" + }, + { + "name": "gemm-c32", + "version": "0.16.15", + "authors": "sarah <>", + "repository": "https://github.com/sarah-ek/gemm/", + "license": "MIT", + "license_file": null, + "description": "Playground for matrix multiplication algorithms" + }, + { + "name": "gemm-c64", + "version": "0.16.15", + "authors": "sarah <>", + "repository": "https://github.com/sarah-ek/gemm/", + "license": "MIT", + "license_file": null, + "description": "Playground for matrix multiplication algorithms" + }, + { + "name": "gemm-common", + "version": "0.16.15", + "authors": "sarah <>", + "repository": "https://github.com/sarah-ek/gemm/", + "license": "MIT", + "license_file": null, + "description": "Playground for matrix multiplication algorithms" + }, + { + "name": "gemm-f16", + "version": "0.16.15", + "authors": "sarah <>", + "repository": "https://github.com/sarah-ek/gemm/", + "license": "MIT", + "license_file": null, + "description": "Playground for matrix multiplication algorithms" + }, + { + "name": "gemm-f32", + "version": "0.16.15", + "authors": "sarah <>", + "repository": "https://github.com/sarah-ek/gemm/", + "license": "MIT", + "license_file": null, + "description": "Playground for matrix multiplication algorithms" + }, + { + "name": "gemm-f64", + "version": "0.16.15", + "authors": "sarah <>", + "repository": "https://github.com/sarah-ek/gemm/", + "license": "MIT", + "license_file": null, + "description": "Playground for matrix multiplication algorithms" + }, { "name": "generic-array", "version": "0.14.7", @@ -1052,6 +1448,15 @@ "license_file": null, "description": "A small cross-platform library for retrieving random data from system source" }, + { + "name": "gif", + "version": "0.12.0", + "authors": "The image-rs Developers", + "repository": "https://github.com/image-rs/image-gif", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "GIF de- and encoder" + }, { "name": "gimli", "version": "0.28.1", @@ -1061,6 +1466,123 @@ "license_file": null, "description": "A library for reading and writing the DWARF debugging format." }, + { + "name": "gix-features", + "version": "0.33.0", + "authors": "Sebastian Thiel ", + "repository": "https://github.com/Byron/gitoxide", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "A crate to integrate various capabilities using compile-time feature flags" + }, + { + "name": "gix-fs", + "version": "0.5.0", + "authors": "Sebastian Thiel ", + "repository": "https://github.com/Byron/gitoxide", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "A crate providing file system specific utilities to `gitoxide`" + }, + { + "name": "gix-hash", + "version": "0.12.0", + "authors": "Sebastian Thiel ", + "repository": "https://github.com/Byron/gitoxide", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Borrowed and owned git hash digests used to identify git objects" + }, + { + "name": "gix-tempfile", + "version": "8.0.0", + "authors": "Sebastian Thiel ", + "repository": "https://github.com/Byron/gitoxide", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "A tempfile implementation with a global registry to assure cleanup" + }, + { + "name": "gix-trace", + "version": "0.1.3", + "authors": "Sebastian Thiel ", + "repository": "https://github.com/Byron/gitoxide", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "A crate to provide minimal `tracing` support that can be turned off to zero cost" + }, + { + "name": "gl_generator", + "version": "0.14.0", + "authors": "Brendan Zabarauskas |Corey Richardson|Arseny Kapoulkine", + "repository": "https://github.com/brendanzab/gl-rs/", + "license": "Apache-2.0", + "license_file": null, + "description": "Code generators for creating bindings to the Khronos OpenGL APIs." + }, + { + "name": "glow", + "version": "0.13.0", + "authors": "Joshua Groves |Dzmitry Malyshau ", + "repository": "https://github.com/grovesNL/glow", + "license": "Apache-2.0 OR MIT OR Zlib", + "license_file": null, + "description": "GL on Whatever: a set of bindings to run GL (Open GL, OpenGL ES, and WebGL) anywhere, and avoid target-specific code." + }, + { + "name": "glutin_wgl_sys", + "version": "0.5.0", + "authors": "Kirill Chibisov ", + "repository": "https://github.com/rust-windowing/glutin", + "license": "Apache-2.0", + "license_file": null, + "description": "The wgl bindings for glutin" + }, + { + "name": "gpu-alloc", + "version": "0.6.0", + "authors": "Zakarum ", + "repository": "https://github.com/zakarumych/gpu-alloc", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Implementation agnostic memory allocator for Vulkan like APIs" + }, + { + "name": "gpu-alloc-types", + "version": "0.3.0", + "authors": "Zakarum ", + "repository": "https://github.com/zakarumych/gpu-alloc", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Core types of gpu-alloc crate" + }, + { + "name": "gpu-allocator", + "version": "0.23.0", + "authors": "Traverse Research ", + "repository": "https://github.com/Traverse-Research/gpu-allocator", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Memory allocator for GPU memory in Vulkan and DirectX 12" + }, + { + "name": "gpu-descriptor", + "version": "0.2.4", + "authors": "Zakarum ", + "repository": "https://github.com/zakarumych/gpu-descriptor", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Implementation agnostic descriptor allocator for Vulkan like APIs" + }, + { + "name": "gpu-descriptor-types", + "version": "0.1.2", + "authors": "Zakarum ", + "repository": "https://github.com/zakarumych/gpu-descriptor", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Core types of gpu-descriptor crate" + }, { "name": "h2", "version": "0.3.22", @@ -1079,6 +1601,15 @@ "license_file": null, "description": "Half-precision floating point f16 and bf16 types for Rust implementing the IEEE 754-2008 standard binary16 and bfloat16 types." }, + { + "name": "hashbrown", + "version": "0.13.2", + "authors": "Amanieu d'Antras ", + "repository": "https://github.com/rust-lang/hashbrown", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "A Rust port of Google's SwissTable hash map" + }, { "name": "hashbrown", "version": "0.14.3", @@ -1097,6 +1628,15 @@ "license_file": null, "description": "HashMap-like containers that hold their key-value pairs in a user controllable order" }, + { + "name": "hassle-rs", + "version": "0.10.0", + "authors": "Traverse-Research ", + "repository": "https://github.com/Traverse-Research/hassle-rs", + "license": "MIT", + "license_file": null, + "description": "HLSL compiler library, this crate provides an FFI layer and idiomatic rust wrappers for the new DXC hlsl compiler and validator." + }, { "name": "headers", "version": "0.3.9", @@ -1142,6 +1682,24 @@ "license_file": null, "description": "Encoding and decoding data into/from hexadecimal representation." }, + { + "name": "hexf-parse", + "version": "0.2.1", + "authors": "Kang Seonghoon ", + "repository": "https://github.com/lifthrasiir/hexf", + "license": "CC0-1.0", + "license_file": null, + "description": "Parses hexadecimal floats (see also hexf)" + }, + { + "name": "hmac", + "version": "0.12.1", + "authors": "RustCrypto Developers", + "repository": "https://github.com/RustCrypto/MACs", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Generic implementation of Hash-based Message Authentication Code (HMAC)" + }, { "name": "home", "version": "0.5.5", @@ -1286,6 +1844,15 @@ "license_file": null, "description": "IDNA (Internationalizing Domain Names in Applications) and Punycode." }, + { + "name": "image", + "version": "0.24.7", + "authors": "The image-rs Developers", + "repository": "https://github.com/image-rs/image", + "license": "MIT", + "license_file": null, + "description": "Imaging library. Provides basic image processing and encoders/decoders for common image formats." + }, { "name": "indexmap", "version": "2.1.0", @@ -1313,6 +1880,15 @@ "license_file": null, "description": "High performance inflection transformation library for changing properties of words like the case." }, + { + "name": "inout", + "version": "0.1.3", + "authors": "RustCrypto Developers", + "repository": "https://github.com/RustCrypto/utils", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Custom reference types for code generic over in-place and buffer-to-buffer modes of operation." + }, { "name": "instant", "version": "0.1.12", @@ -1385,15 +1961,42 @@ "license_file": null, "description": "An implementation of the GNU make jobserver for Rust" }, + { + "name": "jpeg-decoder", + "version": "0.3.0", + "authors": "The image-rs Developers", + "repository": "https://github.com/image-rs/jpeg-decoder", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "JPEG decoder" + }, { "name": "js-sys", - "version": "0.3.65", + "version": "0.3.66", "authors": "The wasm-bindgen Developers", "repository": "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/js-sys", "license": "Apache-2.0 OR MIT", "license_file": null, "description": "Bindings for all JS global objects and functions in all JS environments like Node.js and browsers, built on `#[wasm_bindgen]` using the `wasm-bindgen` crate." }, + { + "name": "khronos-egl", + "version": "6.0.0", + "authors": "Timothée Haudebourg |Sean Kerr ", + "repository": "https://github.com/timothee-haudebourg/khronos-egl", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Rust bindings for EGL" + }, + { + "name": "khronos_api", + "version": "3.1.0", + "authors": "Brendan Zabarauskas |Corey Richardson|Arseny Kapoulkine|Pierre Krieger ", + "repository": "https://github.com/brendanzab/gl-rs/", + "license": "Apache-2.0", + "license_file": null, + "description": "The Khronos XML API Registry, exposed as byte string constants." + }, { "name": "lazy_static", "version": "1.4.0", @@ -1403,6 +2006,15 @@ "license_file": null, "description": "A macro for declaring lazily evaluated statics in Rust." }, + { + "name": "lebe", + "version": "0.5.2", + "authors": "johannesvollmer ", + "repository": "https://github.com/johannesvollmer/lebe", + "license": "BSD-3-Clause", + "license_file": null, + "description": "Tiny, dead simple, high performance endianness conversions with a generic API" + }, { "name": "libc", "version": "0.2.150", @@ -1412,6 +2024,24 @@ "license_file": null, "description": "Raw FFI bindings to platform libraries like libc." }, + { + "name": "libloading", + "version": "0.7.4", + "authors": "Simonas Kazlauskas ", + "repository": "https://github.com/nagisa/rust_libloading/", + "license": "ISC", + "license_file": null, + "description": "Bindings around the platform's dynamic library loading primitives with greatly improved memory safety." + }, + { + "name": "libloading", + "version": "0.8.1", + "authors": "Simonas Kazlauskas ", + "repository": "https://github.com/nagisa/rust_libloading/", + "license": "ISC", + "license_file": null, + "description": "Bindings around the platform's dynamic library loading primitives with greatly improved memory safety." + }, { "name": "libm", "version": "0.2.8", @@ -1441,7 +2071,7 @@ }, { "name": "linux-raw-sys", - "version": "0.4.11", + "version": "0.4.12", "authors": "Dan Gohman ", "repository": "https://github.com/sunfishcode/linux-raw-sys", "license": "Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT", @@ -1475,6 +2105,15 @@ "license_file": null, "description": "A collection of great and ubiqutitous macros." }, + { + "name": "malloc_buf", + "version": "0.0.6", + "authors": "Steven Sheldon", + "repository": "https://github.com/SSheldon/malloc_buf", + "license": "MIT", + "license_file": null, + "description": "Structs for handling malloc'd memory passed to Rust." + }, { "name": "maplit", "version": "1.0.2", @@ -1538,6 +2177,15 @@ "license_file": null, "description": "Provides extremely fast (uses SIMD on x86_64, aarch64 and wasm32) routines for 1, 2 or 3 byte search and single substring search." }, + { + "name": "memmap2", + "version": "0.7.1", + "authors": "Dan Burkert |Yevhenii Reizner ", + "repository": "https://github.com/RazrFalcon/memmap2-rs", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Cross-platform Rust API for memory-mapped file IO" + }, { "name": "memoffset", "version": "0.9.0", @@ -1547,6 +2195,15 @@ "license_file": null, "description": "offset_of functionality for Rust structs." }, + { + "name": "metal", + "version": "0.27.0", + "authors": "gfx-rs developers", + "repository": "https://github.com/gfx-rs/metal-rs", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Rust bindings for Metal" + }, { "name": "mime", "version": "0.3.17", @@ -1610,6 +2267,24 @@ "license_file": null, "description": "A multimap implementation." }, + { + "name": "naga", + "version": "0.14.1", + "authors": "Naga Developers", + "repository": "https://github.com/gfx-rs/naga", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Shader translation infrastructure" + }, + { + "name": "nanorand", + "version": "0.7.0", + "authors": "Lucy ", + "repository": "https://github.com/Absolucy/nanorand-rs", + "license": "Zlib", + "license_file": null, + "description": "A tiny, fast, zero-dep library for random number generation." + }, { "name": "native-tls", "version": "0.2.11", @@ -1700,6 +2375,15 @@ "license_file": null, "description": "Integer traits and functions" }, + { + "name": "num-rational", + "version": "0.4.1", + "authors": "The Rust Project Developers", + "repository": "https://github.com/rust-num/num-rational", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Rational numbers implementation for Rust" + }, { "name": "num-traits", "version": "0.2.17", @@ -1736,6 +2420,24 @@ "license_file": null, "description": "Internal implementation details for ::num_enum (Procedural macros to make inter-operation between primitives and enums easier)" }, + { + "name": "objc", + "version": "0.2.7", + "authors": "Steven Sheldon", + "repository": "http://github.com/SSheldon/rust-objc", + "license": "MIT", + "license_file": null, + "description": "Objective-C Runtime bindings and wrapper for Rust." + }, + { + "name": "objc_exception", + "version": "0.1.2", + "authors": "Steven Sheldon", + "repository": "http://github.com/SSheldon/rust-objc-exception", + "license": "MIT", + "license_file": null, + "description": "Rust interface for Objective-C's throw and try/catch statements." + }, { "name": "object", "version": "0.32.1", @@ -1756,7 +2458,7 @@ }, { "name": "openssl", - "version": "0.10.60", + "version": "0.10.61", "authors": "Steven Fackler ", "repository": "https://github.com/sfackler/rust-openssl", "license": "Apache-2.0", @@ -1783,7 +2485,7 @@ }, { "name": "openssl-sys", - "version": "0.9.96", + "version": "0.9.97", "authors": "Alex Crichton |Steven Fackler ", "repository": "https://github.com/sfackler/rust-openssl", "license": "MIT", @@ -1835,6 +2537,15 @@ "license_file": null, "description": "An advanced API for creating custom synchronization primitives." }, + { + "name": "password-hash", + "version": "0.4.2", + "authors": "RustCrypto Developers", + "repository": "https://github.com/RustCrypto/traits/tree/master/password-hash", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Traits which describe the functionality of password hashing algorithms, as well as a `no_std`-friendly implementation of the PHC string format (a well-defined subset of the Modular Crypt Format a.k.a. MCF)" + }, { "name": "paste", "version": "1.0.14", @@ -1844,6 +2555,15 @@ "license_file": null, "description": "Macros for all your token pasting needs" }, + { + "name": "pbkdf2", + "version": "0.11.0", + "authors": "RustCrypto Developers", + "repository": "https://github.com/RustCrypto/password-hashes/tree/master/pbkdf2", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Generic implementation of PBKDF2" + }, { "name": "percent-encoding", "version": "2.3.1", @@ -1988,6 +2708,24 @@ "license_file": null, "description": "A library to run the pkg-config system tool at build time in order to be used in Cargo build scripts." }, + { + "name": "png", + "version": "0.17.10", + "authors": "The image-rs Developers", + "repository": "https://github.com/image-rs/image-png.git", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "PNG decoding and encoding library in pure Rust" + }, + { + "name": "pollster", + "version": "0.3.0", + "authors": "Joshua Barretto ", + "repository": "https://github.com/zesterer/pollster", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Synchronously block the thread until a future completes" + }, { "name": "powerfmt", "version": "0.2.0", @@ -2015,6 +2753,15 @@ "license_file": null, "description": "A library intending to be a base dependency to expose a precomputed hash" }, + { + "name": "presser", + "version": "0.3.1", + "authors": "Embark |Gray Olson ", - "repository": "https://github.com/dtolnay/proc-macro-hack", - "license": "Apache-2.0 OR MIT", - "license_file": null, - "description": "Procedural macros in expression position" - }, { "name": "proc-macro2", "version": "1.0.70", @@ -2051,6 +2789,15 @@ "license_file": null, "description": "A substitute implementation of the compiler's `proc_macro` API to decouple token-based libraries from the procedural macro use case." }, + { + "name": "profiling", + "version": "1.0.11", + "authors": "Philip Degarmo ", + "repository": "https://github.com/aclysma/profiling", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "This crate provides a very thin abstraction over other profiler crates." + }, { "name": "prost", "version": "0.12.3", @@ -2105,6 +2852,24 @@ "license_file": null, "description": "A pull parser for CommonMark" }, + { + "name": "pulp", + "version": "0.18.6", + "authors": "sarah <>", + "repository": "https://github.com/sarah-ek/pulp/", + "license": "MIT", + "license_file": null, + "description": "Safe generic simd" + }, + { + "name": "qoi", + "version": "0.4.1", + "authors": "Ivan Smirnov ", + "repository": "https://github.com/aldanor/qoi-rust", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "VERY fast encoder/decoder for QOI (Quite Okay Image) format" + }, { "name": "quote", "version": "1.0.33", @@ -2114,6 +2879,24 @@ "license_file": null, "description": "Quasi-quoting macro quote!(...)" }, + { + "name": "r2d2", + "version": "0.8.10", + "authors": "Steven Fackler ", + "repository": "https://github.com/sfackler/r2d2", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "A generic connection pool" + }, + { + "name": "r2d2_sqlite", + "version": "0.23.0", + "authors": "Jovansonlee Cesar |Hugo Woesthuis |Jerebtw ", + "repository": "https://github.com/ivanceras/r2d2-sqlite", + "license": "MIT", + "license_file": null, + "description": "SQLite and SQLCipher support for the r2d2 connection pool" + }, { "name": "rand", "version": "0.7.3", @@ -2186,6 +2969,33 @@ "license_file": null, "description": "HC128 random number generator" }, + { + "name": "range-alloc", + "version": "0.1.3", + "authors": "the gfx-rs Developers", + "repository": "https://github.com/gfx-rs/range-alloc", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Generic range allocator" + }, + { + "name": "raw-cpuid", + "version": "10.7.0", + "authors": "Gerd Zellweger ", + "repository": "https://github.com/gz/rust-cpuid", + "license": "MIT", + "license_file": null, + "description": "A library to parse the x86 CPUID instruction, written in rust with no external dependencies. The implementation closely resembles the Intel CPUID manual description. The library does only depend on libcore." + }, + { + "name": "raw-window-handle", + "version": "0.5.2", + "authors": "Osspial ", + "repository": "https://github.com/rust-windowing/raw-window-handle", + "license": "Apache-2.0 OR MIT OR Zlib", + "license_file": null, + "description": "Interoperability library for Rust Windowing applications." + }, { "name": "rawpointer", "version": "0.2.1", @@ -2213,6 +3023,15 @@ "license_file": null, "description": "Core APIs for Rayon" }, + { + "name": "reborrow", + "version": "0.5.5", + "authors": "sarah <>", + "repository": "https://github.com/sarah-ek/reborrow/", + "license": "MIT", + "license_file": null, + "description": "Emulate reborrowing for user types." + }, { "name": "redox_syscall", "version": "0.4.1", @@ -2276,6 +3095,15 @@ "license_file": null, "description": "A regular expression parser." }, + { + "name": "renderdoc-sys", + "version": "1.0.0", + "authors": "Eyal Kalderon ", + "repository": "https://github.com/ebkalderon/renderdoc-rs", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Low-level bindings to the RenderDoc API" + }, { "name": "reqwest", "version": "0.11.22", @@ -2296,7 +3124,7 @@ }, { "name": "ring", - "version": "0.17.5", + "version": "0.17.7", "authors": "Brian Smith ", "repository": "https://github.com/briansmith/ring", "license": null, @@ -2350,7 +3178,7 @@ }, { "name": "rustix", - "version": "0.38.25", + "version": "0.38.26", "authors": "Dan Gohman |Jakub Konka ", "repository": "https://github.com/bytecodealliance/rustix", "license": "Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT", @@ -2411,6 +3239,15 @@ "license_file": null, "description": "Fast floating point to string conversion" }, + { + "name": "safetensors", + "version": "0.3.3", + "authors": null, + "repository": "https://github.com/huggingface/safetensors", + "license": "Apache-2.0", + "license_file": null, + "description": "Provides functions to read and write safetensors which aim to be safer than their PyTorch counterpart. The format is 8 bytes which is an unsized int, being the size of a JSON header, the JSON header refers the `dtype` the `shape` and `data_offsets` which are the offsets for the values in the rest of the file." + }, { "name": "same-file", "version": "1.0.6", @@ -2438,6 +3275,15 @@ "license_file": null, "description": "Schannel bindings for rust, allowing SSL/TLS (e.g. https) without openssl" }, + { + "name": "scheduled-thread-pool", + "version": "0.2.7", + "authors": "Steven Fackler ", + "repository": "https://github.com/sfackler/scheduled-thread-pool", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "A scheduled thread pool" + }, { "name": "scopeguard", "version": "1.2.0", @@ -2492,6 +3338,15 @@ "license_file": null, "description": "Safe-to-use proc-macro-free self-referential structs in stable Rust." }, + { + "name": "seq-macro", + "version": "0.3.5", + "authors": "David Tolnay ", + "repository": "https://github.com/dtolnay/seq-macro", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Macro to repeat sequentially indexed copies of a fragment of code." + }, { "name": "serde", "version": "1.0.193", @@ -2503,9 +3358,9 @@ }, { "name": "serde-aux", - "version": "4.2.0", + "version": "4.3.1", "authors": "Victor Polevoy ", - "repository": "https://github.com/vityafx/serde-aux", + "repository": "https://github.com/iddm/serde-aux", "license": "MIT", "license_file": null, "description": "A serde crate's auxiliary library" @@ -2555,6 +3410,15 @@ "license_file": null, "description": "Derive Serialize and Deserialize that delegates to the underlying repr of a C-like enum." }, + { + "name": "serde_rusqlite", + "version": "0.34.0", + "authors": "Pro ", + "repository": "https://github.com/twistedfall/serde_rusqlite", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Serialize/deserialize rusqlite rows" + }, { "name": "serde_tuple", "version": "0.5.0", @@ -2591,6 +3455,15 @@ "license_file": null, "description": "SHA-1 hash function" }, + { + "name": "sha2", + "version": "0.10.8", + "authors": "RustCrypto Developers", + "repository": "https://github.com/RustCrypto/hashes", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Pure Rust implementation of the SHA-2 hash function family including SHA-224, SHA-256, SHA-384, and SHA-512." + }, { "name": "sharded-slab", "version": "0.1.7", @@ -2600,6 +3473,15 @@ "license_file": null, "description": "A lock-free concurrent slab." }, + { + "name": "signal-hook", + "version": "0.3.17", + "authors": "Michal 'vorner' Vaner |Thomas Himmelstoss ", + "repository": "https://github.com/vorner/signal-hook", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Unix signal handling" + }, { "name": "signal-hook-registry", "version": "1.4.1", @@ -2609,6 +3491,15 @@ "license_file": null, "description": "Backend crate for signal-hook" }, + { + "name": "simd-adler32", + "version": "0.3.7", + "authors": "Marvin Countryman ", + "repository": "https://github.com/mcountryman/simd-adler32", + "license": "MIT", + "license_file": null, + "description": "A SIMD-accelerated Adler-32 hash algorithm implementation." + }, { "name": "siphasher", "version": "0.3.11", @@ -2627,6 +3518,15 @@ "license_file": null, "description": "Pre-allocated storage for a uniform data type" }, + { + "name": "slotmap", + "version": "1.0.7", + "authors": "Orson Peters ", + "repository": "https://github.com/orlp/slotmap", + "license": "Zlib", + "license_file": null, + "description": "Slotmap data structure" + }, { "name": "smallvec", "version": "1.11.2", @@ -2690,6 +3590,33 @@ "license_file": null, "description": "Spin-based synchronization primitives" }, + { + "name": "spirv", + "version": "0.2.0+1.5.4", + "authors": "Lei Zhang ", + "repository": "https://github.com/gfx-rs/rspirv", + "license": "Apache-2.0", + "license_file": null, + "description": "Rust definition of SPIR-V structs and enums" + }, + { + "name": "stable_deref_trait", + "version": "1.2.0", + "authors": "Robert Grosse ", + "repository": "https://github.com/storyyeller/stable_deref_trait", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "An unsafe marker trait for types like Box and Rc that dereference to a stable address even when moved, and hence can be used with libraries such as owning_ref and rental." + }, + { + "name": "static_assertions", + "version": "1.1.0", + "authors": "Nikolai Vazquez", + "repository": "https://github.com/nvzqz/static-assertions-rs", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Compile-time assertions to ensure that invariants are met." + }, { "name": "string_cache", "version": "0.8.7", @@ -2762,6 +3689,15 @@ "license_file": null, "description": "A tool for enlisting the compiler’s help in proving the absence of concurrency" }, + { + "name": "synstructure", + "version": "0.13.0", + "authors": "Nika Layzell ", + "repository": "https://github.com/mystor/synstructure", + "license": "MIT", + "license_file": null, + "description": "Helper methods and macros for custom derives" + }, { "name": "system-configuration", "version": "0.5.1", @@ -2780,6 +3716,15 @@ "license_file": null, "description": "Low level bindings to SystemConfiguration framework for macOS" }, + { + "name": "tch", + "version": "0.14.0", + "authors": "Laurent Mazare ", + "repository": "https://github.com/LaurentMazare/tch-rs", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Rust wrappers for the PyTorch C++ api (libtorch)." + }, { "name": "tempfile", "version": "3.8.1", @@ -2798,6 +3743,24 @@ "license_file": null, "description": "Compact buffer/string type for zero-copy parsing" }, + { + "name": "termcolor", + "version": "1.4.0", + "authors": "Andrew Gallant ", + "repository": "https://github.com/BurntSushi/termcolor", + "license": "MIT OR Unlicense", + "license_file": null, + "description": "A simple cross platform library for writing colored text to a terminal." + }, + { + "name": "text_placeholder", + "version": "0.5.0", + "authors": "Bernardo Araujo ", + "repository": "https://github.com/bernardoamc/text-placeholder", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "A flexible text template engine" + }, { "name": "thiserror", "version": "1.0.50", @@ -2834,6 +3797,15 @@ "license_file": null, "description": "Per-object thread-local storage" }, + { + "name": "tiff", + "version": "0.9.0", + "authors": "The image-rs Developers", + "repository": "https://github.com/image-rs/image-tiff", + "license": "MIT", + "license_file": null, + "description": "TIFF decoding and encoding library in pure Rust" + }, { "name": "time", "version": "0.3.30", @@ -2942,6 +3914,15 @@ "license_file": null, "description": "Additional utilities for working with Tokio." }, + { + "name": "toml", + "version": "0.5.11", + "authors": "Alex Crichton ", + "repository": "https://github.com/toml-rs/toml", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "A native Rust encoder and decoder of TOML-formatted files and streams. Provides implementations of the standard Serialize/Deserialize traits for TOML data to facilitate deserializing and serializing Rust structures." + }, { "name": "toml_datetime", "version": "0.6.5", @@ -2960,6 +3941,15 @@ "license_file": null, "description": "Yet another format-preserving TOML parser." }, + { + "name": "torch-sys", + "version": "0.14.0", + "authors": "Laurent Mazare ", + "repository": "https://github.com/LaurentMazare/tch-rs", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Low-level FFI bindings for the PyTorch C++ api (libtorch)." + }, { "name": "tower", "version": "0.4.13", @@ -3106,7 +4096,7 @@ }, { "name": "unic-langid", - "version": "0.9.1", + "version": "0.9.3", "authors": "Zibi Braniecki ", "repository": "https://github.com/zbraniecki/unic-locale", "license": "Apache-2.0 OR MIT", @@ -3115,7 +4105,7 @@ }, { "name": "unic-langid-impl", - "version": "0.9.1", + "version": "0.9.3", "authors": "Zibi Braniecki ", "repository": "https://github.com/zbraniecki/unic-locale", "license": "Apache-2.0 OR MIT", @@ -3124,7 +4114,7 @@ }, { "name": "unic-langid-macros", - "version": "0.9.1", + "version": "0.9.3", "authors": "Manish Goregaokar |Zibi Braniecki ", "repository": "https://github.com/zbraniecki/unic-locale", "license": "Apache-2.0 OR MIT", @@ -3133,7 +4123,7 @@ }, { "name": "unic-langid-macros-impl", - "version": "0.9.1", + "version": "0.9.3", "authors": "Manish Goregaokar |Zibi Braniecki ", "repository": "https://github.com/zbraniecki/unic-locale", "license": "Apache-2.0 OR MIT", @@ -3212,6 +4202,15 @@ "license_file": null, "description": "Determine displayed width of `char` and `str` types according to Unicode Standard Annex #11 rules." }, + { + "name": "unicode-xid", + "version": "0.2.4", + "authors": "erick.tryzelaar |kwantam |Manish Goregaokar ", + "repository": "https://github.com/unicode-rs/unicode-xid", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Determine whether characters have the XID_Start or XID_Continue properties according to Unicode Standard Annex #31." + }, { "name": "untrusted", "version": "0.9.0", @@ -3221,6 +4220,15 @@ "license_file": null, "description": "Safe, fast, zero-panic, zero-crashing, zero-allocation parsing of untrusted inputs in Rust." }, + { + "name": "ureq", + "version": "2.9.1", + "authors": "Martin Algesten |Jacob Hoffman-Andrews ", + "repository": "https://github.com/algesten/ureq", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Simple, safe HTTP client" + }, { "name": "url", "version": "2.5.0", @@ -3331,7 +4339,7 @@ }, { "name": "wasm-bindgen", - "version": "0.2.88", + "version": "0.2.89", "authors": "The wasm-bindgen Developers", "repository": "https://github.com/rustwasm/wasm-bindgen", "license": "Apache-2.0 OR MIT", @@ -3340,7 +4348,7 @@ }, { "name": "wasm-bindgen-backend", - "version": "0.2.88", + "version": "0.2.89", "authors": "The wasm-bindgen Developers", "repository": "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/backend", "license": "Apache-2.0 OR MIT", @@ -3349,7 +4357,7 @@ }, { "name": "wasm-bindgen-futures", - "version": "0.4.38", + "version": "0.4.39", "authors": "The wasm-bindgen Developers", "repository": "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/futures", "license": "Apache-2.0 OR MIT", @@ -3358,7 +4366,7 @@ }, { "name": "wasm-bindgen-macro", - "version": "0.2.88", + "version": "0.2.89", "authors": "The wasm-bindgen Developers", "repository": "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/macro", "license": "Apache-2.0 OR MIT", @@ -3367,7 +4375,7 @@ }, { "name": "wasm-bindgen-macro-support", - "version": "0.2.88", + "version": "0.2.89", "authors": "The wasm-bindgen Developers", "repository": "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/macro-support", "license": "Apache-2.0 OR MIT", @@ -3376,7 +4384,7 @@ }, { "name": "wasm-bindgen-shared", - "version": "0.2.88", + "version": "0.2.89", "authors": "The wasm-bindgen Developers", "repository": "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/shared", "license": "Apache-2.0 OR MIT", @@ -3394,7 +4402,7 @@ }, { "name": "web-sys", - "version": "0.3.65", + "version": "0.3.64", "authors": "The wasm-bindgen Developers", "repository": "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/web-sys", "license": "Apache-2.0 OR MIT", @@ -3410,6 +4418,51 @@ "license_file": null, "description": "Mozilla's CA root certificates for use with webpki" }, + { + "name": "weezl", + "version": "0.1.7", + "authors": "HeroicKatora ", + "repository": "https://github.com/image-rs/lzw.git", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Fast LZW compression and decompression." + }, + { + "name": "wgpu", + "version": "0.18.0", + "authors": "wgpu developers", + "repository": "https://github.com/gfx-rs/wgpu", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Rusty WebGPU API wrapper" + }, + { + "name": "wgpu-core", + "version": "0.18.1", + "authors": "wgpu developers", + "repository": "https://github.com/gfx-rs/wgpu", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "WebGPU core logic on wgpu-hal" + }, + { + "name": "wgpu-hal", + "version": "0.18.1", + "authors": "wgpu developers", + "repository": "https://github.com/gfx-rs/wgpu", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "WebGPU hardware abstraction layer" + }, + { + "name": "wgpu-types", + "version": "0.18.0", + "authors": "wgpu developers", + "repository": "https://github.com/gfx-rs/wgpu", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "WebGPU types" + }, { "name": "which", "version": "4.4.2", @@ -3419,6 +4472,15 @@ "license_file": null, "description": "A Rust equivalent of Unix command \"which\". Locate installed executable in cross platforms." }, + { + "name": "widestring", + "version": "1.0.2", + "authors": null, + "repository": "https://github.com/starkat99/widestring-rs", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "A wide string Rust library for converting to and from wide strings, such as those often used in Windows API or other FFI libaries. Both `u16` and `u32` string types are provided, including support for UTF-16 and UTF-32, malformed encoding, C-style strings, etc." + }, { "name": "winapi", "version": "0.3.9", @@ -3455,6 +4517,15 @@ "license_file": null, "description": "Import libraries for the x86_64-pc-windows-gnu target. Please don't use this crate directly, depend on winapi instead." }, + { + "name": "windows", + "version": "0.51.1", + "authors": "Microsoft", + "repository": "https://github.com/microsoft/windows-rs", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Rust for Windows" + }, { "name": "windows", "version": "0.52.0", @@ -3491,6 +4562,15 @@ "license_file": null, "description": "Rust for Windows" }, + { + "name": "windows-sys", + "version": "0.52.0", + "authors": "Microsoft", + "repository": "https://github.com/microsoft/windows-rs", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Rust for Windows" + }, { "name": "windows-targets", "version": "0.48.5", @@ -3637,7 +4717,7 @@ }, { "name": "winnow", - "version": "0.5.19", + "version": "0.5.25", "authors": null, "repository": "https://github.com/winnow-rs/winnow", "license": "MIT", @@ -3655,16 +4735,43 @@ }, { "name": "wiremock", - "version": "0.5.21", + "version": "0.5.22", "authors": "Luca Palmieri ", "repository": "https://github.com/LukeMathWalker/wiremock-rs", "license": "Apache-2.0 OR MIT", "license_file": null, "description": "HTTP mocking to test Rust applications." }, + { + "name": "xml-rs", + "version": "0.8.19", + "authors": "Vladimir Matveev ", + "repository": "https://github.com/kornelski/xml-rs", + "license": "MIT", + "license_file": null, + "description": "An XML library in pure Rust" + }, + { + "name": "yoke", + "version": "0.7.3", + "authors": "Manish Goregaokar ", + "repository": "https://github.com/unicode-org/icu4x", + "license": null, + "license_file": "LICENSE", + "description": "Abstraction allowing borrowed data to be carried along with the backing data it borrows from" + }, + { + "name": "yoke-derive", + "version": "0.7.3", + "authors": "Manish Goregaokar ", + "repository": "https://github.com/unicode-org/icu4x", + "license": null, + "license_file": "LICENSE", + "description": "Custom derive for the yoke crate" + }, { "name": "zerocopy", - "version": "0.7.26", + "version": "0.7.29", "authors": "Joshua Liebow-Feeser ", "repository": "https://github.com/google/zerocopy", "license": "Apache-2.0 OR BSD-2-Clause OR MIT", @@ -3673,13 +4780,31 @@ }, { "name": "zerocopy-derive", - "version": "0.7.26", + "version": "0.7.29", "authors": "Joshua Liebow-Feeser ", "repository": "https://github.com/google/zerocopy", "license": "Apache-2.0 OR BSD-2-Clause OR MIT", "license_file": null, "description": "Custom derive for traits from the zerocopy crate" }, + { + "name": "zerofrom", + "version": "0.1.3", + "authors": "Manish Goregaokar ", + "repository": "https://github.com/unicode-org/icu4x", + "license": null, + "license_file": "LICENSE", + "description": "ZeroFrom trait for constructing" + }, + { + "name": "zerofrom-derive", + "version": "0.1.3", + "authors": "Manish Goregaokar ", + "repository": "https://github.com/unicode-org/icu4x", + "license": null, + "license_file": "LICENSE", + "description": "Custom derive for the zerofrom crate" + }, { "name": "zip", "version": "0.6.6", @@ -3689,6 +4814,15 @@ "license_file": null, "description": "Library to support the reading and writing of zip files." }, + { + "name": "zstd", + "version": "0.11.2+zstd.1.5.2", + "authors": "Alexandre Bury ", + "repository": "https://github.com/gyscos/zstd-rs", + "license": "MIT", + "license_file": null, + "description": "Binding for the zstd compression library." + }, { "name": "zstd", "version": "0.13.0", @@ -3698,6 +4832,15 @@ "license_file": null, "description": "Binding for the zstd compression library." }, + { + "name": "zstd-safe", + "version": "5.0.2+zstd.1.5.2", + "authors": "Alexandre Bury ", + "repository": "https://github.com/gyscos/zstd-rs", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Safe low-level bindings for the zstd compression library." + }, { "name": "zstd-safe", "version": "7.0.0", @@ -3715,5 +4858,14 @@ "license": "Apache-2.0 OR MIT", "license_file": null, "description": "Low-level bindings for the zstd compression library." + }, + { + "name": "zune-inflate", + "version": "0.2.54", + "authors": null, + "repository": null, + "license": "Apache-2.0 OR MIT OR Zlib", + "license_file": null, + "description": "A heavily optimized deflate decompressor in Pure Rust" } ] diff --git a/rslib/src/scheduler/answering/mod.rs b/rslib/src/scheduler/answering/mod.rs index d27b799b4..501217e80 100644 --- a/rslib/src/scheduler/answering/mod.rs +++ b/rslib/src/scheduler/answering/mod.rs @@ -369,8 +369,8 @@ impl Collection { revlog, timing.next_day_at, config.inner.sm2_retention, - ); - card.set_memory_state(&fsrs, item, config.inner.sm2_retention); + )?; + card.set_memory_state(&fsrs, item, config.inner.sm2_retention)?; } let days_elapsed = self .storage @@ -381,7 +381,7 @@ impl Collection { card.memory_state.map(Into::into), config.inner.desired_retention, days_elapsed, - )) + )?) } else { None }; diff --git a/rslib/src/scheduler/fsrs/error.rs b/rslib/src/scheduler/fsrs/error.rs index fbea5eacf..b43f4d133 100644 --- a/rslib/src/scheduler/fsrs/error.rs +++ b/rslib/src/scheduler/fsrs/error.rs @@ -4,6 +4,7 @@ use fsrs::FSRSError; use crate::error::AnkiError; +use crate::error::InvalidInputError; impl From for AnkiError { fn from(err: FSRSError) -> Self { @@ -12,6 +13,13 @@ impl From for AnkiError { FSRSError::OptimalNotFound => AnkiError::FsrsUnableToDetermineDesiredRetention, FSRSError::Interrupted => AnkiError::Interrupted, FSRSError::InvalidWeights => AnkiError::FsrsWeightsInvalid, + FSRSError::InvalidInput => AnkiError::InvalidInput { + source: InvalidInputError { + message: "invalid weights provided".to_string(), + source: None, + backtrace: None, + }, + }, } } } diff --git a/rslib/src/scheduler/fsrs/memory_state.rs b/rslib/src/scheduler/fsrs/memory_state.rs index fc2acbe8c..abdb78e8c 100644 --- a/rslib/src/scheduler/fsrs/memory_state.rs +++ b/rslib/src/scheduler/fsrs/memory_state.rs @@ -64,7 +64,7 @@ impl Collection { revlog, timing.next_day_at, sm2_retention.unwrap_or(0.9), - ); + )?; let desired_retention = req.as_ref().map(|w| w.desired_retention); let mut progress = self.new_progress_handler::(); progress.update(false, |s| s.total_cards = items.len() as u32)?; @@ -73,7 +73,7 @@ impl Collection { let mut card = self.storage.get_card(card_id)?.or_not_found(card_id)?; let original = card.clone(); if let Some(req) = &req { - card.set_memory_state(&fsrs, item, sm2_retention.unwrap()); + card.set_memory_state(&fsrs, item, sm2_retention.unwrap())?; card.desired_retention = desired_retention; // if rescheduling if let Some(reviews) = &last_revlog_info { @@ -148,8 +148,8 @@ impl Collection { revlog, self.timing_today()?.next_day_at, sm2_retention, - ); - card.set_memory_state(&fsrs, item, sm2_retention); + )?; + card.set_memory_state(&fsrs, item, sm2_retention)?; Ok(ComputeMemoryStateResponse { state: card.memory_state.map(Into::into), desired_retention, @@ -163,22 +163,21 @@ impl Card { fsrs: &FSRS, item: Option, sm2_retention: f32, - ) { - self.memory_state = item - .map(|i| fsrs.memory_state(i.item, i.starting_state)) - .or_else(|| { - if self.ctype == CardType::New || self.interval == 0 { - None - } else { - // no valid revlog entries; infer state from current card state - Some(fsrs.memory_state_from_sm2( - self.ease_factor(), - self.interval as f32, - sm2_retention, - )) - } - }) - .map(Into::into); + ) -> Result<()> { + let memory_state = if let Some(i) = item { + Some(fsrs.memory_state(i.item, i.starting_state)?) + } else if self.ctype == CardType::New || self.interval == 0 { + None + } else { + // no valid revlog entries; infer state from current card state + Some(fsrs.memory_state_from_sm2( + self.ease_factor(), + self.interval as f32, + sm2_retention, + )?) + }; + self.memory_state = memory_state.map(Into::into); + Ok(()) } } @@ -197,16 +196,16 @@ pub(crate) fn fsrs_items_for_memory_state( revlogs: Vec, next_day_at: TimestampSecs, sm2_retention: f32, -) -> Vec<(CardId, Option)> { +) -> Result)>> { revlogs .into_iter() .group_by(|r| r.cid) .into_iter() .map(|(card_id, group)| { - ( + Ok(( card_id, - single_card_revlog_to_item(fsrs, group.collect(), next_day_at, sm2_retention), - ) + single_card_revlog_to_item(fsrs, group.collect(), next_day_at, sm2_retention)?, + )) }) .collect() } @@ -258,7 +257,7 @@ pub(crate) fn single_card_revlog_to_item( entries: Vec, next_day_at: TimestampSecs, sm2_retention: f32, -) -> Option { +) -> Result> { struct FirstReview { interval: f32, ease_factor: f32, @@ -281,32 +280,32 @@ pub(crate) fn single_card_revlog_to_item( let mut item = items.pop().unwrap(); if found_learning { // we assume the revlog is complete - Some(FsrsItemWithStartingState { + Ok(Some(FsrsItemWithStartingState { item, starting_state: None, - }) + })) } else if let Some(first_review) = first_review { // the revlog has been truncated, but not fully let starting_state = fsrs.memory_state_from_sm2( first_review.ease_factor, first_review.interval, sm2_retention, - ); + )?; item.reviews.remove(0); if item.reviews.is_empty() { - None + Ok(None) } else { - Some(FsrsItemWithStartingState { + Ok(Some(FsrsItemWithStartingState { item, starting_state: Some(starting_state), - }) + })) } } else { // only manual rescheduling; treat like empty - None + Ok(None) } } else { - None + Ok(None) } } @@ -321,7 +320,7 @@ mod tests { use crate::scheduler::fsrs::weights::tests::revlog; #[test] - fn bypassed_learning_is_handled() { + fn bypassed_learning_is_handled() -> Result<()> { // cards without any learning steps due to truncated history still have memory // state calculated let fsrs = FSRS::new(Some(&[])).unwrap(); @@ -337,7 +336,7 @@ mod tests { ], TimestampSecs::now(), 0.9, - ) + )? .unwrap(); assert_eq!( item.starting_state, @@ -347,7 +346,7 @@ mod tests { }) ); let mut card = Card::default(); - card.set_memory_state(&fsrs, Some(item), 0.9); + card.set_memory_state(&fsrs, Some(item), 0.9)?; assert_eq!( card.memory_state, Some(FsrsMemoryState { @@ -366,12 +365,12 @@ mod tests { }], TimestampSecs::now(), 0.9, - ); + )?; assert!(item.is_none()); card.interval = 123; card.ease_factor = 2000; card.ctype = CardType::Review; - card.set_memory_state(&fsrs, item, 0.9); + card.set_memory_state(&fsrs, item, 0.9)?; assert_eq!( card.memory_state, Some(FsrsMemoryState { @@ -379,10 +378,11 @@ mod tests { difficulty: 6.5147333 }) ); + Ok(()) } #[test] - fn zero_history_is_handled() { + fn zero_history_is_handled() -> Result<()> { // when the history is empty, no items are produced assert_eq!(convert(&[], false), None); // but memory state should still be inferred, by using the card's current state @@ -392,7 +392,7 @@ mod tests { ease_factor: 1300, ..Default::default() }; - card.set_memory_state(&FSRS::new(Some(&[])).unwrap(), None, 0.9); + card.set_memory_state(&FSRS::new(Some(&[])).unwrap(), None, 0.9)?; assert_eq!( card.memory_state, Some( @@ -403,5 +403,6 @@ mod tests { .into() ) ); + Ok(()) } }