Matt Yan
72b4c0ed9d
use latest wasm-opt
2025-03-02 23:56:22 +09:00
dependabot[bot]
960c4f22ed
Bump the cargo-deps group across 1 directory with 17 updates ( #3807 )
...
* Bump the cargo-deps group across 1 directory with 17 updates
Bumps the cargo-deps group with 16 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [thiserror](https://github.com/dtolnay/thiserror ) | `1.0.69` | `2.0.11` |
| [serde](https://github.com/serde-rs/serde ) | `1.0.217` | `1.0.218` |
| [tokise](https://github.com/yewstack/tokise ) | `0.1.0` | `0.2.0` |
| [rand](https://github.com/rust-random/rand ) | `0.8.5` | `0.9.0` |
| [tabled](https://github.com/zhiburt/tabled ) | `0.16.0` | `0.18.0` |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.138` | `1.0.139` |
| [clap](https://github.com/clap-rs/clap ) | `4.5.29` | `4.5.30` |
| [anyhow](https://github.com/dtolnay/anyhow ) | `1.0.95` | `1.0.96` |
| [git2](https://github.com/rust-lang/git2-rs ) | `0.19.0` | `0.20.0` |
| [strum](https://github.com/Peternator7/strum ) | `0.26.3` | `0.27.1` |
| [derive_more](https://github.com/JelteF/derive_more ) | `1.0.0` | `2.0.1` |
| [strum_macros](https://github.com/Peternator7/strum ) | `0.26.4` | `0.27.1` |
| [pulldown-cmark](https://github.com/raphlinus/pulldown-cmark ) | `0.12.2` | `0.13.0` |
| [fake](https://github.com/cksac/fake-rs ) | `2.10.0` | `4.0.0` |
| [uuid](https://github.com/uuid-rs/uuid ) | `1.13.1` | `1.14.0` |
| [axum](https://github.com/tokio-rs/axum ) | `0.7.9` | `0.8.1` |
Updates `thiserror` from 1.0.69 to 2.0.11
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.69...2.0.11 )
Updates `serde` from 1.0.217 to 1.0.218
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.217...v1.0.218 )
Updates `tokise` from 0.1.0 to 0.2.0
- [Release notes](https://github.com/yewstack/tokise/releases )
- [Commits](https://github.com/yewstack/tokise/compare/v0.1.0...v0.2.0 )
Updates `rand` from 0.8.5 to 0.9.0
- [Release notes](https://github.com/rust-random/rand/releases )
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/rand/compare/0.8.5...0.9.0 )
Updates `tabled` from 0.16.0 to 0.18.0
- [Changelog](https://github.com/zhiburt/tabled/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zhiburt/tabled/commits )
Updates `serde_json` from 1.0.138 to 1.0.139
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.138...v1.0.139 )
Updates `clap` from 4.5.29 to 4.5.30
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.29...clap_complete-v4.5.30 )
Updates `anyhow` from 1.0.95 to 1.0.96
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.95...1.0.96 )
Updates `git2` from 0.19.0 to 0.20.0
- [Changelog](https://github.com/rust-lang/git2-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/git2-rs/compare/git2-0.19.0...git2-0.20.0 )
Updates `strum` from 0.26.3 to 0.27.1
- [Release notes](https://github.com/Peternator7/strum/releases )
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Peternator7/strum/compare/v0.26.3...v0.27.1 )
Updates `derive_more` from 1.0.0 to 2.0.1
- [Release notes](https://github.com/JelteF/derive_more/releases )
- [Changelog](https://github.com/JelteF/derive_more/blob/master/CHANGELOG.md )
- [Commits](https://github.com/JelteF/derive_more/compare/v1.0.0...v2.0.1 )
Updates `strum_macros` from 0.26.4 to 0.27.1
- [Release notes](https://github.com/Peternator7/strum/releases )
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Peternator7/strum/commits/v0.27.1 )
Updates `pulldown-cmark` from 0.12.2 to 0.13.0
- [Release notes](https://github.com/raphlinus/pulldown-cmark/releases )
- [Commits](https://github.com/raphlinus/pulldown-cmark/compare/v0.12.2...v0.13.0 )
Updates `fake` from 2.10.0 to 4.0.0
- [Release notes](https://github.com/cksac/fake-rs/releases )
- [Changelog](https://github.com/cksac/fake-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/cksac/fake-rs/commits )
Updates `uuid` from 1.13.1 to 1.14.0
- [Release notes](https://github.com/uuid-rs/uuid/releases )
- [Commits](https://github.com/uuid-rs/uuid/compare/1.13.1...v1.14.0 )
Updates `axum` from 0.7.9 to 0.8.1
- [Release notes](https://github.com/tokio-rs/axum/releases )
- [Changelog](https://github.com/tokio-rs/axum/blob/main/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/axum/commits )
Updates `serde_derive` from 1.0.217 to 1.0.218
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.217...v1.0.218 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: cargo-deps
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-deps
- dependency-name: tokise
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: cargo-deps
- dependency-name: rand
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: cargo-deps
- dependency-name: tabled
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: cargo-deps
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-deps
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-deps
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-deps
- dependency-name: git2
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: cargo-deps
- dependency-name: strum
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: cargo-deps
- dependency-name: derive_more
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: cargo-deps
- dependency-name: strum_macros
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: cargo-deps
- dependency-name: pulldown-cmark
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: cargo-deps
- dependency-name: fake
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: cargo-deps
- dependency-name: uuid
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: cargo-deps
- dependency-name: axum
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: cargo-deps
- dependency-name: serde_derive
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-deps
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: revert rand0.9 upgrade for now
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matt Yan <syan4@ualberta.ca>
2025-02-21 15:03:39 +09:00
Edwin Amsler
b71e9987f5
Refactor todo example ( #3788 )
2025-02-19 08:03:00 +09:00
dependabot[bot]
d5088ee54d
Bump the cargo-deps group across 1 directory with 52 updates ( #3705 )
2024-08-04 02:45:02 +05:00
Tomoaki Kawada
af68646258
Fix CI ( #3679 )
...
* refactor(yew-macro): ignore `dead_code` for `Lint::lint` if not `cfg(yew_lints)`
`dead_code` has become more precise in recent toolchains.
* refactor(yew): stop using `static mut` hack to get static reference to an empty `Vec<VNode>`
The old code triggered `static_mut_refs` lint in the latest stable
toolchain.
* refactor(yew): ignore `clippy::to_string_trait_impl` for `impl ToString for Classes`
* perf(yew,yew-router): use `const {}` syntax for `thread_local!`
Addresses `clippy::thread_local_initializer_can_be_made_const`.
May provide performance benefits.
* refactor(yew): remove `yew::html::component::lifecycle::Stateful::as_any_mut`
Addresses `dead_code` lint.
* refactor(yew): ignore `clippy::incompatible_msrv` for `TopologicalQueue::pop_topmost` if Rust version >= 1.66
The use of `BTreeMap::pop_first` (stabilized in 1.66) is already gated by
`#[rustversion(since(1.66))]` hence we can ignore this warning.
* refactor(yew): gate `yew::html::component::lifecycle::Stateful::{rendered,props_changed}` by `cfg(feature = "csr")`
Addresses `dead_code` lint.
* test(website-test): ignore `clippy::needless_doctest_main`
* doc(examples): replace `clone` + assignment with `clone_from`
Addresses `clippy::assigning_clones` lint.
2024-07-25 03:39:38 +00:00
Muhammad Hamza
0eb167ac78
Remove ToHtml trait ( #3453 )
...
* remove ToHtml trait
* re-add display impls
* make Vec::clone expilit
* fix doc
* fix conflicting impls
Into<Html> and Display can't be implemented on the same type
* update docs
* blanket impl won't work here
* bring back `Vec<VNode>: IntoPropValue<VNode>`
* macro tests
* Revert "fix conflicting impls"
This reverts commit 52f3c1fa8174489ba9cc783d708a49cc7b9c90a4.
These impls are fine now
* make examples compile
* .clone() should be before .into()
* Rc VList
* Make use of ImplicitClone and AttrValue in example
(There is more work to do but it's complicated so I will do it in
another PR)
* Impl ImplicitClone on VChild
---------
Co-authored-by: Cecile Tonglet <cecile.tonglet@cecton.com>
2023-10-28 16:11:28 +05:00
dependabot[bot]
ca2aa2a4a6
Bump the cargo dependencies with 36 updates ( #3408 )
...
* Bump the cargo-deps group with 36 updates
Bumps the cargo-deps group with 36 updates:
| Package | From | To |
| --- | --- | --- |
| [proc-macro2](https://github.com/dtolnay/proc-macro2 ) | `1.0.63` | `1.0.67` |
| [quote](https://github.com/dtolnay/quote ) | `1.0.29` | `1.0.33` |
| [syn](https://github.com/dtolnay/syn ) | `2.0.27` | `2.0.37` |
| [rustversion](https://github.com/dtolnay/rustversion ) | `1.0.12` | `1.0.14` |
| [trybuild](https://github.com/dtolnay/trybuild ) | `1.0.80` | `1.0.85` |
| [gloo-worker](https://github.com/rustwasm/gloo ) | `0.3.0` | `0.4.0` |
| [serde](https://github.com/serde-rs/serde ) | `1.0.168` | `1.0.188` |
| [prettyplease](https://github.com/dtolnay/prettyplease ) | `0.2.12` | `0.2.15` |
| [gloo](https://github.com/rustwasm/gloo ) | `0.8.1` | `0.10.0` |
| [urlencoding](https://github.com/kornelski/rust_urlencoding ) | `2.1.2` | `2.1.3` |
| [slab](https://github.com/tokio-rs/slab ) | `0.4.8` | `0.4.9` |
| [thiserror](https://github.com/dtolnay/thiserror ) | `1.0.44` | `1.0.48` |
| [implicit-clone](https://github.com/yewstack/implicit-clone ) | `0.4.0` | `0.4.1` |
| [tokio](https://github.com/tokio-rs/tokio ) | `1.29.0` | `1.32.0` |
| [jemallocator](https://github.com/tikv/jemallocator ) | `0.5.0` | `0.5.4` |
| [average](https://github.com/vks/average ) | `0.13.1` | `0.14.1` |
| [tabled](https://github.com/zhiburt/tabled ) | `0.12.2` | `0.14.0` |
| [indicatif](https://github.com/console-rs/indicatif ) | `0.17.5` | `0.17.6` |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.104` | `1.0.107` |
| [clap](https://github.com/clap-rs/clap ) | `4.3.9` | `4.4.4` |
| [anyhow](https://github.com/dtolnay/anyhow ) | `1.0.71` | `1.0.75` |
| [chrono](https://github.com/chronotope/chrono ) | `0.4.26` | `0.4.31` |
| [git2](https://github.com/rust-lang/git2-rs ) | `0.17.2` | `0.18.1` |
| [regex](https://github.com/rust-lang/regex ) | `1.8.4` | `1.9.4` |
| [reqwest](https://github.com/seanmonstar/reqwest ) | `0.11.18` | `0.11.20` |
| [semver](https://github.com/dtolnay/semver ) | `1.0.17` | `1.0.18` |
| [gloo-net](https://github.com/rustwasm/gloo ) | `0.3.0` | `0.4.0` |
| [base64](https://github.com/marshallpierce/rust-base64 ) | `0.21.2` | `0.21.4` |
| [strum_macros](https://github.com/Peternator7/strum ) | `0.25.0` | `0.25.2` |
| [log](https://github.com/rust-lang/log ) | `0.4.19` | `0.4.20` |
| [fake](https://github.com/cksac/fake-rs ) | `2.6.1` | `2.8.0` |
| [time](https://github.com/time-rs/time ) | `0.3.22` | `0.3.28` |
| [uuid](https://github.com/uuid-rs/uuid ) | `1.4.0` | `1.4.1` |
| [bytes](https://github.com/tokio-rs/bytes ) | `1.4.0` | `1.5.0` |
| [axum](https://github.com/tokio-rs/axum ) | `0.6.18` | `0.6.20` |
| [postcard](https://github.com/jamesmunns/postcard ) | `1.0.6` | `1.0.7` |
Updates `proc-macro2` from 1.0.63 to 1.0.67
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.63...1.0.67 )
Updates `quote` from 1.0.29 to 1.0.33
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.29...1.0.33 )
Updates `syn` from 2.0.27 to 2.0.37
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.27...2.0.37 )
Updates `rustversion` from 1.0.12 to 1.0.14
- [Release notes](https://github.com/dtolnay/rustversion/releases )
- [Commits](https://github.com/dtolnay/rustversion/compare/1.0.12...1.0.14 )
Updates `trybuild` from 1.0.80 to 1.0.85
- [Release notes](https://github.com/dtolnay/trybuild/releases )
- [Commits](https://github.com/dtolnay/trybuild/compare/1.0.80...1.0.85 )
Updates `gloo-worker` from 0.3.0 to 0.4.0
- [Release notes](https://github.com/rustwasm/gloo/releases )
- [Changelog](https://github.com/rustwasm/gloo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/gloo/compare/0.3.0...0.4.0 )
Updates `serde` from 1.0.168 to 1.0.188
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.168...v1.0.188 )
Updates `prettyplease` from 0.2.12 to 0.2.15
- [Release notes](https://github.com/dtolnay/prettyplease/releases )
- [Commits](https://github.com/dtolnay/prettyplease/compare/0.2.12...0.2.15 )
Updates `gloo` from 0.8.1 to 0.10.0
- [Release notes](https://github.com/rustwasm/gloo/releases )
- [Changelog](https://github.com/rustwasm/gloo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/gloo/commits )
Updates `urlencoding` from 2.1.2 to 2.1.3
- [Commits](https://github.com/kornelski/rust_urlencoding/commits )
Updates `slab` from 0.4.8 to 0.4.9
- [Release notes](https://github.com/tokio-rs/slab/releases )
- [Changelog](https://github.com/tokio-rs/slab/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/slab/compare/v0.4.8...v0.4.9 )
Updates `thiserror` from 1.0.44 to 1.0.48
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.44...1.0.48 )
Updates `implicit-clone` from 0.4.0 to 0.4.1
- [Commits](https://github.com/yewstack/implicit-clone/compare/v0.4.0...v0.4.1 )
Updates `tokio` from 1.29.0 to 1.32.0
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.29.0...tokio-1.32.0 )
Updates `jemallocator` from 0.5.0 to 0.5.4
- [Release notes](https://github.com/tikv/jemallocator/releases )
- [Changelog](https://github.com/tikv/jemallocator/blob/main/CHANGELOG.md )
- [Commits](https://github.com/tikv/jemallocator/compare/0.5.0...0.5.4 )
Updates `average` from 0.13.1 to 0.14.1
- [Commits](https://github.com/vks/average/commits )
Updates `tabled` from 0.12.2 to 0.14.0
- [Changelog](https://github.com/zhiburt/tabled/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zhiburt/tabled/commits/v0.14.0 )
Updates `indicatif` from 0.17.5 to 0.17.6
- [Release notes](https://github.com/console-rs/indicatif/releases )
- [Commits](https://github.com/console-rs/indicatif/compare/0.17.5...0.17.6 )
Updates `serde_json` from 1.0.104 to 1.0.107
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.104...v1.0.107 )
Updates `clap` from 4.3.9 to 4.4.4
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v4.3.9...v4.4.4 )
Updates `anyhow` from 1.0.71 to 1.0.75
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.71...1.0.75 )
Updates `chrono` from 0.4.26 to 0.4.31
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.26...v0.4.31 )
Updates `git2` from 0.17.2 to 0.18.1
- [Changelog](https://github.com/rust-lang/git2-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.17.2...git2-0.18.1 )
Updates `regex` from 1.8.4 to 1.9.4
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.8.4...1.9.4 )
Updates `reqwest` from 0.11.18 to 0.11.20
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.18...v0.11.20 )
Updates `semver` from 1.0.17 to 1.0.18
- [Release notes](https://github.com/dtolnay/semver/releases )
- [Commits](https://github.com/dtolnay/semver/compare/1.0.17...1.0.18 )
Updates `gloo-net` from 0.3.0 to 0.4.0
- [Release notes](https://github.com/rustwasm/gloo/releases )
- [Changelog](https://github.com/rustwasm/gloo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/gloo/compare/0.3.0...0.4.0 )
Updates `base64` from 0.21.2 to 0.21.4
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md )
- [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.21.2...v0.21.4 )
Updates `strum_macros` from 0.25.0 to 0.25.2
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Peternator7/strum/commits )
Updates `log` from 0.4.19 to 0.4.20
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/compare/0.4.19...0.4.20 )
Updates `fake` from 2.6.1 to 2.8.0
- [Commits](https://github.com/cksac/fake-rs/commits )
Updates `time` from 0.3.22 to 0.3.28
- [Release notes](https://github.com/time-rs/time/releases )
- [Changelog](https://github.com/time-rs/time/blob/main/CHANGELOG.md )
- [Commits](https://github.com/time-rs/time/compare/v0.3.22...v0.3.28 )
Updates `uuid` from 1.4.0 to 1.4.1
- [Release notes](https://github.com/uuid-rs/uuid/releases )
- [Commits](https://github.com/uuid-rs/uuid/compare/1.4.0...1.4.1 )
Updates `bytes` from 1.4.0 to 1.5.0
- [Release notes](https://github.com/tokio-rs/bytes/releases )
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/bytes/compare/v1.4.0...v1.5.0 )
Updates `axum` from 0.6.18 to 0.6.20
- [Release notes](https://github.com/tokio-rs/axum/releases )
- [Changelog](https://github.com/tokio-rs/axum/blob/main/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/axum/compare/axum-v0.6.18...axum-v0.6.20 )
Updates `postcard` from 1.0.6 to 1.0.7
- [Release notes](https://github.com/jamesmunns/postcard/releases )
- [Changelog](https://github.com/jamesmunns/postcard/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jamesmunns/postcard/compare/v1.0.6...v1.0.7 )
---
updated-dependencies:
- dependency-name: proc-macro2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-deps
- dependency-name: quote
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-deps
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-deps
- dependency-name: rustversion
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-deps
- dependency-name: trybuild
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-deps
- dependency-name: gloo-worker
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: cargo-deps
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-deps
- dependency-name: prettyplease
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-deps
- dependency-name: gloo
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: cargo-deps
- dependency-name: urlencoding
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-deps
- dependency-name: slab
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-deps
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-deps
- dependency-name: implicit-clone
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-deps
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: cargo-deps
- dependency-name: jemallocator
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-deps
- dependency-name: average
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: cargo-deps
- dependency-name: tabled
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: cargo-deps
- dependency-name: indicatif
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-deps
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-deps
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: cargo-deps
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-deps
- dependency-name: chrono
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-deps
- dependency-name: git2
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: cargo-deps
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: cargo-deps
- dependency-name: reqwest
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-deps
- dependency-name: semver
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-deps
- dependency-name: gloo-net
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: cargo-deps
- dependency-name: base64
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-deps
- dependency-name: strum_macros
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-deps
- dependency-name: log
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-deps
- dependency-name: fake
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: cargo-deps
- dependency-name: time
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-deps
- dependency-name: uuid
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-deps
- dependency-name: bytes
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: cargo-deps
- dependency-name: axum
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-deps
- dependency-name: postcard
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-deps
...
Signed-off-by: dependabot[bot] <support@github.com>
* bless stderr files after syn update
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Muhammad Hamza <muhammadhamza1311@gmail.com>
2023-09-23 14:57:06 +02:00
Kaede Hoshikawa
8b9e164d7e
Update Dependencies to Fix CI ( #3326 )
...
* Update dependencies.
* Update dependencies.
* Fix gloo breaking change.
2023-07-01 01:33:18 +00:00
Kaede Hoshikawa
71b0f206a1
Allow any type to be used as Children (take 2) ( #3289 )
...
* Partially copy useful implementation.
* Adjust conversion.
* Temporary fix iterator.
* Add ToString implementation.
* Add Renderable trait.
* Make Macro tests pass.
* Add tests for render_prop as Children.
* Update benchmark and Children used in yew packages.
* Selective suppress lints.
* Rollback unintentional rollback.
* Fix rustfmt.
* Remove unneeded implementation.
* Update Comment.
* Rollback more changes.
* Rollback more changes.
* Fix website.
* Fix documentation tests.
* Add prelude.
* Fix test.
* Blanket Implementation for &'_ T for Renderable types.
* Implement Renderable for &str.
* Update signature.
* Update children to Html in examples.
* Remove unnecessary dereferencing.
* Rollback nested_list example.
* Fix comment.
* Convert to Pattern Matching.
* Add tracing issue.
* Rename Renderable to ToHtml.
* Move ToHtml to yew::html.
* Convert more to match pattern.
2023-06-11 15:33:39 +05:00
Martin Vilcans
86b6cb4949
todomvc example: Disallow entering empty items ( #3193 )
...
It was possible to add an empty entry by typing whitespace into the
text field. This fixes that by trimming the string *before* we check
whether it's empty.
2023-04-02 15:57:31 +09:00
Jedd Dryden
a53a045970
Simplified and Uniform Example Instructions ( #3113 )
...
* Add `--open` to `boids`
* Added running instructions to `contexts`
* Amended `counter` instructions
- Added `--open` flag
- Removed unnecessary instructions on how to run with `release` profile
* Amended `counter_functional` instructions
- Added `--open` flag
- Removed unnecessary instructions on how to run with `release` profile
* Amended `dyn_create_destroy_apps` instructions
- Added `--open` flag
- Removed unnecessary instructions on how to run with `release` profile
* Added running instructions to `file_upload`
* Added running instructions to `function_memory_game``
* Amended `function_router` instructions
- Amended `release` profile instructions
- Added `--open` flag
* Added running instructions to `function_todomvc`
* Added running instructions to `futures`
* Added running instructions to `game_of_life`
* Added running instructions to `immutable`
* Added running instructions to `inner_html`
* Added running instructions to `js_callback`
* Amended `keyed_list` instructions
- Added `--open` flag
- Amended `release` profile notice
* Added running instructions to `mount_point`
* Added running instructions to `nested_list`
* Added running instructions to `node_refs`
* Amended `password_strength` instructions
- Added `--open` flag
- Amended `release` profile notice
* Added running instructions to `portals`
* Amended `router` instructions
- Added `--open` flag
- Amended `release` profile notice
* Amended `simple_ssr` instructions
- Simplified wording
- Removed unnecessary notes
- Changed commands so that they should be executed from the `examples/simple_ssr` directory like every other example
* Amended `ssr_router` instructions
- Removed unnecessary notes
- Changed commands so that they should be executed from the `examples/ssr_router` directory like every other example
* Added running instructions to `suspense`
* Added running instructions to `timer`
* Added running instructions to `todo_mvc`
* Added running instructions to `two_apps`
* Added running instructions to `web_worker_fib`
* Added running instructions to `webgl`
* Amended various examples
- Simplified running instructions
- Moved running instructions to the bottom of each `README.md`
* Amended `examples/README.md` instructions
- Added `release` profile notice
- Added `--open` flag
- Removed `--release` flag
* Apply grammar suggestions from code review
Co-authored-by: Kaede Hoshikawa <futursolo@users.noreply.github.com>
* Update examples/function_router/README.md Grammar
Co-authored-by: Kaede Hoshikawa <futursolo@users.noreply.github.com>
* Add Grammar Suggestions from Review
* Apply Spelling Suggestion
Co-authored-by: Kaede Hoshikawa <futursolo@users.noreply.github.com>
---------
Co-authored-by: Kaede Hoshikawa <futursolo@users.noreply.github.com>
2023-04-02 03:19:08 +05:00
Will Lee
a1c30cd4a5
* fix bug - filter the exact entry to set state.edit_value in examples/todomvc ( #2895 )
...
Co-authored-by: lizhigang <lizhigang@magictavern.com>
2022-10-03 02:24:52 +09:00
Kaede Hoshikawa
989d804947
Fix Clippy for 1.63 ( #2825 )
2022-08-12 22:16:05 +09:00
dependabot[bot]
814e52daac
Update gloo requirement from 0.7 to 0.8 ( #2766 )
...
Updates the requirements on [gloo](https://github.com/rustwasm/gloo ) to permit the latest version.
- [Release notes](https://github.com/rustwasm/gloo/releases )
- [Commits](https://github.com/rustwasm/gloo/compare/0.7.0...0.8.0 )
---
updated-dependencies:
- dependency-name: gloo
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-01 21:32:32 +09:00
sephiron99
0bdbd95328
Fix dangling urls ( #2728 )
2022-06-19 17:23:33 +05:00
Muhammad Hamza
c28a71e78e
Use nightly for Rustfmt ( #2630 )
...
* add rustfmt.toml, use nightly in CI, update contributing docs
* run `cargo +nightly fmt`
2022-04-21 23:21:15 +05:00
dependabot[bot]
d2c3685521
Update gloo requirement from 0.6 to 0.7 ( #2613 )
...
Updates the requirements on [gloo](https://github.com/rustwasm/gloo ) to permit the latest version.
- [Release notes](https://github.com/rustwasm/gloo/releases )
- [Commits](https://github.com/rustwasm/gloo/compare/0.6.0...0.7.0 )
---
updated-dependencies:
- dependency-name: gloo
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-15 12:16:04 +02:00
WorldSEnder
daf6ec0152
Reduce size of examples ( #2601 )
...
* Reduce size of examples with this one weird trick
* oops, fixup function_router
2022-04-11 17:02:59 +05:00
Kaede Hoshikawa
8bc2212716
#[cfg(feature = "render")] and yew::Renderer (#2498 )
...
* Bring changes to this branch.
* Bring changes to this branch.
* Add feature render and renderer.
* Bring changes to this branch.
* Migrate examples to Renderer.
* Satisfy no any render.
* Satisfy ssr.
* Satisfy feature render.
* Lint feature soundness.
* Suppress tests.
* Fix pr-flow, update docs.
* Add a notice.
* Adjust visibility.
* Correctly feature gate tests.
* make test scope available under feature render.
* Fix CI.
* Fix CI.
* Restore tests module to its original place as well.
* Make bundles crate private.
* Make most bundle APIs private.
* Adjust docs.
* Adjust debug implementation.
* Replace start_app with Renderer.
* Adjust documentation.
* Remove unused lint.
* Remove start_app from docs.
* DomBundle -> ReconcileTarget.
* Adjust documentation.
* Once render, now csr.
* Fix docs as well.
2022-03-20 00:48:47 +09:00
Julius Lungys
427ac22e09
bump rust dependecies ( #2501 )
2022-03-06 14:23:36 +01:00
dependabot[bot]
92c4ce434f
Update strum requirement from 0.23 to 0.24 ( #2471 )
...
Updates the requirements on [strum](https://github.com/Peternator7/strum ) to permit the latest version.
- [Release notes](https://github.com/Peternator7/strum/releases )
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Peternator7/strum/commits )
---
updated-dependencies:
- dependency-name: strum
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-06 15:02:16 +02:00
Muhammad Hamza
f05ba4152c
Update to edition 2021 ( #2354 )
...
* cargo fix --edition
* change edition="2018" to edition="2021" in Cargo.toml
2022-01-12 16:22:00 +02:00
dependabot[bot]
3677930fc4
Update gloo requirement from 0.4 to 0.6 ( #2337 )
...
* Update gloo requirement from 0.4 to 0.6
Updates the requirements on [gloo](https://github.com/rustwasm/gloo ) to permit the latest version.
- [Release notes](https://github.com/rustwasm/gloo/releases )
- [Commits](https://github.com/rustwasm/gloo/commits )
---
updated-dependencies:
- dependency-name: gloo
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix ci
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: voidpumpkin <32368314+voidpumpkin@users.noreply.github.com>
2022-01-10 23:17:13 +02:00
Allan
b3f8ca1920
Replace Model with App or MyComponent ( #2336 )
...
`Model` is ambiguous and not a user-friendly name.
Some of the newer docs are already referring to the root component as
`App`.
This PR follows this naming scheme:
- `App` for a root component
- `MyComponent` for an arbitrary component
This naming is inspired by the React docs.
i18n references were not changed. They need a larger rewrite which will
go in a separate PR.
2022-01-07 20:50:21 +05:00
Jet Li
d2857c9c4e
Fix broken links in examples ( #2252 )
...
* Fix broken links in examples
* Fix broken links in examples
* Fix broken links in examples
* Fix broken links in examples
* Fix broken links in examples
* Fix broken links in examples
2021-12-08 19:13:40 +01:00
Julius Lungys
7c7e69a312
bump strum strum_macros @0.23 ( #2158 )
2021-11-19 15:48:15 +01:00
dependabot[bot]
8a43880586
Update gloo requirement from 0.3 to 0.4 ( #2123 )
...
Updates the requirements on [gloo](https://github.com/rustwasm/gloo ) to permit the latest version.
- [Release notes](https://github.com/rustwasm/gloo/releases )
- [Commits](https://github.com/rustwasm/gloo/compare/0.3.0...0.4.0 )
---
updated-dependencies:
- dependency-name: gloo
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-11 16:10:57 +01:00
mc1098
5b7d00951e
Update strum_macros ( #2117 )
2021-10-15 21:35:55 +01:00
dependabot[bot]
1e96431995
Update strum requirement from 0.21 to 0.22 ( #2115 )
...
Updates the requirements on [strum](https://github.com/Peternator7/strum ) to permit the latest version.
- [Release notes](https://github.com/Peternator7/strum/releases )
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Peternator7/strum/commits )
---
updated-dependencies:
- dependency-name: strum
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-15 21:15:16 +01:00
mc1098
e503c9acda
Remove web_sys re-export ( #2084 )
...
* Remove `web_sys` re-export
Removes re-exporting the `web_sys` dependency from the yew crate and
removes some `web_sys` features that were only enabled for re-exporting.
* re-export events through yew::events
2021-09-27 02:07:38 +02:00
mc1098
0e52b88742
Update gloo dependencies in yew and examples ( #2021 )
...
Updates to using the latest stable gloo, in some cases removing
dependencies on `master` branch.
Removes `weblog` in favour of `gloo_console`, where applicable.
2021-08-29 02:13:06 +01:00
mc1098
4e974dad92
Remove ShouldRender type alias ( #2011 )
...
Remove `ShouldRender` type alias for bool. In the Component trait an
extra comment has been added to explain what the returned bool
represents.
2021-08-25 17:52:09 +02:00
Muhammad Hamza
f50c8c3cba
Components v2 (2) ( #1961 )
...
* Start rewrite
* Rc > cloning props
* fmt + rm useless file
* move props inside `Context`
* router compiles
* fix boids example
* fix counter example
* fix crm example
* fix dyn_create_destroy_apps example
* fix file_upload example
* fix futures example
* fix game_of_life example
* fix inner_html example
* fix js_callback example
* fix mount_point example
* fix keyed_list example
* fix web_gl example
* fix two_apps example
* fix todomvc example
* fix timer example
* fix store example
* fix nested_list example
* fix node_refs example
* fix pub_sub example
* fix multi_thread example
* don't call `changed` if props weren't changed
* formatting
* fix doc tests, remove neq_assign
* update router example, fix neq_assign compile errors
* fix macro/rest of doc tests
* start updating documentation
* `Component`'s documentation
* Apply suggestions from code review
Co-authored-by: mc1098 <m.cripps1@uni.brighton.ac.uk>
* Apply suggestions from code review (part 2)
* Apply suggestions from code review (part 3)
* fix context
* clippy
* post merge fixes
Co-authored-by: mc1098 <m.cripps1@uni.brighton.ac.uk>
2021-08-25 13:11:39 +01:00
mc1098
c6099cf875
Remove InputData & ChangeData ( #2000 )
2021-08-16 18:02:14 +02:00
Xavientois
c1226a2813
Add shorthand syntax for props ( #1970 )
...
* Allow shortened prop syntax
* Use new syntax where appropriate
* Apply suggestions from code review
Co-authored-by: mc1098 <m.cripps1@uni.brighton.ac.uk>
* Add tests to hit newly added error messages
* Fix clippy lints
* Re-trigger CI
* Revert error text
Co-authored-by: mc1098 <m.cripps1@uni.brighton.ac.uk>
2021-07-31 23:01:02 +02:00
Xavientois
c9deba05f1
Fix clippy lints from 1.54.0 ( #1976 )
...
* Fix clippy lints from 1.54.0
* Format fixed code
2021-07-30 17:21:45 +02:00
Xavientois
4a14d0f0a4
Add requirement for braces around most props ( #1939 )
...
* Limit the properties to literals and brace-enclosed expressions
* Update examples with new syntax
* Update packages/yew-macro/src/props/prop.rs
Co-authored-by: Teymour Aldridge <42674621+teymour-aldridge@users.noreply.github.com>
* Fix lints and strip braces around single expressions
* Update docs with new prop syntax
* Add some test cases for new syntax
* Ensure all tests are passing
* Clean up missed code
* Update tests
* Update reverted docs
* Revert versioned docs
* Fix optional attributes paragraph
* Remove accidentally added files
* Remove accidentally added french docs
* Update packages/yew-macro/src/props/prop.rs
Co-authored-by: mc1098 <m.cripps1@uni.brighton.ac.uk>
* Fix forgotten braces and test cases
* Revert i18n old docs
* Revert translated docs
* Remove suggested fix in favour of more succinct error message
* Update errors after rebase
* Remove files accidentally added while rebasing
* Fix merge conflicts
Co-authored-by: Teymour Aldridge <42674621+teymour-aldridge@users.noreply.github.com>
Co-authored-by: mc1098 <m.cripps1@uni.brighton.ac.uk>
2021-07-18 18:54:21 +02:00
Muhammad Hamza
2412a68bee
Refactor and cleanup codebase ( #1842 )
...
* remove yew-dsl
* remove yew-components
* remove yew-services
* remove yew::format
* fix CI
* move yew::agent to yew-agent crate
* move yew-functional to yew
plus a couple of misc fixes
* move futures and neqassign out of yewtil
* move yewtil::store to yew_agent, remove yewtil
* formatting
* fix tests
* update docs
* use `rustwasm` gloo repo instead of mine
* add docs
* use rustwasm/gloo repo
* remove unused file
* fix Makefile.toml
* Fix issues after rebase
* Apply suggestions from code review (part 1)
Co-authored-by: mc1098 <m.cripps1@uni.brighton.ac.uk>
* Apply suggestions from code review (part 2)
* move `#[function_component(_)]` tests
missed those before
* Apply suggestions from code review
Co-authored-by: mc1098 <m.cripps1@uni.brighton.ac.uk>
Co-authored-by: mc1098 <m.cripps1@uni.brighton.ac.uk>
2021-07-18 15:57:09 +02:00
Foo-x
5e683b7067
docs: fix broken link ( #1926 )
...
Refs #1421
2021-06-20 14:02:51 +02:00
Muhammad Hamza
ec1ebe6756
Fix broken home link ( #1918 )
...
* Serve docs at `/` instead of `/docs`, no `/intro`
* fix links
* update workflow
2021-06-13 20:25:48 +02:00
Simon
f17d370217
Implicit optional attributes ( #1637 )
2021-06-05 23:00:58 +02:00
dependabot[bot]
b959bcfe75
Update strum_macros requirement from 0.20 to 0.21 ( #1901 )
...
Updates the requirements on [strum_macros](https://github.com/Peternator7/strum ) to permit the latest version.
- [Release notes](https://github.com/Peternator7/strum/releases )
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Peternator7/strum/commits )
---
updated-dependencies:
- dependency-name: strum_macros
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-04 20:13:59 +02:00
dependabot[bot]
dd1a5f1853
Update strum requirement from 0.20 to 0.21 ( #1900 )
...
Updates the requirements on [strum](https://github.com/Peternator7/strum ) to permit the latest version.
- [Release notes](https://github.com/Peternator7/strum/releases )
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Peternator7/strum/commits )
---
updated-dependencies:
- dependency-name: strum
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-04 15:30:10 +02:00
Jasper
c51ab7f094
Added missing licenses to Cargo.toml files and updated to use SPDX syntax ( #1822 )
2021-04-25 23:24:14 +02:00
Simon
2f926a9151
Add viewport meta tag to fix mobile version of the TodoMVC example ( #1715 )
2021-01-24 12:29:59 +01:00
Muhammad Hamza
ab76a446f1
Move yew/services to yew-services crate ( #1693 )
...
* move yew/services to yew-services crate
* fix stdweb examples
* remove services feature usage from workflow
* attempt at making CI pass
* remove unused feature
* add feature i missed during merge
* okay, it should compile now
* apply review
* fix yew-stdweb & aplease fmt
* misc fixes
Co-authored-by: Justin Starry <justin.starry@icloud.com>
2021-01-23 22:49:00 +08:00
Philip Peterson
e6a3ae7301
Move top-level crates to packages/<crate> ( #1680 )
...
* Move crates to packages/*
* Update Cargo.toml
* Update links
* Fix pull-request.yml
* Update examples Cargo.toml
* Update relative paths
* Update tests
* Fix path
2021-01-12 11:32:48 +08:00
dependabot[bot]
2c60d596e7
Update strum requirement from 0.19 to 0.20 ( #1654 )
...
Updates the requirements on [strum](https://github.com/Peternator7/strum ) to permit the latest version.
- [Release notes](https://github.com/Peternator7/strum/releases )
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Peternator7/strum/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-27 19:59:42 +01:00
dependabot[bot]
b2e5c5c50c
Update strum_macros requirement from 0.19 to 0.20 ( #1655 )
...
Updates the requirements on [strum_macros](https://github.com/Peternator7/strum ) to permit the latest version.
- [Release notes](https://github.com/Peternator7/strum/releases )
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Peternator7/strum/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-27 19:31:27 +01:00
Cecile Tonglet
9737fe77db
Extract Classes to a separate macro ( #1601 )
...
* Initial commit
Forked at: 7e6d6c43f0aa98d78ae34654d49e1cf84d252cce
Parent branch: yewstack/master
* Add feature flag for now
* WIP
Forked at: 7e6d6c43f0aa98d78ae34654d49e1cf84d252cce
Parent branch: yewstack/master
* Add macro classes!()
Forked at: 7e6d6c43f0aa98d78ae34654d49e1cf84d252cce
Parent branch: yewstack/master
* WIP
Forked at: 7e6d6c43f0aa98d78ae34654d49e1cf84d252cce
Parent branch: yewstack/master
* rustfmt
* WIP
Forked at: 7e6d6c43f0aa98d78ae34654d49e1cf84d252cce
Parent branch: yewstack/master
* CLEANUP
Forked at: 7e6d6c43f0aa98d78ae34654d49e1cf84d252cce
Parent branch: yewstack/master
* CLEANUP
Forked at: 7e6d6c43f0aa98d78ae34654d49e1cf84d252cce
Parent branch: yewstack/master
* CLEANUP
Forked at: 7e6d6c43f0aa98d78ae34654d49e1cf84d252cce
Parent branch: yewstack/master
* rustfmt
* WIP
Forked at: 7e6d6c43f0aa98d78ae34654d49e1cf84d252cce
Parent branch: yewstack/master
* WIP
Forked at: 7e6d6c43f0aa98d78ae34654d49e1cf84d252cce
Parent branch: yewstack/master
* WIP
Forked at: 7e6d6c43f0aa98d78ae34654d49e1cf84d252cce
Parent branch: yewstack/master
* WIP
Forked at: 7e6d6c43f0aa98d78ae34654d49e1cf84d252cce
Parent branch: yewstack/master
* Not sure why there is a prelude.rs file here...
* WIP
Forked at: 7e6d6c43f0aa98d78ae34654d49e1cf84d252cce
Parent branch: yewstack/master
* CLEANUP
Forked at: 7e6d6c43f0aa98d78ae34654d49e1cf84d252cce
Parent branch: yewstack/master
* CLEANUP
Forked at: 7e6d6c43f0aa98d78ae34654d49e1cf84d252cce
Parent branch: yewstack/master
* WIP
Forked at: 7e6d6c43f0aa98d78ae34654d49e1cf84d252cce
Parent branch: yewstack/master
* WIP
Forked at: 7e6d6c43f0aa98d78ae34654d49e1cf84d252cce
Parent branch: yewstack/master
* Revert example changes
* WIP
Forked at: 7e6d6c43f0aa98d78ae34654d49e1cf84d252cce
Parent branch: yewstack/master
* CLEANUP
Forked at: 7e6d6c43f0aa98d78ae34654d49e1cf84d252cce
Parent branch: yewstack/master
* WIP
Forked at: 7e6d6c43f0aa98d78ae34654d49e1cf84d252cce
Parent branch: yewstack/master
* CLEANUP
Forked at: 7e6d6c43f0aa98d78ae34654d49e1cf84d252cce
Parent branch: yewstack/master
* CLEANUP
Forked at: 7e6d6c43f0aa98d78ae34654d49e1cf84d252cce
Parent branch: yewstack/master
* CLEANUP
Forked at: 7e6d6c43f0aa98d78ae34654d49e1cf84d252cce
Parent branch: yewstack/master
* CLEANUP
Forked at: 7e6d6c43f0aa98d78ae34654d49e1cf84d252cce
Parent branch: yewstack/master
* Revert back to e2717ae6281691f9563079ef07b56b24b6431ff1
* Put back original class behavior in html!
* Store span and use quote_spanned!
* Deprecation warning
* Better error message
* cargo fmt & fix conflict leftover oops
* Fix clippy: missing import
* What have I done
* Use Token! instead of Comma
* Apply suggestion
* Renamed HtmlClasses to Classes
* Remove clippy attribute & add dedicated tests
* Remove span from Single variant
* Spacing stuff with quote_spanned!
* Removed "use" and use path to Classes
* Some doc
* Replace Vec<Expr> with ExprTuple
* rustfmt
* Move classes to its own module
* Move tests from vtag to classes
* Update classes-fail.stderr
* Check for spaces in string literals
* Use unchecked_push for string literals
* Fixed tests
* More doc
* Tested doc in browser and make boolinator import visible
* Improve doc a tad bit
* Stuff
* Fix due to change with string literal
* Typo
* Moved classes to html
* Update macro new path for Classes
* Test fix
* Example fix
* Update classes-fail.stderr
* Fixed weird error
* Update yew/src/lib.rs
Co-authored-by: Simon <simon@siku2.io>
* Update yew/Cargo.toml
* Update yew/src/html/classes.rs
Co-authored-by: Simon <simon@siku2.io>
* Update docs/concepts/html/classes.md
Co-authored-by: Simon <simon@siku2.io>
* I blame GitHub
* Use syn::Result
* Apply suggestions
* Update yew-macro/src/classes/mod.rs
Co-authored-by: Simon <simon@siku2.io>
* Update yew-macro/tests/macro_test.rs
Co-authored-by: Simon <simon@siku2.io>
* Replaced html! by classes!
* Moved classes tests
* Renamed doc title
* Apply suggestion
* Update yew-macro/src/html_tree/html_element.rs
Co-authored-by: Simon <simon@siku2.io>
* Fixed span badly handled in macro
* no implicit prelude
* Update yew/src/lib.rs
Co-authored-by: Simon <simon@siku2.io>
* Improve documentation
* Yeah... OK
* OMG clippy
* Please squash merge and don't keep my commit messages
* Safety notice
* Change "Yew's macros" to "HTML"
* Unneeded closure
* Boxing stuff 🥊
* Indentation issue
* Removed unneeded block & removed duplicated code
* Renamed "macros" to "html_macro"
* Better span
* Doc: advice to use `classes!`
* Doc: fix error and remove one "and"
* Removed interpolated example
* Remove unnecessary tests and add test for deprecated syntax
* Link to classes!
* Update yew-macro/tests/html_macro_test.rs
Co-authored-by: Simon <simon@siku2.io>
* Renamed fail test
* Apply suggestion
* WIP
* WIP
* cargo make pr-flow passes locally, let's try again
Co-authored-by: Simon <simon@siku2.io>
2020-11-25 16:32:53 +01:00