15 Commits

Author SHA1 Message Date
Devin Ragotzy
992266b38e
federation-api: Create Edu enum 2021-04-17 00:28:49 +02:00
Abhik Jain
672422e742
serde-macros: Add m.snake_case and m.dotted.case rename rules 2021-04-15 14:10:33 +02:00
Abhik Jain
f16d7b67c3
serde-macros: Add M_MATRIX_ERROR_CASE casing rename rule 2021-04-15 13:45:05 +02:00
Jonas Platte
c1693569f1
api: Replace bytes::Buf by AsRef<u8> for reading
This allows us to switch back to serde_json::from_slice instead of
serde_json::from_reader, because the latter is significantly slower.

See https://github.com/serde-rs/json/issues/160
2021-04-13 22:12:16 +02:00
Jonas Platte
1bf4157a89
Add favicon and logo URLs for rustdoc 2021-04-05 11:42:07 +02:00
Jonas Platte
c910d57b14
Release ruma-serde 0.3.1 2021-03-23 20:58:53 +01:00
Jonas Platte
c27b17e5f9
Upgrade proc-macro-crate to 1.0.0 2021-03-23 20:43:58 +01:00
Jonas Platte
ad608c0013
Replace syn::Error::to_compile_error with into_compile_error 2021-03-09 19:12:21 +01:00
Jonas Platte
2ebd827355
Release ruma-serde 0.3.0 2021-01-02 13:04:39 +01:00
Jonas Platte
f55e2b2cc6
Bump dependency requirements 2020-12-24 02:48:01 +01:00
Jonas Platte
168ac66b6f
Update ruma-serde-macros version to be in sync with ruma-serde 2020-12-24 02:05:50 +01:00
Jonas Platte
212153ea5f
Mark macro-generated trait implementations as #[automatically_derived] 2020-12-13 13:29:03 +01:00
Jonas Platte
ae6595339c
Stop stripping serde attributes
To still prevent 'unknown attribute' errors, the attribute is registered
using a dummy derive macro where needed.
2020-12-13 11:54:39 +01:00
Jonas Platte
d220ab0fbe
Outgoing derive: Copy cfg and cfg_attr attributes to Incoming type 2020-12-10 16:40:57 +01:00
Jonas Platte
5562a23aaa
Move Raw, Outgoing and all macro code from ruma-common to ruma-serde 2020-11-28 03:45:39 +01:00