Jonas Platte
f9e76358a1
Fix typos
2020-07-24 20:53:01 +02:00
Jonas Platte
26850dbafb
Simplify MegolmV1AesSha2Content construction
2020-07-24 20:25:04 +02:00
Jonas Platte
4cbdc079b0
Improve string comparison impls
2020-07-22 19:17:24 +02:00
Jonas Platte
b24df92692
Make DeviceId a newtype rather than an alias
2020-07-22 18:59:33 +02:00
Jonas Platte
6644ae487f
Mark types in ruma_events::room::encrypted as non_exhaustive
2020-07-17 01:07:16 +02:00
skim
b260a13d4b
move and rename ruma_events::json::EventJson to ruma_common::raw::Raw
2020-07-16 07:31:36 -07:00
Jonas Platte
a3e5d679a1
Revert making identifier types generic over the underlying string type
...
At the same time, this commit makes `ServerName` a newtype around str so
other identifier types can borrow out their server name part as a
`&ServerName`. This technique works for `ServerName` because it keeps no
additional metadata. For the other identifier types to support being
created in borrowed form from a string slice, custom DSTs first have to
be added to Rust.
2020-07-14 23:02:51 +02:00
Jonas Platte
8683901e14
Don't to_string() string literals
2020-07-14 22:11:05 +02:00
Ragotzy.devin
be0838e7d3
Change EncryptedEventContent from StateEventContent to MessageEventContent
...
… and add it to AnyMessageEventContent
2020-06-11 23:48:57 +02:00
Jonas Platte
fbf0deacfe
Re-rustfmt ruma-events
2020-06-10 22:17:59 +02:00
Jonas Platte
f304c04d1d
Add 'ruma-events/' from commit '00692d532e26f58d48ead9589dc823403c6e59a5'
...
git-subtree-dir: ruma-events
git-subtree-mainline: d59a616e2c363507a89c92f34aa67e86ee2cfb49
git-subtree-split: 00692d532e26f58d48ead9589dc823403c6e59a5
2020-06-10 22:07:24 +02:00