Jonas Platte
c186f0f8c9
Remove outdated lint attribute
2020-06-05 01:35:09 +02:00
Jonas Platte
c81509c5a6
Undo previous license move, make ruma crate a subdirectory
2020-06-05 01:32:09 +02:00
Jonas Platte
f8a25dabca
Add 'ruma-serde/' from commit '851ffea6d20bef1c66f1c8e0ceb4d4a00c9804fc'
...
git-subtree-dir: ruma-serde
git-subtree-mainline: ec8f70f42a5a3e44e082de21b153d5ff2bece72d
git-subtree-split: 851ffea6d20bef1c66f1c8e0ceb4d4a00c9804fc
2020-06-05 01:27:53 +02:00
Jonas Platte
ec8f70f42a
Move LICENSE, update Copyright, clean up
2020-06-05 01:16:51 +02:00
Jonas Platte
62199b79b7
Integrate ruma-appservice-api
2020-06-05 01:13:54 +02:00
Jonas Platte
98293ef913
Add 'ruma-appservice-api/' from commit '890cf1397304892fd690e74205c1055d6f49455a'
...
git-subtree-dir: ruma-appservice-api
git-subtree-mainline: b76327f5220e96822889878d5fce1d03db0b55d2
git-subtree-split: 890cf1397304892fd690e74205c1055d6f49455a
2020-06-05 01:06:09 +02:00
Jonas Platte
b76327f522
Import contributing guide from ruma-client-api
2020-06-05 00:50:24 +02:00
Jonas Platte
aa2a32497f
Add README.md, .editorconfig
2020-06-05 00:26:10 +02:00
Jonas Platte
f74e9c4b9b
Initial commit
2020-06-05 00:01:12 +02:00
Jonas Platte
44a0f493d0
Update dependencies, bump version
2020-06-04 23:53:25 +02:00
Jonas Platte
632eb9d520
Update crate authors
2020-06-04 22:45:58 +02:00
Jonas Platte
81c7849ae8
Update pinned version of ruma-events
2020-06-04 21:16:39 +02:00
Jonas Platte
c1ee72db0f
Use PresenceState from ruma_common
2020-06-04 21:15:14 +02:00
Jonas Platte
5365ee3afe
Use PresenceState from ruma_common, deprecate SetPresence
2020-06-04 21:13:58 +02:00
Jonas Platte
99876ca330
Bump version
2020-06-04 21:08:48 +02:00
Jonas Platte
a79c3d51e0
Add presence module
2020-06-04 21:07:32 +02:00
Jonas Platte
61e6493432
Sort derives by crate
2020-06-04 21:03:34 +02:00
Jonas Platte
9fb2c42f06
Update change log
2020-06-04 21:00:17 +02:00
Jonas Platte
3f74ba3270
Box optional sub-structs in avatar and message events
...
… to heavily decrease the size of some types.
Most importantly: MessageEventContent goes from 640 to 104 bytes in size
2020-06-04 17:48:52 +02:00
Jonas Platte
3746f1d331
Improve documentation
2020-06-04 16:38:38 +02:00
Jonas Platte
eea1046366
Fix (de)serialization for filter in get_context
2020-06-04 13:59:12 +02:00
Jonas Platte
6214b3ac6e
Fix event types in get_context
2020-06-04 12:08:08 +02:00
Jonas Platte
622d69884c
Add borrowed id types
2020-06-04 00:09:38 +02:00
Jonas Platte
2eb29abd74
Remove FIXME in member.rs
...
This is being adressed in the spec, see
https://github.com/matrix-org/matrix-doc/pull/2591
2020-06-02 12:16:51 +02:00
Jonas Platte
6fcdeac896
Clarify search_users documentation based on the latest spec version
2020-06-01 01:35:28 +02:00
Jonas Platte
06c52c2abb
Update change log
2020-06-01 01:23:00 +02:00
Jonas Platte
1093c2f84d
Add PartialOrd and Ord implementations for RoomVersionId
2020-06-01 01:22:46 +02:00
Jonas Platte
b7bdb4aa52
Update get_capabilites endpoint
2020-06-01 01:21:06 +02:00
Jonas Platte
a892d7f654
Update dependencies
2020-06-01 01:19:56 +02:00
Jonas Platte
f6f0b58a1c
Update change log
2020-06-01 00:44:46 +02:00
Jonas Platte
584aab3979
Use ruma-events from git
...
so people using this crate from git don't have breakage in r0::push
2020-05-31 23:31:18 +02:00
Jonas Platte
7395f940a7
Change PushCondition from using newtype variants to struct variants
2020-05-31 23:26:41 +02:00
Jonas Platte
da4abacf69
Use Ruleset type from ruma_events in get_pushrules endpoints
2020-05-31 23:24:37 +02:00
Jonas Platte
80726d0546
Use PushCondition from ruma_events instead of declaring a separate one
2020-05-31 23:23:52 +02:00
Jonas Platte
da7a97d490
Fixup for 16b9557
2020-05-31 22:56:51 +02:00
Jonas Platte
1696c47430
Add CI
2020-05-31 20:43:28 +02:00
Jonas Platte
16b9557d74
Consolidate formatted body fields for message events
2020-05-31 16:10:01 +02:00
Jonas Platte
70b3ff2737
Update Matrix specification links
2020-05-31 15:50:17 +02:00
Jonas Platte
07040a18c8
Fixup for 7b30c2b
...
(forgot RoomVersionId)
2020-05-30 20:04:19 +02:00
Jonas Platte
cf1a1de151
Support room version 6
2020-05-30 20:00:34 +02:00
Jonas Platte
7b30c2bb3e
Update how TryFrom implementation are generated
...
… and remove TryFrom<Cow<'_, str>> implementations
2020-05-30 19:28:06 +02:00
Jonas Platte
5861457f3b
Remove diesel integration
2020-05-30 19:10:21 +02:00
Jonas Platte
96ca638474
Change most usages of String to Box<str>
2020-05-30 18:31:08 +02:00
Timo Kösters
4d09416cd1
Add alt_aliases to CanonicalAliasEventContent
2020-05-30 17:51:23 +02:00
Jake Waksbaum
e05fdf84fd
Replace serde/strum renames with rename_all
...
Instead of applying a `#[serde(rename = "foo")]` or `#[strum(serialize =
"foo")]` to each field of a struct or variants of an enum, apply the
appropriate `#[serde(rename_all = "style")]` or `#[strum(serialize_all =
"style")]` to the struct/enum.
In addition, in the places where the `lowercase` style is used and all
the fields/variants are a single word, replace that with `snake_case`,
since that seems to be the default everywhere with multi-word
fields/variants.
2020-05-29 10:59:33 -04:00
Jake Waksbaum
d84de004c8
Replace impl_enum with strum::{EnumString,Display}
...
Replace the impl_enum! macro, which automatically derives instances of
std::fmt::Display and std::string::FromStr, with derive macros from the
strum crate (Display and EnumString resp.).
Closes #90 .
2020-05-29 10:59:33 -04:00
iinuwa
c725288cd0
Use RoomId instead of String for room visibility endpoints
2020-05-27 13:53:28 +02:00
Jonas Platte
d083127297
Update change log, bump versions
2020-05-26 18:45:12 +02:00
Jonas Platte
655e73dcf6
Update macro dependencies
2020-05-26 18:44:52 +02:00
iinuwa
b064daf23d
Add room visibility endpoints
2020-05-26 14:19:10 +02:00