Jonas Platte
3dac70ead9
Remove most unreachable visibility modifiers
2023-07-19 14:32:14 +02:00
Benjamin Bouvier
2c8ece6bf2
events: Parse TagInfo::order
as a f64 or a stringified f64
2023-07-06 14:34:43 +02:00
Kévin Commaille
963c2472e2
chore: Bump MSRV to 1.65
...
Allows to use let-else statements.
2023-07-04 15:40:37 +02:00
Kévin Commaille
8a342affca
ci: Pin nightly toolchain
2023-07-04 11:55:25 +02:00
Kévin Commaille
e751c1b2ac
chore: Run rustfmt for let-else statements
2023-07-04 11:55:25 +02:00
Kévin Commaille
dc68190adc
api: Add initial support for Matrix 1.7
2023-05-25 19:28:33 +02:00
Kévin Commaille
e0f373ec74
ci: Only allow spec links with version as whole path segment
2023-05-04 13:04:57 +02:00
Kévin Commaille
e97e46e623
chore: Fix URLs to old spec
2023-05-04 13:04:57 +02:00
Jonas Platte
4c85fe9c78
Replace compat feature with more fine-grained compat-* features
...
… and document them.
2023-04-20 14:00:27 +02:00
Jonas Platte
326c77aad3
xtask: Silence clippy lint
2023-04-11 13:01:48 +02:00
Kévin Commaille
57083ef3f8
ci: Unpin nightly version
2023-02-28 18:44:57 +01:00
Kévin Commaille
30c5326c20
ci: Bump clap
2023-02-28 18:44:57 +01:00
Kévin Commaille
a435a83cdd
ci: Pin rust nightly for clippy
...
To work around lint issue with clap
2023-02-27 20:10:36 +01:00
Kévin Commaille
d8f36aa241
ci: Allow spec links to v1.6
2023-02-14 18:44:04 +01:00
Kévin Commaille
e653912e22
xtask: Disallow linking to the latest spec when a link uses a non-unique ID
...
These IDs can change from one version to the other if another heading
with the same name is added before, so the link would not
point to the proper part of the spec anymore.
2023-02-12 12:39:24 +01:00
Kévin Commaille
5e6fe83d38
xtask: Disallow linking to the unstable spec
...
This can be re-enabled if a legitimate use case is found.
2023-02-12 12:39:24 +01:00
Kévin Commaille
9194c60f4a
xtask: Allow spec links to use the latest
spec instead of a specific version
2023-02-12 12:39:24 +01:00
Kévin Commaille
2e51eeb5bc
ci: Check that links to the spec are valid
2023-02-11 12:14:33 +01:00
Jonas Platte
db6acae8a8
xtask: Don't wait after ruma-macros release
...
Current versions of Cargo do this as part of `cargo publish`.
2023-02-02 13:13:36 +01:00
Jonas Platte
b0967d9053
Re-export ruma-server-util from ruma with a feature flag
2023-02-01 14:19:28 +01:00
Jonas Platte
5b77165e2b
Update xtask release to work for ruma-server-util
2023-02-01 14:12:38 +01:00
Jonas Platte
92c1602d2d
Update release xtask to account for workspace dependencies
2023-02-01 13:24:43 +01:00
Jonas Platte
de448ead01
Upgrade toml, toml_edit
2023-01-31 18:17:58 +01:00
Jonas Platte
78ef5270ba
Upgrade dependencies
2023-01-03 11:28:47 +01:00
Kévin Commaille
5f8e72feac
ci: Allow Matrix v1.5 links
2022-11-25 14:13:56 +01:00
Jonas Platte
d18bea570c
Use Cargo workspace dependencies
...
… for most external dependencies that are used from multiple workspace
crates.
2022-11-01 11:13:21 +01:00
Jonas Platte
e14c46eaba
xtask: Upgrade clap, toml_edit
2022-10-31 10:27:39 +01:00
Jonathan de Jong
7e1fd603e6
Bump MSRV to 1.64
2022-10-26 17:22:23 +02:00
Jonas Platte
c7e84c5249
Fix clippy lints
...
Automated using `cargo clippy --fix`.
2022-10-26 13:38:29 +02:00
Kévin Commaille
106527ec7e
ci: Add support for Matrix v1.4 links
2022-09-30 17:18:08 +02:00
Jonas Platte
66ff4dbaad
Raise MSRV to 1.62
2022-09-20 13:49:16 +02:00
Jonas Platte
c54b96dc69
xtask: Clean up doc output
...
* Don't render docs for examples
* Don't include a workaround for a problematic nightly feature we no longer use
2022-09-16 12:09:28 +02:00
Jonas Platte
c745d3baf7
Fix clippy lint
2022-09-02 14:07:28 +02:00
Jonas Platte
4db337b86a
Consistently use dep: syntax for feature > package dependencies
...
This removes confusing implicit features from optional dependencies.
2022-08-01 15:46:20 +02:00
Jonas Platte
195091c051
Update clippy issue reference
2022-06-21 18:03:46 +02:00
Kévin Commaille
a36ea313f6
xtask: Allow to whitelist spec links
2022-06-21 15:51:55 +02:00
Kévin Commaille
a940de9e41
api: Add MatrixVersion::V1_3
2022-06-20 14:10:09 +00:00
Jonas Platte
21a03fce92
Undo pinning of clap
2022-06-15 18:33:56 +02:00
Jonas Platte
a47c8f08d3
xtask: Prevent Cargo from upgrading clap to 3.2
...
https://github.com/clap-rs/clap/issues/3822
2022-06-13 19:29:33 +02:00
Jonas Platte
20d00919f3
Enable rustdoc-map nightly feature via .cargo/config.toml
...
… instead of using -Z on the command line.
2022-06-13 14:09:13 +02:00
Jonas Platte
e22f8c5203
Truly fix docs generation
2022-06-13 13:50:50 +02:00
Jonas Platte
56cf3ce94c
Allow buggy clippy lint on a per-crate basis
...
The previous method of allowing it through .cargo/config.toml doesn't
seem to work anymore.
2022-06-08 11:45:29 +02:00
Kévin Commaille
93d8401d35
xtask: Fix release changelog generation
...
The version title might exist after the "unreleased" title if the
release failed after the changelog was updated
2022-06-03 13:22:41 +02:00
Jonas Platte
8912182c56
Increase usage of implicit named arguments in format strings
2022-06-03 10:06:28 +02:00
Jonas Platte
07af61d784
Bump MSRV to 1.60
2022-06-01 14:52:02 +02:00
Jonas Platte
5f902851af
Upgrade to Rust 2021
2022-05-27 12:04:23 +02:00
Kévin Commaille
6f7bb9aa1d
ci: Check that all features that are used exist
...
With the new `check-cfg=features` option
2022-05-24 15:28:43 +02:00
Kévin Commaille
6939c048b0
chore: Bump MSRV to 1.59
2022-05-16 13:24:25 +02:00
Jonas Platte
222c57ff8a
xtask: Fix inverted conditions
2022-04-28 17:14:50 +02:00
Jonas Platte
d73f84ebcc
ci: Make sure compiling for wasm works
2022-04-21 17:16:02 +02:00