169 Commits

Author SHA1 Message Date
strawberry
b003338b90 Merge remote-tracking branch 'upstream/main' into conduwuit-changes 2024-09-07 08:18:57 -04:00
Jonas Platte
037e37c5e7 ci: Exclude ruma-macros feature from stable-all 2024-09-07 07:57:30 +00:00
Jonas Platte
43abef7e1f ci: Update MSRV jobs
- Fix msrv-all enabling ruma-macros' nightly-only feature
- Test ruma-client in msrv-all, remove separate job
2024-09-07 07:57:30 +00:00
strawberry
69b2bc4b8c Merge remote-tracking branch 'upstream/main' into conduwuit-changes 2024-08-14 01:47:43 -04:00
Kévin Commaille
6087f7efbb ci: Bump nightly version 2024-07-29 20:03:44 +02:00
strawberry
c76e2873c1 make ruma-identifiers-validation a ruma feature
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-07-23 22:09:52 -04:00
torrybr
5ebe200bb6
ci: Improve and run clippy-wasm command
Lint more crates with it and enable more features. Also only allow web-time types.
2024-07-11 09:47:03 +02:00
Kévin Commaille
ffc1cb1c4d ci: Print version of latest spec page downloaded 2024-06-21 18:12:58 +02:00
Kévin Commaille
015a0c1c96 ci: Make spec links check output format easier to parse 2024-06-21 18:10:14 +02:00
Kévin Commaille
32d0e03575 ci: Change how we detect duplicate IDs for spec links
Starting with Matrix 1.11, the IDs are uniquified when generating
the HTML rather than in the browser with JavaScript,
so we need to check IDs that are already de-duplicated.
2024-06-21 18:10:14 +02:00
Kévin Commaille
644883eaf5 ci: Allow spec links to Matrix 1.11 2024-06-21 15:19:34 +02:00
Kévin Commaille
de20f0351f ci: Run tests with compat features 2024-05-23 19:55:49 +02:00
Kévin Commaille
bbc0fe875f ci: Update version of Rust nightly 2024-05-12 15:49:28 +02:00
Kévin Commaille
9b3f4a2c0f ci: Add lint to check if all sub-crates features can be enabled from ruma crate 2024-05-11 12:11:35 +02:00
Kévin Commaille
30701596d0 xtask: Set user-agent string of HTTP client
GitHub doesn't allow to use the REST API without a user-agent set
2024-05-09 15:17:07 +02:00
Kévin Commaille
14d7ec42e7 xtask: Don't try to read ruma-macros changelog and only publish it 2024-05-09 15:17:07 +02:00
mib
7b373b78bb
xtask: Migrate from isahc to reqwest
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
Co-authored-by: Kévin Commaille <76261501+zecakeh@users.noreply.github.com>
2024-04-26 20:43:49 +00:00
Kévin Commaille
7959f95c05 xtask: Allow links to v1.10 of the spec 2024-03-22 21:28:39 +01:00
Kévin Commaille
201733ebe9 ci: Bump nightly toolchain 2024-02-14 13:07:21 +01:00
Jonas Platte
0b2a459400 client: Replace async-trait with RPITIT / AFIT
(return type position impl trait in traits / async fn in traits)
2024-01-10 16:31:25 +01:00
Jonas Platte
d77c0d0bd7 xtask: Fix clippy-wasm ci job
Looks like it is not run in CI currently.
2024-01-10 16:19:49 +01:00
Jonas Platte
157b36d305 xtask: Simplify match arm
Thanks to clippy for the lint!
2024-01-10 16:09:03 +01:00
Kévin Commaille
4efca6fba5 docs: Point links to v1.9 of the spec 2023-11-30 14:42:14 +01:00
Jonas Platte
e8bc589e52
Transition to type privacy lints 2023-11-09 09:50:04 +01:00
Jonas Platte
db06702a0f
ci: Upgrade nightly toolchain 2023-11-08 18:03:26 +01:00
Jonas Platte
6aa6b65258
xtask: Adjust release code for ruma-macros 2023-10-24 16:19:51 +02:00
Jonas Platte
7f7d6ee533
Upgrade dependencies 2023-10-05 10:59:59 +02:00
Jonas Platte
b49d644bb4 Update xtask/config.toml.sample 2023-09-28 12:29:25 +02:00
Jonas Platte
fec7d23cfd
ci: Remove pointless job
It was running no tests.
2023-08-25 10:36:25 +02:00
Kévin Commaille
729c1fb6e4 ci: Add support for Matrix 1.8 links 2023-08-24 12:16:29 +02:00
Kévin Commaille
c652461ae7 xtask: Ignore non-text files in spec links check 2023-08-23 16:55:57 +02:00
Kévin Commaille
b2fe172be1 chore: Bump MSRV to 1.70 2023-08-14 16:17:25 +02:00
Jonas Platte
3bd58e3c89
ci: Use same nightly toolchain for docs that's used for other jobs 2023-07-31 10:51:40 +02:00
Jonas Platte
511ba3d86e
Make nightly toolchain used for CI the default 2023-07-31 10:48:53 +02:00
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