Commit Graph

3983 Commits

Author SHA1 Message Date
Kévin Commaille
154f9b2d58 docs: Document compat feature uses 2021-04-07 12:47:44 +02:00
Kévin Commaille
2f406e63a4 docs: Add missing doc_cfg 2021-04-07 12:17:36 +02:00
Kévin Commaille
e049e45423 docs: Add missing dots 2021-04-07 12:15:37 +02:00
Kévin Commaille
963400979b docs: Harmonize ruma modules descriptions 2021-04-07 12:14:49 +02:00
Kévin Commaille
b3bbd31fa3 docs: Improve ruma crate documentation 2021-04-07 12:07:17 +02:00
Jonas Platte
bd61e97b96 identifiers: Fix hidden _macros module being visible in rustdoc 2021-04-06 19:30:07 +02:00
Kévin Commaille
b0ae341e87 docs: Use docsrs config attributes 2021-04-06 18:37:07 +02:00
Jonas Platte
af450d0fe2 Bump ruma 2021-04-06 17:28:36 +02:00
Jonas Platte
a310ccc318 client-api: Move some tests behind feature flags 2021-04-06 17:20:47 +02:00
Jonas Platte
22d9f30c67 client: Clean up dependency features 2021-04-06 13:27:08 +02:00
Kévin Commaille
0cf02c7d4b Add unstable documentation to readme 2021-04-06 10:16:30 +02:00
Jonas Platte
74342765bb events: Make ForwardedRoomKeyToDeviceEventContent non-exhaustive 2021-04-06 01:12:51 +02:00
Jonas Platte
c523fa0f74 Use ruma_api::try_deserialize in manual endpoint implementations 2021-04-05 22:33:05 +02:00
Jonas Platte
afec9f0fbf api-macros: Generate cleaner code 2021-04-05 22:16:46 +02:00
Jonas Platte
b7d465fabe Upgrade ruma 2021-04-05 15:57:27 -04:00
Jonas Platte
34243d49ba events: Add as_str and as_bytes methods for EventType 2021-04-05 21:49:50 +02:00
Jonas Platte
0dcbec5fa7 identifiers: Add more conversion methods and a trait impl 2021-04-05 21:41:54 +02:00
Jonas Platte
d883debe07 ruma: Re-export MxcUri, mxc_uri! from ruma-identifiers 2021-04-05 21:17:43 +02:00
Jonas Platte
444239cc10 common: Use RoomId in PushConditionCtx 2021-04-05 20:42:54 +02:00
Jonas Platte
a07eb4ecff client-api: Fix deserialization of recently changed state endpoint requests 2021-04-05 19:37:45 +02:00
Jonas Platte
466b8679d6 Replace all uses of ruma_serde::empty::Empty
… and remove it from the public API.
2021-04-05 18:57:42 +02:00
Kévin Commaille
ae6183ce6e xtask: Make release check before each step and ask to continue 2021-04-05 17:40:18 +02:00
Jonas Platte
2805dd733b serde: Improve error handling in time modules 2021-04-05 17:27:13 +02:00
Jonas Platte
2f1b9f0979 client-api: Merge _for_empty_key endpoints into their more general siblings 2021-04-05 16:04:28 +02:00
Louis de Wardt
ea33128014 Use Github Actions to automatically deploy documentation 2021-04-05 16:03:11 +02:00
Jonas Platte
4b05ee5f0a client-api: Use ruma_api! for endpoints with special request types 2021-04-05 15:11:59 +02:00
Jonas Platte
345d0cf990 api-macros: Allow ruma_api! invocation without request / response 2021-04-05 14:49:40 +02:00
Jonas Platte
95fef0b0ec api-macros: Make helper functions private 2021-04-05 14:13:49 +02:00
Jonas Platte
7cb7e6a211 api-macros: Move most parts of api and util into more specific modules 2021-04-05 14:05:43 +02:00
Jonas Platte
b4da6b784a Replace non-renaming uses of serde_json::{from_str, to_string} 2021-04-05 13:33:59 +02:00
Jonas Platte
1878e8aae0 Replace some turbofishes with type annotations 2021-04-05 13:13:28 +02:00
Jonas Platte
536a8aea1b api-macros: Replace ToTokens implementations with inherent methods 2021-04-05 12:57:50 +02:00
Jonas Platte
2e0f787ccd api-macros: Refactor parsing logic 2021-04-05 12:39:22 +02:00
Jonas Platte
e8e0ceb17d api-macros: Move some helper functions from util to api::parse 2021-04-05 12:18:54 +02:00
Jonas Platte
1dd6a3870a Use mem::take instead of mem::replace where applicable 2021-04-05 12:08:29 +02:00
Jonas Platte
679508f831 api-macros: Move parsing logic into a separate module 2021-04-05 12:07:34 +02:00
Jonas Platte
e7643d4c77 identity-service-api: Remove extraneous indentation 2021-04-05 11:45:13 +02:00
Jonas Platte
0d617995b2 identity-service-api: Add crate-level docs and warn on missing docs 2021-04-05 11:43:35 +02:00
Jonas Platte
1bf4157a89 Add favicon and logo URLs for rustdoc 2021-04-05 11:42:07 +02:00
Jonas Platte
db18d938e0 api-macros: Refactor error type parsing 2021-04-05 11:42:07 +02:00
Kévin Commaille
20fb7c3c82 client-api: Add constructors with MxcUri in media::get_content*::Request 2021-04-05 11:40:27 +02:00
Kévin Commaille
b1470261e0 federation-api: Replace String with MxcUri for avatar_url 2021-04-05 08:10:21 +02:00
Kévin Commaille
c6ab610451 events: Replace String with MxcUri for media URLs 2021-04-05 08:10:21 +02:00
Kévin Commaille
71b358ccd6 common: Replace String with MxcUri for avatar_url 2021-04-05 08:10:21 +02:00
Kévin Commaille
62929ce5d1 client-api: Replace String with MxcUri for avatar_url 2021-04-05 08:10:21 +02:00
Jonas Platte
3be1ac702c Further improve crate release docs 2021-04-04 22:16:52 +02:00
Jonas Platte
fb3067489b Improve docs about releasing new crate versions 2021-04-04 22:13:31 +02:00
Adam
ffcf50fb4f identity-service-api: Add terms of service acceptance endpoint 2021-04-04 21:37:46 +02:00
Kévin Commaille
f67f44c8aa client-api: Change AnyEvent to AnySyncRoomEvent in push::get_notifications::Notification 2021-04-04 18:51:24 +02:00
Adam
86e3268079 identity-service-api: Add terms of service retrieval endpoint 2021-04-03 18:58:20 +02:00