143 Commits

Author SHA1 Message Date
Jonas Platte
1a138ed6c9 Use workspace lint configuration instead of rustflags hack 2024-09-11 07:13:32 +00:00
Kévin Commaille
9e8008f011 chore: Make rand a workspace dependency 2024-07-16 15:02:45 +02:00
Kévin Commaille
f9ae582b27 chore: Make bytes a workspace dependency 2024-07-16 15:02:45 +02:00
Jonas Platte
d91e6d7e63
Simplify docsrs feature usage
- Don't instruct docs.rs to set it, it does so by default now:
  https://github.com/rust-lang/docs.rs/pull/2390
- Because of that, check-cfg also recognizes it and does not need
  extra configuration either.
2024-05-30 10:35:07 +02:00
Damir Jelić
b7b9816314 Make the url crate a workspace dependency 2024-05-14 18:18:15 +02:00
Kévin Commaille
75455d3e0f
Release ruma-common 0.13.0 2024-05-09 12:14:59 +02:00
Jonas Platte
4a02b97aa3
Update website URL 2024-04-04 13:20:58 +02:00
Hubert Chathi
c5f8137ba9
ruma: Export web_time as time 2024-03-27 18:48:55 +01:00
Damir Jelić
ccd3b81557
Use web-time to return a SystemTime that works under WASM
The `MilliSecondsSinceUnixEpoch::to_system_time()` method returns the
`SystemTime` type from the standard library.

The `std::time::SystemTime::elapsed()` method sadly panics under WASM.
Instead of returning the `SystemTime` from the standard library we're
now returning a drop-in replacement of this type coming from the web-time
crate.
2024-03-20 12:19:18 +01:00
Jonas Platte
95707b86c3 Provide a more helpful Debug impl for timestamps 2024-03-16 00:23:31 +01:00
Kévin Commaille
b4133b7863 push: Stabilize support for MSC3958 2023-11-30 14:37:17 +01:00
Jonas Platte
5d7c1f5330
Release ruma-common 0.12.1 2023-11-16 10:43:15 +01:00
Jonas Platte
e658b8b128
Remove 'www.' from ruma.io URLs 2023-10-12 15:44:00 +02:00
Jonas Platte
7cee1787a2
Release ruma-common 0.12.0 2023-10-05 11:21:46 +02:00
Kévin Commaille
c12f2f4002 push: Update poll push rules
According to MSC3930
2023-09-28 11:46:38 +02:00
Jonas Platte
10f651916f
identifiers: Add a compat flag to allow arbitrary-length IDs 2023-09-27 16:33:53 +02:00
Kévin Commaille
31ae99cf52 Add support for suppress edits push rule
According to MSC3958
2023-09-15 13:33:07 +02:00
Jonas Platte
399adc911f Use as_variant crate for shorter code 2023-08-28 19:31:39 +02:00
Jonas Platte
31331f3165
Bring back ruma-events
Co-authored-by: Kévin Commaille <zecakeh@tedomum.fr>
2023-08-28 10:23:54 +02:00
Kévin Commaille
24ce9d5e09 events: Move sanitize HTML features to new ruma-html crate 2023-08-24 14:00:07 +02:00
Jonas Platte
eea51d27fa
common: Reduce konst dependency feature set 2023-07-14 09:46:11 +02:00
Jonas Platte
f9ef276d41
common: Only depend on konst when needed 2023-07-14 09:38:03 +02:00
Benjamin Bouvier
2c8ece6bf2
events: Parse TagInfo::order as a f64 or a stringified f64 2023-07-06 14:34:43 +02:00
Jonas Platte
650792bcb5
Upgrade konst to 0.3.5 2023-07-05 11:12:02 +02:00
Jonas Platte
a45ad6b41e
Upgrade indexmap to 2.0 2023-07-05 11:12:01 +02:00
Kévin Commaille
77d94caf11 chore: Use workspace-defined MSRV 2023-07-04 15:40:37 +02:00
Jonas Platte
ba5bf8cfce
Replace assert_matches by assert_matches2 2023-06-08 11:37:11 +02:00
Kévin Commaille
07ea09548f events: Stabilize VoIP signalling improvements 2023-06-06 10:44:48 +02:00
Kévin Commaille
2d697fcc95 events: Stabilize annotations and reactions 2023-05-26 09:26:30 +02:00
Kévin Commaille
0bec1ad507 push: Stabilize event_property_contains 2023-05-26 09:26:09 +02:00
Kévin Commaille
b8668f863b push: Stabilize event_property_is 2023-05-26 09:26:09 +02:00
Kévin Commaille
6df78e8aee events: Move CalCapabilities behind feature unstable-msc2747 2023-05-24 17:53:32 +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
Kévin Commaille
2ccc0323f6 push: Add support for event_property_contains push condition
According to MSC3966
2023-04-11 16:12:05 +02:00
Kévin Commaille
2e7b67bb23 push: Add support for event_property_is push condition
According to MSC3758
2023-04-11 16:12:05 +02:00
Kévin Commaille
41be6ac18b events: Update types according to MSC3927 and changes in MSC3246 2023-02-27 20:28:38 +01:00
Kévin Commaille
8477efb2ef events: Update types according to changes in MSCs 1767, 3954, 3955 and 3956 2023-02-27 20:28:38 +01:00
Kévin Commaille
f17f288a3f
Release ruma-common 0.11.3 2023-02-15 12:44:42 +01:00
Kévin Commaille
798c25e32a events: Move MessageAuthenticationCode::HkdfHmacSha256V2 out of unstable-msc3783 2023-02-14 22:19:47 +01:00
Jonas Platte
94c01077c5
Release ruma-common 0.11.2 2023-02-07 21:04:39 +01:00
Jonas Platte
093c231792
Release ruma-common 0.11.1 2023-02-02 13:02:45 +01:00
Jonas Platte
9bbe06aa3f
Release ruma-common 0.11.0 2023-02-01 13:26:09 +01:00
Jonas Platte
706bbf1753
Remove no-op default-features = false 2023-02-01 13:24:43 +01:00
Jonas Platte
b6f0a43fa3
Use workspace dependencies for path dependencies 2023-02-01 12:37:45 +01:00
Benjamin Kampmann
9460702b00 feat: add support for unstable-msc3931/3932 style push conditions parsing 2023-01-07 14:36:25 +01:00
Jonas Platte
78ef5270ba Upgrade dependencies 2023-01-03 11:28:47 +01:00
Matthew Hodgson
0578e7af50
common: Explicitly enable std feature of indexmap
Otherwise, it fails to build with -Z build-std, see
https://github.com/cuviper/autocfg/issues/34
2023-01-03 10:26:26 +01:00
Jonas Platte
022a0c0475
Remove unused dependencies 2023-01-02 18:30:01 +01:00
Jonas Platte
ff8ab6b085
Replace ruma_common::serde::urlencoded with serde_html_form 2023-01-02 17:47:33 +01:00
Damir Jelić
6d133971b0
events: Add support for MSC3783 in the key verification events 2022-11-09 16:45:24 +01:00