1835 Commits

Author SHA1 Message Date
Jonas Platte
42e07308e1
Remove unused import 2020-07-26 17:02:42 +02:00
Jonas Platte
e047c647dd
fixup 2020-07-26 16:34:56 +02:00
Jonas Platte
05d0a3c04b
fixup 2020-07-26 16:30:11 +02:00
Jonas Platte
d7463ce37d
Remove things that can't be properly deprecated
See https://github.com/rust-lang/rust/issues/47236
2020-07-26 16:24:36 +02:00
Jonas Platte
5ca2fd78a8
ruma: Reexport identifier types from the crate root 2020-07-26 16:16:30 +02:00
Jonas Platte
2e0a765820
Fix mistakenly renamed struct 2020-07-26 16:04:12 +02:00
Jonas Platte
c363494905
Release ruma-identifiers 0.17.1 2020-07-26 15:04:20 +02:00
Jonas Platte
82b7cc1637
identifiers: Add as_bytes to all types with as_str 2020-07-26 14:55:39 +02:00
Jonas Platte
2e5fceb2b5
identifiers: Simplify generated as_str implementations 2020-07-26 14:44:37 +02:00
Jonas Platte
08fbace022
Mark PinnedEventsEventContent as non_exhaustive 2020-07-25 03:04:19 +02:00
Jonas Platte
be175bbae6
Mark JoinRulesEventContent as non_exhaustive 2020-07-25 02:58:37 +02:00
Bernardo Yusti
ea2992a412
federation-api: Add V2 send join 2020-07-25 02:12:27 +02:00
Jonas Platte
e01706d1bb
Accept and Into<String> for FormattedBody::html 2020-07-25 02:03:36 +02:00
Jonas Platte
f56b530dc3
Rename TextMessageEventContent::new_plain to plain 2020-07-25 01:59:18 +02:00
Jonas Platte
76c2f5c449
Add a convenience constructor to FormattedBody 2020-07-25 01:44:06 +02:00
Jonas Platte
c8b1aad189
Add macros to create identifiers from string slices 2020-07-24 22:22:25 +02:00
Jonas Platte
ce04ea10bf
Remove no longer needed extern crate proc_macro; declarations 2020-07-24 21:21:13 +02:00
Jonas Platte
8faeef4fef
identifiers: Remove outdated allow attribute 2020-07-24 21:15:24 +02:00
Jonas Platte
617a40e3e9
identifiers: Change deny attribute to warn 2020-07-24 21:15:04 +02:00
Jonas Platte
85e2ae3d48
Remove ugly commas 2020-07-24 21:13:41 +02:00
Jonas Platte
e3e8911d8b
ruma-appservice-api: Change deny attribute to warn 2020-07-24 21:11:35 +02:00
Jonas Platte
360628067b
Release ruma-common 0.2.0 2020-07-24 21:08:46 +02:00
Jonas Platte
a74833a19b
ruma-common: Add a changelog 2020-07-24 20:56:42 +02:00
Jonas Platte
324d339f06
ruma-common: Make most public types non-exhaustive 2020-07-24 20:55:59 +02:00
Jonas Platte
f9e76358a1
Fix typos 2020-07-24 20:53:01 +02:00
Jonas Platte
69c8914b03
ruma-common: Small refactorings in any_push_rule.rs
* Make field order consistent
* Use `Self` type alias for shorter code
2020-07-24 20:50:24 +02:00
Jonas Platte
c89905283f
ruma-common: Move AnyPushRule into its own module 2020-07-24 20:40:51 +02:00
Jonas Platte
9f8ceb6286
Update visibility attributes on serde helper types 2020-07-24 20:35:56 +02:00
Jonas Platte
6286a2c692
Change deny attribute to warn in ruma-client-api 2020-07-24 20:31:07 +02:00
Jonas Platte
7053f1ef07
Set warn(missing_debug_implementations) in ruma-common 2020-07-24 20:30:54 +02:00
Jonas Platte
26850dbafb
Simplify MegolmV1AesSha2Content construction 2020-07-24 20:25:04 +02:00
Jonas Platte
e04ed242fc
Split ruma_common::push into more submodules 2020-07-24 20:15:29 +02:00
Devin Ragotzy
4be63127f7
Add into_full_event and From<> impls to convert between sync and full events 2020-07-24 14:45:38 +02:00
Devin R
3329dc7345 Fix clippy warnings in identifiers and events-macros 2020-07-23 15:01:12 +02:00
Devin R
56ff7c05e9 Remove the Ident from EventKind and impl Display for both enums 2020-07-23 15:01:12 +02:00
Devin R
2e1e63671d Turn long matches! into is_redacted EventKindVariation method 2020-07-23 15:01:12 +02:00
Devin R
a39c0106d4 Generate EventKind/Variation pair from Event derive input 2020-07-23 15:01:12 +02:00
Devin R
4b9fdcb189 Use EventKind/Variation in the Event derive macro
Move the event parsing into it's own mod to be shared by event.rs.
2020-07-23 15:01:12 +02:00
Jonas Platte
080a537664
Release ruma-identifiers 0.17.0 2020-07-22 23:06:44 +02:00
Jonas Platte
05a99a00a0
Only use matches crate as a dev-dependency 2020-07-22 23:06:35 +02:00
Jonas Platte
851560314c
Merge contributing notes into toplevel README.md 2020-07-22 23:05:50 +02:00
Jonas Platte
4238c91e24
Update MSRV policy 2020-07-22 23:05:50 +02:00
Jonas Platte
09f711b1c3
Fix unused import 2020-07-22 22:46:27 +02:00
Kinrany
9190bff1d0 Split AnyPushRuleConversionError in two and impl Error 2020-07-22 21:16:41 +02:00
Kinrany
580aaf4858 Add trailing comma 2020-07-22 21:16:41 +02:00
Kinrany
4570fa2fef Update AnyPushRule description 2020-07-22 21:16:41 +02:00
Kinrany
8eb96549d3 Implement From and TryFrom for AnyPushRule
Conversion into PushRule always succeeds, so no need to use TryFrom there
2020-07-22 21:16:41 +02:00
Kinrany
dca8e8c53e Move PushRule from ruma_client_api to ruma_common
Moves ruma_client_api::r0::PushRule to ruma_common::push::AnyPushRule
2020-07-22 21:16:41 +02:00
Devin R
3a0138dea1 Use Box instead of Raw for the redacted Unsigned types redacted_because 2020-07-22 20:29:01 +02:00
Jonas Platte
885aae39c5
Add From<&T> for Box<T> implementations for ServerName, DeviceId 2020-07-22 20:22:17 +02:00