Ashley Williams
e5f2b5c106
style: appease clippy
2022-12-15 16:40:54 -06:00
Ashley Williams
ddc8bc12d0
fork: rename and reversion
2022-12-15 16:35:42 -06:00
Bodil Stokke
e18d328951
Bump all the deps and appease Clippy, 2022 edition.
2022-01-27 19:38:31 +00:00
Samuel El-Borai
95764776f2
Remove use of deprecated proc_macro_hack
...
This fixes the error:
"unresolved macro `$crate::proc_macro_call_dodrio!`" from the file
examples/dodrio/counter/src/lib.rs.
Quoting proc_macro_hack documentation:
> Note: As of Rust 1.45 this crate is superseded by native support for
> #[proc_macro] in expression position. Only consider using this crate
> if you care about supporting compilers between 1.31 and 1.45.
Source: https://docs.rs/proc-macro-hack/latest/proc_macro_hack/index.html
2022-01-27 18:16:32 +00:00
Samuel El-Borai
9d5f32ba9b
cargo clippy --fix -- --allow unused_braces
...
- The '--allow unused_braces' is to avoid removing the extra curly
braces used within html! macro calls.
2022-01-27 18:16:32 +00:00
Samuel El-Borai
d1525a38ff
Fix build errors for examples
...
- The type signature for the method 'render' of Render trait seems to
have changed, causing examples to fail.
2022-01-27 18:16:32 +00:00
dependabot-preview[bot]
4c13ecca50
Update dodrio requirement from 0.1.0 to 0.2.0
...
Updates the requirements on [dodrio](https://github.com/fitzgen/dodrio ) to permit the latest version.
- [Release notes](https://github.com/fitzgen/dodrio/releases )
- [Commits](https://github.com/fitzgen/dodrio/commits/0.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-11 15:15:14 +01:00
Josh Stone
d95ce1a293
Use Vec to implement the Events iterators
...
Using `vec::IntoIter` is much simpler than a deeply nested `Chain`,
compiling faster and avoiding the deeper recursion limit reported in
[rust#71359](https://github.com/rust-lang/rust/issues/71359 ).
2020-04-24 16:37:26 +01:00
chrysn
7a884f9561
ui: Acknowledge added and changed compiler output about errors in macros
...
Recent Rust versions give "this error originates in a macro" more
frequently, and on one occasion removed the "outside of the current
crate" remark.
This acknowledges the change in the stderr of the test cases, given the
information makes sense and does not deteriorate user experience.
2020-04-24 16:35:39 +01:00
chrysn
bf42fe1c48
ui: Add dummpy / explanatory main function
...
This fixes regressions in the CI suite that fail otherwise unrelated
pull requests, probably due to nowadays stricter clippy errors (`cargo
+nightly clippy` previously failed with 'error[E0601]: `main` function
not found in crate `typed_html_tests`').
2020-04-24 16:35:39 +01:00
Bodil Stokke
e65a960a3f
Note lack of maintainership.
2020-04-22 12:41:39 +01:00
dependabot-preview[bot]
fd828f5166
Update compiletest_rs requirement from 0.4 to 0.5
...
Updates the requirements on [compiletest_rs](https://github.com/laumann/compiletest-rs ) to permit the latest version.
- [Release notes](https://github.com/laumann/compiletest-rs/releases )
- [Commits](https://github.com/laumann/compiletest-rs/compare/v0.4.0...v0.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-22 12:27:11 +01:00
dependabot-preview[bot]
d639db7913
Update console_log requirement from 0.1.2 to 0.2.0
...
Updates the requirements on [console_log](https://github.com/iamcodemaker/console_log ) to permit the latest version.
- [Release notes](https://github.com/iamcodemaker/console_log/releases )
- [Commits](https://github.com/iamcodemaker/console_log/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-22 12:26:54 +01:00
Bodil Stokke
810fc82069
Bump what can be bumped.
2020-03-06 18:07:02 +00:00
Bodil Stokke
5f652f1840
Release 0.2.2
2020-02-07 17:42:35 +00:00
Mathias Svensson
0950c82294
Use `slice::iter` instead of `into_iter` to avoid future breakage
...
`an_array.into_iter()` currently just works because of the autoref
feature, which then calls `<[T] as IntoIterator>::into_iter`. But
in the future, arrays will implement `IntoIterator`, too. In order
to avoid problems in the future, the call is replaced by `iter()`
which is shorter and more explicit.
2019-11-29 14:30:35 +00:00
Bodil Stokke
b9fc11b18e
Clippy appeasement.
2019-10-01 15:05:41 +01:00
Bodil Stokke
652bc9f1c3
Bump some deps, lock another.
2019-10-01 14:44:21 +01:00
Bodil Stokke
a31f813f46
CI with Github Actions.
2019-09-19 17:14:50 +01:00
dependabot-preview[bot]
1fc4f0bc64
Update ansi_term requirement from 0.11.0 to 0.12.0
...
Updates the requirements on [ansi_term](https://github.com/ogham/rust-ansi-term ) to permit the latest version.
- [Release notes](https://github.com/ogham/rust-ansi-term/releases )
- [Commits](https://github.com/ogham/rust-ansi-term/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-26 15:30:31 +01:00
Bodil Stokke
f70c00b460
Release 0.2.1
2019-06-28 14:51:32 +01:00
Bodil Stokke
1bae118f65
Update changelog.
2019-06-28 14:45:55 +01:00
Bodil Stokke
d97c8fa03c
Clippy appeasement.
2019-06-28 14:45:44 +01:00
Bodil Stokke
15c6ca1143
Bump lalrpop-util.
2019-05-28 17:07:56 +01:00
Bodil Stokke
e3e5cd3f09
Bump version_check to 0.9.1.
2019-05-28 16:05:56 +01:00
Jonathan Kingston
8c340453eb
Add Send to all output types
2019-05-28 16:30:53 +02:00
Jonathan Kingston
62dd064f79
Add Send bound. Fixes #50
2019-05-28 16:30:53 +02:00
Jonathan Kingston
1588f30353
Relax attribute escaping. Fixes #26
2019-05-28 16:06:13 +02:00
Jonathan Kingston
9c81041cac
Support expressions in text! macro
2019-05-28 16:04:19 +02:00
Jonathan Kingston
105156542e
Adding support for the ARIA role attribute
2019-05-28 16:03:12 +02:00
Bodil Stokke
d0b4955ba0
Merge pull request #45 from bodil/dependabot/cargo/lalrpop-0.17.0
...
Update lalrpop requirement from 0.16.1 to 0.17.0
2019-05-16 16:15:46 +01:00
dependabot[bot]
93ae347603
Update lalrpop requirement from 0.16.1 to 0.17.0
...
Updates the requirements on [lalrpop](https://github.com/lalrpop/lalrpop ) to permit the latest version.
- [Release notes](https://github.com/lalrpop/lalrpop/releases )
- [Changelog](https://github.com/lalrpop/lalrpop/blob/0.17.0/RELEASES.md )
- [Commits](https://github.com/lalrpop/lalrpop/compare/0.16.1...0.17.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-08 06:18:39 +00:00
Bodil Stokke
5334d783f2
Use TryFrom rather than panicking From implementations to do attribute conversion.
...
Now that it's landed in stable and all.
2019-04-12 20:00:33 +01:00
Bodil Stokke
36c95b0b8e
Re-enable stable builds.
2019-04-08 17:24:29 +01:00
Bodil Stokke
a0cfd393e7
Run UI tests only on nightly.
2019-04-08 17:23:01 +01:00
Bodil Stokke
66320b0bdb
Replace Rocket example with Iron example, which builds on stable rustc.
2019-04-08 16:47:00 +01:00
Bodil Stokke
ccb00646ac
Don't render empty attributes when stringifying.
2019-04-08 16:44:34 +01:00
Bodil Stokke
91c3d9864a
Merge pull request #39 from ckampfe/add-unsafe-text
...
add unsafe_text
2019-04-08 15:56:11 +01:00
Bodil Stokke
5cb65597bb
Merge pull request #42 from iamcodemaker/event
...
Make Events struct more generic, use standard From/Into traits
2019-04-08 15:52:20 +01:00
Bodil Stokke
414a852679
Merge pull request #40 from bodil/dependabot/cargo/strum-0.15.0
...
Update strum requirement from 0.14.0 to 0.15.0
2019-04-08 15:18:32 +01:00
Bodil Stokke
2a6390e849
Merge branch 'master' into dependabot/cargo/strum-0.15.0
2019-04-08 15:18:22 +01:00
Bodil Stokke
e730b772b6
Merge pull request #41 from bodil/dependabot/cargo/strum_macros-0.15.0
...
Update strum_macros requirement from 0.14.0 to 0.15.0
2019-04-08 15:17:57 +01:00
Matthew Nicholson
2c500dc3f4
add tests for Events iterators
2019-04-01 00:46:46 -04:00
Matthew Nicholson
6f1021b4a3
implement `IntoIterator` for `Events`
2019-04-01 00:46:46 -04:00
Matthew Nicholson
d4aee284e5
add iter_mut method to events struct
2019-04-01 00:46:46 -04:00
Matthew Nicholson
b1d7f80dad
remove now unused `IntoEventHandler` trait
2019-04-01 00:46:46 -04:00
Matthew Nicholson
44436da495
use the standard `From` trait instead of `IntoEventHandler`
2019-04-01 00:46:46 -04:00
Matthew Nicholson
559359b2ff
add an iterator over all events
...
This iterator returns tuples conntaining the event name and whatever the
value is.
2019-04-01 00:46:46 -04:00
Matthew Nicholson
3edc4c3fa0
use generic events struct instead of `StringEvents`
...
This new structure is generic over any type that implents `From`/`Into`
for the type specified.
2019-03-31 02:04:30 -04:00
dependabot[bot]
c2d0fa7a97
Update strum_macros requirement from 0.14.0 to 0.15.0
...
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@dependabot.com>
2019-03-27 06:02:55 +00:00