Jonas Platte
fdd326edf7
Move Outgoing from ruma-api to ruma-common
...
The derive macro moves from ruma-api-macros to a new ruma-common-macros
crate likewise.
2020-09-22 21:35:10 +02:00
Jonas Platte
7aec43c323
Fix missing serde(default) attributes
2020-09-21 23:06:20 +02:00
Jonas Platte
b4b9d28c8c
Update change log for ruma-common
2020-09-17 21:28:02 +02:00
Jonas Platte
4a9b1aeb3c
Remove borrowing from types in ruma_common::encryption
...
Until a better solution can be found for types that appear both in
request & response types and would otherwise require incoming types to
appear as fields of outgoing types.
2020-09-12 02:50:57 +02:00
Jonas Platte
eab5368edd
common: Make recently-moved types non-exhaustive
2020-09-11 21:13:04 +02:00
Devin Ragotzy
bedffcd45a
Move PusherData to ruma-common
2020-09-11 19:18:52 +02:00
Devin Ragotzy
a3ae741699
Add unstable-exhaustive-types flag to ruma-common
2020-09-03 20:55:11 +02:00
Jonas Platte
fec07a7426
Update lots of types to the new API standards
2020-08-28 23:37:22 +02:00
Jonas Platte
ab6c56b7de
Drop unnecessary named lifetimes
2020-08-28 21:32:58 +02:00
Jonas Platte
64c5159f04
federation-api: Add lots of non_exhaustive attributes, other minor fixes
2020-08-19 02:04:10 +02:00
Jonas Platte
fbeae794c1
common: Make remaining fully public struct non-exhaustive
2020-08-19 01:38:23 +02:00
Isaiah Inuwa
90af430d6b
Copy shared directory types to ruma-common
2020-08-14 12:14:21 +02:00
Jonas Platte
4a1b6d5607
Use DeviceIdBox in ruma-events, ruma-*-api
2020-08-13 21:19:41 +02:00
Jonas Platte
eca333a9ec
Fix doc link
2020-08-12 14:14:06 +02:00
Amanda Graven
fdc15123b0
Reorganize encyption related code
...
Some types used for encryption related tasks need to be used across more
internal crates than expected, so a few have been moved and renamed for
clarity.
* Rename the key_algorithms module in ruma-identifiers-validation to crypto_algorithms
* Move ruma_events::Algorithm to ruma-identifiers-validation and rename it EventEncryptionAlgorithm
* Move DeviceKeys from ruma-client-api to ruma-common
2020-08-10 18:38:53 +02:00
Jonas Platte
0cd87a6c07
Update ruma-common changelog
2020-08-09 00:57:06 +02:00
Jonas Platte
c3170c1182
Make all types in ruma_common::thirdparty non-exhaustive
2020-08-09 00:56:29 +02:00
Jonas Platte
da78e215f8
Use thirdparty network types into ruma_common
2020-08-09 00:45:35 +02:00
Jonas Platte
1fbf05d71f
Fix some bad formatting
2020-08-08 21:52:58 +02:00
Jonas Platte
30e73186e7
Bump dependencies
2020-08-07 19:13:00 +02:00
Jonas Platte
48777f2eed
Release ruma-serde 0.2.3
2020-07-29 16:48:02 +02:00
Jonas Platte
1862d15365
Remove glob imports of C-like enums
2020-07-26 17:13:08 +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
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
7053f1ef07
Set warn(missing_debug_implementations) in ruma-common
2020-07-24 20:30:54 +02:00
Jonas Platte
e04ed242fc
Split ruma_common::push into more submodules
2020-07-24 20:15:29 +02:00
Jonas Platte
05a99a00a0
Only use matches crate as a dev-dependency
2020-07-22 23:06:35 +02:00
Kinrany
9190bff1d0
Split AnyPushRuleConversionError in two and impl Error
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
skim
b260a13d4b
move and rename ruma_events::json::EventJson to ruma_common::raw::Raw
2020-07-16 07:31:36 -07:00
Jonas Platte
8683901e14
Don't to_string() string literals
2020-07-14 22:11:05 +02:00
Kinrany
99999af08d
Create a dedicated type for PushCondition::RoomMemberCount::is
2020-06-21 21:20:43 +02:00
Jonas Platte
c621f220b9
Bump dependency versions
2020-06-19 22:53:07 +02:00
Jonas Platte
83d8f8c43e
Move some types from ruma_events::push_rules to ruma_common::push
2020-06-15 19:05:17 +02:00
Jonas Platte
29a6c94a4f
Remove all but the toplevel .gitignore
2020-06-07 18:53:53 +02:00
Jonas Platte
5865d24bb1
Remove ruma-common/.builds
2020-06-05 17:23:07 +02:00
Jonas Platte
e5233c49f6
Update crate metadata
2020-06-05 02:13:02 +02:00
Jonas Platte
8ddff0d108
Merge rustfmt settings, re-run cargo fmt
2020-06-05 02:01:09 +02:00
Jonas Platte
bb037a5c42
Integrate ruma-common
2020-06-05 01:43:39 +02:00
Jonas Platte
40b51d73a3
Add 'ruma-common/' from commit 'b516c0cd72c1a5e9985905f60b956c5365cd8789'
...
git-subtree-dir: ruma-common
git-subtree-mainline: c186f0f8c9c542fd1c7cea464de1ae94e5bd32ba
git-subtree-split: b516c0cd72c1a5e9985905f60b956c5365cd8789
2020-06-05 01:40:05 +02:00