servo/support/crown
Josh Matthews c60e4afbee
Support custom derives for generated types (#34356)
* script: Derive more Default implementations for dictionaries.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* script: Support arbitrary derives on generated enums.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* script: Support arbitrary derives for generated dictionaries.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* script: Support arbitrary derives for generated unions.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* script: Derive more impls for generated dicts and unions.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* script: Implement FromStr for generated enums.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* Fix clippy.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* crown: Allow returning unrooted values from Default::default.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

---------

Signed-off-by: Josh Matthews <josh@joshmatthews.net>
2024-11-24 18:15:50 +00:00
..
.cargo Exclude crown from the root Cargo workspace (#34173) 2024-11-08 10:08:49 +00:00
src Support custom derives for generated types (#34356) 2024-11-24 18:15:50 +00:00
tests Support associated types in must_root lint (#34163) 2024-11-06 18:48:57 +00:00
.gitignore Exclude crown from the root Cargo workspace (#34173) 2024-11-08 10:08:49 +00:00
Cargo.lock Exclude crown from the root Cargo workspace (#34173) 2024-11-08 10:08:49 +00:00
Cargo.toml Remove etc/shell.nix in favour of shell.nix (#34336) 2024-11-22 04:03:35 +00:00
crown.code-workspace Exclude crown from the root Cargo workspace (#34173) 2024-11-08 10:08:49 +00:00
rust-toolchain.toml Exclude crown from the root Cargo workspace (#34173) 2024-11-08 10:08:49 +00:00
rustfmt.toml Exclude crown from the root Cargo workspace (#34173) 2024-11-08 10:08:49 +00:00