From d3d3629f3cf2c528d786a252b1db27a2367165d0 Mon Sep 17 00:00:00 2001 From: Cael Date: Fri, 2 Aug 2024 12:33:49 +0800 Subject: [PATCH] chore: release 0.2.11 --- Cargo.lock | 59 +++++++++++++++++++-------- Cargo.toml | 2 +- docs/book.toml | 4 +- docs/src/global-embedding.md | 4 +- docs/src/local/announcement-banner.md | 6 +-- 5 files changed, 50 insertions(+), 25 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 47dfb1c..a3d8f3d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -182,15 +182,15 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.6.1" +version = "1.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a12916984aab3fa6e39d655a33e09c0071eb36d6ab3aea5c2d78551f1df6d952" +checksum = "8318a53db07bb3f8dca91a600466bdb3f2eaadeedfdbcf02e1accbad9271ba50" [[package]] name = "cc" -version = "1.1.6" +version = "1.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2aba8f4e9906c7ce3c73463f62a7f0c65183ada1a2d47e397cc8810827f9694f" +checksum = "26a5c3fd7bfa1ce3897a3a3501d362b2d87b7f2583ebcb4a949ec25911025cbc" [[package]] name = "cfg-if" @@ -212,18 +212,18 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.11" +version = "4.5.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35723e6a11662c2afb578bcf0b88bf6ea8e21282a953428f240574fcc3a2b5b3" +checksum = "0fbb260a053428790f3de475e304ff84cdbc4face759ea7a3e64c1edd938a7fc" dependencies = [ "clap_builder", ] [[package]] name = "clap_builder" -version = "4.5.11" +version = "4.5.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49eb96cbfa7cfa35017b7cd548c75b14c3118c98b423041d70562665e07fb0fa" +checksum = "64b17d7ea74e9f833c7dbf2cbe4fb12ff26783eda4782a8975b72f895c9b4d99" dependencies = [ "anstream", "anstyle", @@ -234,9 +234,9 @@ dependencies = [ [[package]] name = "clap_complete" -version = "4.5.11" +version = "4.5.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6ae69fbb0833c6fcd5a8d4b8609f108c7ad95fc11e248d853ff2c42a90df26a" +checksum = "a8670053e87c316345e384ca1f3eba3006fc6355ed8b8a1140d104e109e3df34" dependencies = [ "clap", ] @@ -754,9 +754,9 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.2.6" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26" +checksum = "de3fc2e30ba82dd1b3911c8de1ffc143c74a914a14e99514d7637e3099df5ea0" dependencies = [ "equivalent", "hashbrown", @@ -925,7 +925,7 @@ dependencies = [ [[package]] name = "mdbook-embedify" -version = "0.2.10" +version = "0.2.11" dependencies = [ "clap", "mdbook", @@ -1248,9 +1248,12 @@ checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" [[package]] name = "ppv-lite86" -version = "0.2.17" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" +checksum = "dee4364d9f3b902ef14fab8a1ddffb783a1cb6b4bba3bfc1fa3922732c7de97f" +dependencies = [ + "zerocopy", +] [[package]] name = "precomputed-hash" @@ -1492,11 +1495,12 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.120" +version = "1.0.122" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e0d21c9a8cae1235ad58a00c11cb40d4b1e5c784f1ef2c537876ed6ffd8b7c5" +checksum = "784b6203951c57ff748476b126ccb5e8e2959a5c19e5c617ab1956be3dbc68da" dependencies = [ "itoa", + "memchr", "ryu", "serde", ] @@ -2163,3 +2167,24 @@ name = "windows_x86_64_msvc" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" + +[[package]] +name = "zerocopy" +version = "0.6.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "854e949ac82d619ee9a14c66a1b674ac730422372ccb759ce0c39cabcf2bf8e6" +dependencies = [ + "byteorder", + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.6.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "125139de3f6b9d625c39e2efdd73d41bdac468ccd556556440e322be0e1bbd91" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] diff --git a/Cargo.toml b/Cargo.toml index b64cede..a6d2095 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mdbook-embedify" -version = "0.2.10" +version = "0.2.11" edition = "2021" license = "MIT" readme = "README.md" diff --git a/docs/book.toml b/docs/book.toml index 4e50947..aca64a5 100644 --- a/docs/book.toml +++ b/docs/book.toml @@ -50,9 +50,9 @@ footer.enable = true footer.message = "Copyright © 2024 • Created with ❤️ by [MR-Addict](https://github.com/MR-Addict)" announcement-banner.enable = true -announcement-banner.id = "0.2.10" +announcement-banner.id = "0.2.11" announcement-banner.theme = "default" -announcement-banner.message = "*Version **0.2.10** now has relased, check it out [here](https://github.com/MR-Addict/mdbook-embedify/releases/tag/0.2.10).*" +announcement-banner.message = "*Version **0.2.11** now has relased, check it out [here](https://github.com/MR-Addict/mdbook-embedify/releases/tag/0.2.11).*" giscus.enable = true giscus.repo = "MR-Addict/mdbook-embedify" diff --git a/docs/src/global-embedding.md b/docs/src/global-embedding.md index 61ce31f..4389dfe 100644 --- a/docs/src/global-embedding.md +++ b/docs/src/global-embedding.md @@ -27,9 +27,9 @@ footer.enable = true footer.message = "Copyright © 2024 • Created with ❤️ by [MR-Addict](https://github.com/MR-Addict)" announcement-banner.enable = true -announcement-banner.id = "0.2.10" +announcement-banner.id = "0.2.11" announcement-banner.theme = "default" -announcement-banner.message = "*Version **0.2.10** now has relased, check it out [here](https://github.com/MR-Addict/mdbook-embedify/releases/tag/0.2.10).*" +announcement-banner.message = "*Version **0.2.11** now has relased, check it out [here](https://github.com/MR-Addict/mdbook-embedify/releases/tag/0.2.11).*" giscus.enable = true giscus.repo = "MR-Addict/mdbook-embedify" diff --git a/docs/src/local/announcement-banner.md b/docs/src/local/announcement-banner.md index f03b0da..e93fc67 100644 --- a/docs/src/local/announcement-banner.md +++ b/docs/src/local/announcement-banner.md @@ -15,7 +15,7 @@ Announcement banner allows you put important messages at the top of the page. It ```text -{% embed announcement-banner id="0.2.10" theme="default" message="*Version **0.2.10** now has relased, check it out [here](https://github.com/MR-Addict/mdbook-embedify/releases/tag/0.2.10).*" %} +{% embed announcement-banner id="0.2.11" theme="default" message="*Version **0.2.11** now has relased, check it out [here](https://github.com/MR-Addict/mdbook-embedify/releases/tag/0.2.11).*" %} ``` @@ -26,9 +26,9 @@ However, you may want to enable it for the whole book. You can do this by adding ```toml announcement-banner.enable = true -announcement-banner.id = "0.2.10" +announcement-banner.id = "0.2.11" announcement-banner.theme = "default" -announcement-banner.message = "*Version **0.2.10** now has relased, check it out [here](https://github.com/MR-Addict/mdbook-embedify/releases/tag/0.2.10).*" +announcement-banner.message = "*Version **0.2.11** now has relased, check it out [here](https://github.com/MR-Addict/mdbook-embedify/releases/tag/0.2.11).*" ``` Note that announcement banner id must be **unique**, otherwise it won't be shown if there is another announcement banner with the same id when user closed it.