Jonas Platte
|
c745d3baf7
|
Fix clippy lint
|
2022-09-02 14:07:28 +02:00 |
|
Marcel Hellwig
|
92f862e279
|
macros: Generate certain structs only with client or server feature enabled
If neither the client, nor the server feature is enabled the fields are
unused and therefore trigger the dead_code lint.
|
2022-06-22 14:15:37 +02:00 |
|
Jonas Platte
|
8912182c56
|
Increase usage of implicit named arguments in format strings
|
2022-06-03 10:06:28 +02:00 |
|
Jonas Platte
|
73c2963ebd
|
Enforce consistent semicolons after () -typed expressions in blocks
|
2022-06-03 08:40:16 +02:00 |
|
Jonas Platte
|
5f902851af
|
Upgrade to Rust 2021
|
2022-05-27 12:04:23 +02:00 |
|
Kévin Commaille
|
734770d2bc
|
macros: Refactor ruma_api attributes parsing
|
2022-05-23 21:51:47 +02:00 |
|
Jonas Platte
|
05ad164d21
|
macros: Fix errors from unused serde attributes with only server feature active
|
2022-03-25 12:26:52 +01:00 |
|
Jonas Platte
|
7a5be040fd
|
macros: Reduce codegen by feature-gating Serialize and Deserialize derives
… this makes it faster to compiler ruma-*-api with either the client or
server feature inactive.
|
2022-03-24 18:08:21 +01:00 |
|
Jonas Platte
|
a6a530dcc8
|
serde: Rename derive macro Outgoing to Incoming
All it does now is generate `Incoming{Self}` types.
|
2022-03-22 13:19:03 +01:00 |
|
Jonas Platte
|
4e7eeb8aa4
|
macros: Slightly simplify generated API trait impls
|
2022-03-22 13:19:03 +01:00 |
|
Jonas Platte
|
e3a8b6b81f
|
macros: Don't generate unused Outgoing structs
They are only needed when the server feature is active.
|
2022-03-22 13:19:03 +01:00 |
|
Kévin Commaille
|
bdcf07be87
|
common: Merge ruma-serde into ruma-common
|
2022-03-10 12:11:00 +01:00 |
|
Kévin Commaille
|
bdd54d1dd3
|
macros: Use import_ruma_common instead of import_ruma_api
|
2022-03-10 11:00:27 +01:00 |
|
Kévin Commaille
|
f32dcb9254
|
common: Merge ruma-api into ruma-common
|
2022-03-03 14:01:51 +01:00 |
|
Kévin Commaille
|
0d49715f29
|
macros: Merge ruma-api-macros into ruma-macros
|
2022-03-02 15:19:16 +01:00 |
|