Benjamin Bouvier
0ebedfe286
clippy: disable the box_default lint, take 2
2024-04-30 12:04:29 +02:00
Benjamin Bouvier
16eb449c6b
clippy: disable the box_default lint
...
The clippy website explains that `Box::new(Default::default())` can be
shortened to `Box::default()` and that it's more readable. That's true…
when you don't have a generic parameter in the mix (which may be
required if rustc can't infer the type of the boxee), in which case it
just looks bad, e.g. `Box::<MyType>::default()` instead of
`Box::new(MyType::default())`.
I do strongly prefer the latter, and propose to get rid of the lint, as
a result.
2024-04-29 14:32:08 +02:00
Jonas Platte
db565fcff3
ci: Improve caching for matrix-rust-components-swift and tarpaulin
2023-09-01 10:43:52 +02:00
Jonas Platte
aed9b20195
Silence clippy lint arc_with_non_send_sync on wasm
2023-08-25 14:14:56 +02:00
Jonas Platte
ce973b35e9
chore: Upgrade uniffi to 0.23.0
2023-02-02 10:15:05 +01:00
Jonas Platte
e3edf0139a
Enable rustdoc-map nightly feature via .cargo/config.toml
...
… instead of using -Z on the command line.
2022-06-13 14:30:10 +02:00
Jonas Platte
099db20555
Use target-applies-to-host to avoid unnecessary cache invalidation
2022-06-07 16:43:17 +02:00
Jonas Platte
d2e70c16b4
Deduplicate lint configuration
2022-03-09 18:09:02 +01:00
Jonas Platte
9f72eb9490
Enable more default-off clippy lints
2022-03-09 12:41:57 +01:00
Jonas Platte
2c181bca4f
Consistently use .to_owned() instead of .to_string() for &str => String
2022-03-09 12:41:57 +01:00
Jonas Platte
abe0bf0a29
Enable some useful non-default rustc lints
2022-03-04 11:35:24 +01:00
Jonas Platte
b7a4ca4cff
Create an xtask crate for workspace task automation
...
Initially covering:
* Building docs
* Nightly CI jobs
2022-03-03 11:10:28 +01:00
Jonas Platte
69225ad00b
Use rustdoc-map to link to external crates in master docs
2021-07-02 18:05:34 +02:00