From 2476af331269ddbdb45b263072d8fbe7ae38b073 Mon Sep 17 00:00:00 2001 From: Jan Hohenheim Date: Tue, 6 Feb 2024 10:34:50 +0100 Subject: [PATCH] Publish as_any PR --- .github/workflows/ci.yml | 10 +++-- Cargo.lock | 70 ++++++++++++++++++----------------- crates/bevy_plugin/Cargo.toml | 2 +- crates/runtime/Cargo.toml | 2 +- crates/yarnspinner/Cargo.toml | 2 +- 5 files changed, 45 insertions(+), 41 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5204a343..bbff3eb8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: toolchain: stable components: clippy - name: Cache Cargo build files - uses: Leafwing-Studios/cargo-cache@v1.0.0 + uses: Leafwing-Studios/cargo-cache@v1 - name: Install alsa and udev run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev - name: Run cargo clippy @@ -48,7 +48,7 @@ jobs: toolchain: stable components: rustfmt - name: Cache Cargo build files - uses: Leafwing-Studios/cargo-cache@v1.0.0 + uses: Leafwing-Studios/cargo-cache@v1 - name: Run cargo fmt run: cargo fmt --check --all @@ -65,7 +65,7 @@ jobs: with: toolchain: stable - name: Cache Cargo build files - uses: Leafwing-Studios/cargo-cache@v1.0.0 + uses: Leafwing-Studios/cargo-cache@v1 - name: Install alsa and udev run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev - name: Run cargo doc @@ -81,8 +81,10 @@ jobs: with: toolchain: stable - name: Cache Cargo build files - uses: Leafwing-Studios/cargo-cache@v1.0.0 + uses: Leafwing-Studios/cargo-cache@v1 - name: Install alsa and udev run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev - name: Run cargo test run: cargo test --workspace --all-features + - name: Run doc tests + run: cargo test --workspace --doc diff --git a/Cargo.lock b/Cargo.lock index 83df2ca5..9fabd73f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -187,9 +187,9 @@ dependencies = [ [[package]] name = "anstyle" -version = "1.0.5" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2faccea4cc4ab4a667ce676a30e8ec13922a692c99bb8f5b11f1502c72e04220" +checksum = "8901269c6307e8d93993578286ac0edf7f195079ffff5ebdeea6a59ffb7e36bc" [[package]] name = "antlr-rust" @@ -672,7 +672,7 @@ dependencies = [ "bevy", "bevy-inspector-egui", "egui_dock", - "indexmap 2.2.1", + "indexmap 2.2.2", ] [[package]] @@ -686,7 +686,7 @@ dependencies = [ "bevy_editor_pls_core", "bevy_mod_debugdump", "egui-gizmo", - "indexmap 2.2.1", + "indexmap 2.2.2", "opener", "pretty-type-name", ] @@ -1259,7 +1259,7 @@ dependencies = [ [[package]] name = "bevy_yarnspinner" -version = "0.1.1" +version = "0.1.2" dependencies = [ "anyhow", "bevy", @@ -1296,16 +1296,16 @@ dependencies = [ [[package]] name = "bindgen" -version = "0.69.2" +version = "0.69.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4c69fae65a523209d34240b60abe0c42d33d1045d445c0839d8a4894a736e2d" +checksum = "a00dc851838a2120612785d195287475a3ac45514741da670b735818822129a0" dependencies = [ "bitflags 2.4.2", "cexpr", "clang-sys", + "itertools 0.12.1", "lazy_static", "lazycell", - "peeking_take_while", "proc-macro2", "quote", "regex", @@ -2561,9 +2561,9 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.2.1" +version = "2.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "433de089bd45971eecf4668ee0ee8f4cec17db4f8bd8f7bc3197a6ce37aa7d9b" +checksum = "824b2ae422412366ba479e8111fd301f7b5faece8149317bb81925979a53f520" dependencies = [ "equivalent", "hashbrown 0.14.3", @@ -2637,6 +2637,15 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" +dependencies = [ + "either", +] + [[package]] name = "itoa" version = "1.0.10" @@ -2782,9 +2791,9 @@ dependencies = [ [[package]] name = "libc" -version = "0.2.152" +version = "0.2.153" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13e3bf6590cbc649f4d1a3eefc9d5d6eb746f5200ffb04e5e142700b8faa56e7" +checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" [[package]] name = "libloading" @@ -2920,9 +2929,9 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" [[package]] name = "miniz_oxide" -version = "0.7.1" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7" +checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7" dependencies = [ "adler", "simd-adler32", @@ -3417,12 +3426,6 @@ version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" -[[package]] -name = "peeking_take_while" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099" - [[package]] name = "percent-encoding" version = "2.3.1" @@ -3436,7 +3439,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e1d3afd2628e69da2be385eb6f2fd57c8ac7977ceeff6dc166ff1657b0e386a9" dependencies = [ "fixedbitset", - "indexmap 2.2.1", + "indexmap 2.2.2", ] [[package]] @@ -3573,7 +3576,7 @@ checksum = "c55e02e35260070b6f716a2423c2ff1c3bb1642ddca6f99e1f26d06268a0e2d2" dependencies = [ "bytes", "heck", - "itertools", + "itertools 0.11.0", "log", "multimap", "once_cell", @@ -3594,7 +3597,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "efb6c9a1dd1def8e2124d17e83a20af56f1570d6c2d2bd9e266ccb768df3840e" dependencies = [ "anyhow", - "itertools", + "itertools 0.11.0", "proc-macro2", "quote", "syn 2.0.48", @@ -3791,9 +3794,9 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" [[package]] name = "rustix" -version = "0.38.30" +version = "0.38.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "322394588aaf33c24007e8bb3238ee3e4c5c09c084ab32bc73890b99ff326bca" +checksum = "6ea3e1a662af26cd7a3ba09c0297a31af215563ecf42817c98df621387f4e949" dependencies = [ "bitflags 2.4.2", "errno", @@ -4062,13 +4065,12 @@ dependencies = [ [[package]] name = "tempfile" -version = "3.9.0" +version = "3.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01ce4141aa927a6d1bd34a041795abd0db1cccba5d5f24b009f694bdf3a1f3fa" +checksum = "a365e8cd18e44762ef95d87f284f4b5cd04107fec2ff3052bd6a3e6069669e67" dependencies = [ "cfg-if", "fastrand 2.0.1", - "redox_syscall 0.4.1", "rustix", "windows-sys 0.52.0", ] @@ -4181,7 +4183,7 @@ version = "0.19.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" dependencies = [ - "indexmap 2.2.1", + "indexmap 2.2.2", "toml_datetime", "winnow", ] @@ -4192,7 +4194,7 @@ version = "0.20.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "70f427fce4d84c72b5b732388bf4a9f4531b53f74e2887e3ecb2481f68f66d81" dependencies = [ - "indexmap 2.2.1", + "indexmap 2.2.2", "toml_datetime", "winnow", ] @@ -4981,9 +4983,9 @@ dependencies = [ [[package]] name = "winnow" -version = "0.5.35" +version = "0.5.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1931d78a9c73861da0134f453bb1f790ce49b2e30eba8410b4b79bac72b46a2d" +checksum = "a7cad8365489051ae9f054164e459304af2e7e9bb407c958076c8bf4aef52da5" dependencies = [ "memchr", ] @@ -5041,7 +5043,7 @@ checksum = "0fcb9cbac069e033553e8bb871be2fbdffcab578eb25bd0f7c508cedc6dcd75a" [[package]] name = "yarnspinner" -version = "0.1.1" +version = "0.1.2" dependencies = [ "anyhow", "log", @@ -5111,7 +5113,7 @@ dependencies = [ [[package]] name = "yarnspinner_runtime" -version = "0.1.0" +version = "0.1.1" dependencies = [ "bevy", "fixed_decimal", diff --git a/crates/bevy_plugin/Cargo.toml b/crates/bevy_plugin/Cargo.toml index 559ba30d..8abc7bb1 100644 --- a/crates/bevy_plugin/Cargo.toml +++ b/crates/bevy_plugin/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bevy_yarnspinner" -version = "0.1.1" +version = "0.1.2" edition = "2021" repository = "https://github.com/YarnSpinnerTool/YarnSpinner-Rust" homepage = "https://docs.yarnspinner.dev/" diff --git a/crates/runtime/Cargo.toml b/crates/runtime/Cargo.toml index ba5ebef0..d1da5dda 100644 --- a/crates/runtime/Cargo.toml +++ b/crates/runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "yarnspinner_runtime" -version = "0.1.0" +version = "0.1.1" edition = "2021" repository = "https://github.com/YarnSpinnerTool/YarnSpinner-Rust" homepage = "https://docs.yarnspinner.dev/" diff --git a/crates/yarnspinner/Cargo.toml b/crates/yarnspinner/Cargo.toml index 294a6e47..ed13b33f 100644 --- a/crates/yarnspinner/Cargo.toml +++ b/crates/yarnspinner/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "yarnspinner" -version = "0.1.1" +version = "0.1.2" edition = "2021" repository = "https://github.com/YarnSpinnerTool/YarnSpinner-Rust" homepage = "https://docs.yarnspinner.dev/"