56 Commits

Author SHA1 Message Date
Jason Volk
10f9f5a900 re-export js_int::Error
Signed-off-by: Jason Volk <jason@zemos.net>
2024-08-10 08:52:41 +00:00
Jason Volk
c12175cd16 apply rusfmt
Signed-off-by: Jason Volk <jason@zemos.net>
2024-08-10 08:40:49 +00: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
Kévin Commaille
e161a57eda html: Add HTML data types for elements and attributes suggested by Matrix Spec 2024-05-06 14:56:53 +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
Jonas Platte
e658b8b128
Remove 'www.' from ruma.io URLs 2023-10-12 15:44:00 +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
8e10064364 Enforce import grouping
Includes a few manual changes to make rustfmt behave a bit better.
2023-08-22 12:31:49 +02:00
Kévin Commaille
f159776f52 chore: Make all applicable spec links use the latest spec instead of a specific version 2023-02-12 12:39:24 +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
b9ec4db8f0 api: Add metadata! macro for easy Metadata construction
Co-authored-by: Jonathan de Jong <jonathan@automatia.nl>
2022-10-28 10:39:21 +02:00
Kévin Commaille
045861441a doc: Update Matrix spec links to v1.4 2022-10-21 10:41:20 +02:00
Jonas Platte
b715911189
ruma: Glob-reexport ruma-common
Previously this would result in rustdoc showing two `api` modules, but
that is now fixed: https://github.com/rust-lang/rust/issues/83375
2022-09-21 17:28:36 +02:00
Jonas Platte
1291929131
Rename unstable-pre-spec to unstable-unspecified 2022-09-20 10:39:20 +02:00
Jonas Platte
173eb15147
ruma: Re-export JsOption 2022-08-23 13:28:26 +02:00
Jonas Platte
0bbaeee7cc
ruma: Adjust wording of name spelling note 2022-08-12 19:38:59 +02:00
Jonas Platte
995a7799e8 ruma: Clean up cfg's
Feature dependencies are documented on docs.rs, so it should be clear
that foo-api implies foo-api-c and foo-api-s.
2022-08-01 15:46:20 +02:00
Kévin Commaille
7ec599e83d client-api: Add support for private read receipts
According to MSC2285
2022-07-18 11:18:55 +02:00
Kévin Commaille
cac7e09429
events: Add methods to sanitize messages
Can also remove rich reply fallbacks

Behind the `unstable-sanitize` feature.

Co-authored-by: Jonas Platte <jplatte@matrix.org>
2022-06-24 19:13:46 +02:00
Jonas Platte
f9f2c89615
ruma: Re-export canonical_json module and related types 2022-06-23 11:47:28 +02:00
Jonas Platte
3808b87981
ruma: Clean up serde re-exports 2022-06-23 11:47:15 +02:00
Kévin Commaille
251c1c85d2 docs: Document the use of American spelling 2022-06-12 14:26:07 +02:00
Jonas Platte
a8e7c47bbe
Remove RoomName type 2022-06-03 11:40:33 +02:00
Jonas Platte
e131606b2f ruma: Clean up doc formatting 2022-04-20 18:31:37 +02:00
Jonas Platte
f1c168175b ruma: Re-export new owned ID types 2022-04-20 10:39:36 +02:00
Jonas Platte
a567b9151d ruma: Remove common module (ruma-common export) 2022-04-14 17:28:12 +02:00
Kévin Commaille
558cd06062 ruma: Re-export MatrixUri at the root 2022-04-03 10:32:56 +02:00
Kévin Commaille
77e44d6428
ruma: Re-export RoomName 2022-03-29 21:18:04 +02:00
Jonas Platte
c9b353a384
Re-export IdParseError type from ruma 2022-03-28 12:34:23 +02:00
Jonas Platte
26556259c8
Re-export macro exports module from ruma 2022-03-25 14:03:18 +01:00
Jonas Platte
a6a530dcc8 serde: Rename derive macro Outgoing to Incoming
All it does now is generate `Incoming{Self}` types.
2022-03-22 13:19:03 +01:00
Kévin Commaille
bdcf07be87
common: Merge ruma-serde into ruma-common 2022-03-10 12:11:00 +01:00
Kévin Commaille
088d1872b7
common: Merge ruma-identifiers into ruma-common 2022-03-09 17:46:51 +00:00
Kévin Commaille
c3f9a3cb70
common: Merge ruma-events into ruma-common 2022-03-04 11:45:07 +00:00
Kévin Commaille
f32dcb9254
common: Merge ruma-api into ruma-common 2022-03-03 14:01:51 +01:00
Jonas Platte
3e0fb2f46d
ruma: Re-export ruma_client::Client 2022-02-18 23:24:00 +01:00
Jonas Platte
00195d7c52
ruma: Reorder re-exports
(crate re-exports first)
2022-02-18 23:23:10 +01:00
Jonathan de Jong
936bb64e84
Update links to spec.matrix.org/v1.2 2022-02-18 19:45:04 +01:00
Kévin Commaille
01c1dab4e6 ruma: Re-export ruma_identifiers::matrix_uri 2022-02-18 19:11:26 +01:00
Kévin Commaille
4845594c05
ruma: Document the new unstable-mscXXXX features 2022-02-11 12:49:43 +01:00
Jonas Platte
9aa748459a
Revert "identifiers: Add SecretRequestId"
This reverts commit aafbe14923a9272029652e7f56ef2aa809b03e34.
2022-01-23 17:20:59 +01:00
Jonas Platte
aafbe14923
identifiers: Add SecretRequestId 2022-01-23 17:01:24 +01:00
Jonas Platte
04ff192302
ruma: Re-export TransactionId from crate root 2022-01-23 16:12:18 +01:00
Jonas Platte
9621b83d49
Use doc_auto_cfg for automatic cfg documentation 2022-01-02 19:22:42 +01:00
Jonas Platte
8923881678
identifiers: Rename RoomIdOrAliasId to RoomOrAliasId 2021-11-26 01:07:41 +01:00
Jonas Platte
438efee143
identifiers: Remove Box<$id> aliases 2021-11-25 21:07:14 +01:00
Jonas Platte
271491732e
Remove now-redundant doc(cfg) attributes
They are now implied:
https://github.com/rust-lang/rust/pull/89596
2021-10-08 11:52:18 +02:00
Jonas Platte
0d293dec70
ruma: Remove unused allow(deprecated) 2021-08-11 17:05:47 +02:00