3420 Commits

Author SHA1 Message Date
Jonas Platte
ab95ab46a6
Release ruma 0.0.1 2020-07-29 17:41:23 +02:00
Jonas Platte
4a251189ef
Release ruma-client-api 0.10.0-alpha.1 2020-07-29 17:38:54 +02:00
Jonas Platte
94bc0a3c44
Release ruma-appservice-api 0.2.0-alpha.1 2020-07-29 17:37:41 +02:00
Jonas Platte
97888f18ae
Release ruma-federation-api 0.0.3 2020-07-29 17:30:29 +02:00
Jonas Platte
dbdbc148ea
Release ruma-api 0.17.0-alpha.1 2020-07-29 17:25:32 +02:00
Jonas Platte
fa8c7b020b
Release ruma-events 0.22.0-alpha.1 2020-07-29 17:09:29 +02:00
Jonas Platte
5086a6654a
Update changelog for ruma-events-macros 2020-07-29 16:54:11 +02:00
Jonas Platte
48777f2eed
Release ruma-serde 0.2.3 2020-07-29 16:48:02 +02:00
Jonas Platte
97bd6c8a3f
Fix ruma-federation-api's changelog 2020-07-29 16:42:25 +02:00
Jonas Platte
c1677aa4c0
Fix cargo metadata 2020-07-29 16:36:48 +02:00
Devin Ragotzy
71e537d123 Move move-value test decl into logical mods for each 2020-07-29 08:50:08 -04:00
Devin Ragotzy
47b6adb524 Add tests for ruma_api! macro ensuring request/response generation ok 2020-07-28 18:55:02 -04:00
Devin Ragotzy
f00bad3895 Add try_build test testing new type body fields are declared last 2020-07-28 17:13:33 -04:00
Devin Ragotzy
b68b63ab8d Remove runtime panic caused by header <-> string conversion 2020-07-28 17:13:33 -04:00
Devin Ragotzy
4c01fee5c5 Move new type body init field (last field initialized) 2020-07-28 17:13:26 -04:00
Devin Ragotzy
8a9f15e01f House keeping, remove &mut self in all methods
Improved perf -7.8220%
2020-07-28 07:09:07 -04:00
Devin Ragotzy
77cbcc7ee2 Clean up logging calls 2020-07-27 17:10:06 -04:00
Devin Ragotzy
4990dac5fe Move all event access to _get_event method
We now use the event_map when possible, only accessing the state store
when event_map fails. A -4.8578% increase in perf was observed.
2020-07-27 16:47:55 -04:00
Jonas Platte
39c36176a6
Make in_reply_to in RelatesTo optional 2020-07-27 21:30:51 +02:00
timokoesters
d5d2d1d893
Make is_empty helpers in sync_events public 2020-07-27 10:34:17 +02:00
Devin Ragotzy
d8fb5ca112 Add benchmark for longer auth chain and Error type
This required that the code being run in the benchmark be tested to
verify it works correctly. Now work can begin cleaning up and optimizing
state-res.
2020-07-27 00:09:21 -04:00
Devin Ragotzy
4a34375449
Support multiple attribute arguments in ruma_event attribute (#161)
* Add parsing to allow ruma_event attribute to accept mutli args

* fixup! Add parsing to allow ruma_event attribute to accept mutli args

* Refactor MetaAttrs::parse and resolve review issues
2020-07-26 19:18:28 -04:00
Jonas Platte
1862d15365
Remove glob imports of C-like enums 2020-07-26 17:13:08 +02:00
Jonas Platte
3f3cf83ceb
Remove glob imports of modules 2020-07-26 17:13:00 +02:00
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
Devin Ragotzy
ea0b6ad530 Update readme to more accuratly reflect API 2020-07-25 08:26:26 -04:00
Devin Ragotzy
0ae8c8fe09 Add benchmarks for lexi_topo and state resolve method 2020-07-25 00:03:33 -04:00
Devin Ragotzy
29d86ebf3c Fix separate ignoring missing ids and auth_check details 2020-07-24 23:14:30 -04: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