Jonas Platte
fcba5100cf
api: Update a link
2022-02-18 20:21:41 +01:00
Jonathan de Jong
936bb64e84
Update links to spec.matrix.org/v1.2
2022-02-18 19:45:04 +01:00
Jonas Platte
aed0988694
api: Remove support for path metadata field
2022-02-13 11:44:32 +01:00
Jonas Platte
457726017b
api: Make metadata path field optional
2022-02-13 11:13:29 +01:00
Jonathan de Jong
397727726e
api: Add multiple path support to OutgoingRequest
2022-02-12 13:44:11 +01:00
Jonas Platte
1e94c3cd39
api: Add impl FromStr for MatrixVersion
...
Enables `str.parse::<MatrixVersion>()`.
2022-02-10 14:18:05 +01:00
Jonas Platte
ae4c9243cb
api: Move Metadata and MatrixVersion into new metadata module
2022-02-10 14:18:05 +01:00
Jonas Platte
f365f21ca8
api: Further simplify MatrixVersion::is_superset_of
...
… and make (major, minor) representation public.
2022-02-10 14:18:05 +01:00
Jonas Platte
af1ae46521
api: Fix a typo
2022-02-10 14:18:05 +01:00
Jonas Platte
08fb612fed
api: Inline PartialOrd for VersionRepr impl
2022-02-08 19:22:11 +01:00
Jonathan de Jong
fe337f8d5b
api: Move UnknownVersionError
into error module
2022-02-08 15:38:24 +00:00
Jonathan de Jong
1e900ab58c
api: Add stable_path
, r0_path
and unstable_path
metadata fields
2022-02-08 14:29:21 +01:00
Jonathan de Jong
0dcdb57c29
api: Add added
, deprecated
, and removed
metadata fields
2022-02-08 10:52:43 +01:00
Jonathan de Jong
19fd35d066
api: Add MatrixVersion enum
...
Co-authored-by: Jonas Platte <jplatte@users.noreply.github.com>
2022-02-04 12:32:12 +01:00
Jonathan de Jong
abd702cfbc
api: Don't extract request path arguments in IncomingRequest impls
...
… instead requiring callers to pass them as a list of strings.
Parsing is still done within the trait implementations though.
2022-02-02 11:57:29 +01:00
Jonas Platte
3ce578f384
identifiers: Make UserId a DST
2021-11-26 00:40:40 +01:00
Jonas Platte
bccbde6f83
api: Remove {Request,Response}DeserializationError
2021-10-29 22:44:15 +02:00
Jonas Platte
aa5fdf9d22
Merge serde attributes and improve docs
2021-10-08 12:49:13 +02:00
Jonas Platte
35a231e20c
api: Rewrap doc comment
2021-08-22 22:14:32 +02:00
Devin Ragotzy
ab3d48b576
client-api: Make all pub enums non_exhaustive
2021-08-10 15:22:26 +02:00
Jonas Platte
696c9fba4e
api-macros: Move ruma_api! trait impl generation into derive macros
2021-08-05 21:00:43 +02:00
Devin Ragotzy
337b1e26ef
misc: Allow exhaustive for non api related structs
2021-06-18 22:44:00 +02:00
Amanda Graven
97937d384c
Typo corrections
...
The "comforming" typo in the function name at
crates/ruma-identifiers-validation/src/user_id.rs:22:26
was not corrected as that would be a breaking change.
2021-06-01 12:45:34 +02:00
Jonas Platte
b1e6aa78c7
api: Add missing period in docs
2021-05-29 14:37:19 +02:00
Jonas Platte
d71fa97346
Use slices for outgoing raw bodies
2021-05-10 15:16:37 +02:00
Jonas Platte
a0f7e1b771
api: Replace error::Void by error::MatrixError
2021-05-08 14:33:12 +02:00
Jonas Platte
cf291bd5ba
Clean up lint attributes
2021-05-05 23:39:52 +02:00
Jonas Platte
3db0ea7026
Move all crates into a new crates directory
2021-05-03 15:50:27 +02:00