468 Commits

Author SHA1 Message Date
Akshay
3428e9dd92
Migrate to ruma-serde from serde_urlencoded 2020-05-04 17:46:24 +02:00
Jonas Platte
cf2747cc70
Fix HighlightTweak deserialization 2020-05-01 23:40:26 +02:00
Jonas Platte
25f302f491
Add is_true 2020-05-01 23:33:01 +02:00
Jonas Platte
657721b1e6
Add push::Action 2020-05-01 20:32:12 +02:00
Jonas Platte
bfa96cd49f
Initial commit 2020-05-01 17:15:07 +02:00
Jonas Platte
2fb17f30be
Bump version 2020-04-30 17:55:36 +02:00
Jonas Platte
3471e9c46e
Move serde_json_eq into submodule, always compile 2020-04-30 17:55:20 +02:00
Jonas Platte
06f6ca82b2
Bump version 2020-04-30 17:24:09 +02:00
Jonas Platte
f664a0132d
Import some things from ruma-events 2020-04-30 17:23:50 +02:00
Jonas Platte
1a00c1d386
Don't treat literal "null" as JSON
Reverts part of 7972453e9107d9439e90bf1661538c7b935c3ebb
2020-04-29 10:56:58 +02:00
Jonas Platte
a3787cf3b9
Update dependencies 2020-04-29 10:56:19 +02:00
Jonas Platte
a22335c6e7
Remove Cargo.toml left over from serde_urlencoded integration 2020-04-29 10:06:07 +02:00
Ragotzy.devin
7972453e91
urlencoded: (de)serialize nested structs as JSON 2020-04-29 09:58:30 +02:00
Jonas Platte
f7d6cf9b3f
Replace travis CI with builds.sr.ht 2020-04-24 22:19:30 +02:00
Jonas Platte
053d2e94f6
Update CI config 2020-04-24 21:53:42 +02:00
Jonas Platte
e24826cea5
Simplify CI scripts 2020-04-24 21:40:06 +02:00
Jonas Platte
0efac871bc
Remove the option to disable macro reexport 2020-04-24 21:33:15 +02:00
Jonas Platte
f1789032fd
Remove travis badge from readme 2020-04-24 21:29:57 +02:00
Jonas Platte
0c38d8aca5
Switch CI from travis to builds.sr.ht 2020-04-24 21:03:09 +02:00
Jonas Platte
16acf7f753
CI updates 2020-04-24 18:43:49 +02:00
Jonas Platte
50218e27ab
Add sources to builds.sr.ht manifests 2020-04-24 18:38:37 +02:00
Jonas Platte
1eb5bffbc6
Add builds.sr.ht manifests 2020-04-24 18:29:28 +02:00
Jonas Platte
cb5f8ffc39
Don't use unstable rustfmt options 2020-04-24 12:32:25 +02:00
Jonas Platte
6fa05a1a6f
Update some imports 2020-04-24 12:29:44 +02:00
Jonas Platte
6770ed61c1
Update .gitignore 2020-04-24 12:28:17 +02:00
Jonas Platte
32d95057a6
cargo fmt 2020-04-24 12:17:59 +02:00
Jonas Platte
41288b7c73
Fix warnings 2020-04-24 10:11:35 +02:00
Jonas Platte
c6359d1916
Integrate serde_urlencoded fork 2020-04-24 10:09:19 +02:00
Jonas Platte
afb39536eb Add 'urlencoded/' from commit '93a7283991aa9c9b1087803c274953d3072c3dc0'
git-subtree-dir: urlencoded
git-subtree-mainline: 3e4cd7abd4fa3f87c7de3952a10c65928d93979d
git-subtree-split: 93a7283991aa9c9b1087803c274953d3072c3dc0
2020-04-24 09:43:01 +02:00
Devin R
93a7283991
Add support for matrix-style multiple query parameters
This adds support for query strings in which a sequence field of a
`Deserialize` / `Serialize` struct is (de)serialized as
`field=val1&field=val2&field=val3`, instead of the more common
`field[]=val1&field[]=val2&field[]=val3` syntax.
2020-04-24 09:32:37 +02:00
Jonas Platte
85cef85b60
Update ruma-events, bump versions 2020-04-22 21:39:05 +02:00
Jonas Platte
df7914de1a
Remove Outgoing trait
we won't need it anymore once `EventResult` is replaced with `EventJson`
2020-04-22 12:54:47 +02:00
Jonas Platte
620ca0ebcf
Don't require trait implementations in macro code 2020-04-22 12:08:02 +02:00
Jonas Platte
3fb21b3330
Update ruma-identifiers, bump versions 2020-04-20 15:57:04 +02:00
Devin R
68daaf86f6 update to 2018 edition, import in ruma style 2020-04-20 09:11:41 -04:00
Jonas Platte
21d6c890a7
Update ruma-events to 0.19.0 2020-04-19 23:17:36 +02:00
Jonas Platte
1686afc8bd
Update ruma-events (dev-dep) to 0.19.0-rc.2 2020-04-19 20:07:36 +02:00
Jonas Platte
3e4cd7abd4
Add LICENSE file, travis configuration 2020-04-17 19:54:23 +02:00
Jonas Platte
c0e751669f
Initial commit (import code from ruma-client-api)
Co-authored-by: Isaiah Inuwa <isaiah.inuwa@gmail.com>
2020-04-17 19:50:14 +02:00
Jonas Platte
399b7ace57
Fix ruma-identifiers being declared as an optional dependency 2020-04-17 19:30:08 +02:00
Jonas Platte
ef4edeb20d
Fixup 2020-04-17 19:22:55 +02:00
Jonas Platte
28d836ec50
Update change log, bump versions 2020-04-17 19:22:06 +02:00
Jonas Platte
cbdbc0c38f
Remove url crate dependency 2020-04-17 19:17:26 +02:00
Jonas Platte
8ba4fe4358
Update ruma-identifiers to 0.15.1 2020-04-17 18:20:05 +02:00
Jonas Platte
dc77869de0
Bump versions, update change logs 2020-04-16 17:03:07 +02:00
Jonas Platte
ce1adb2827
Update dependencies 2020-04-16 16:59:48 +02:00
Jonas Platte
4c67b1a71d
Update ruma-api-macros/README.md 2020-04-16 15:09:46 +02:00
bors[bot]
ab6f3ce278
Merge #68
68: Allow serialization of unit type r=nox a=maxv-rust

That changes provides support for unit type serialization.

It may looks like it doesn't make sense to serialize `()`. Unfortunately that kind of serialization may be necessary for generic structures where one of generic argument may be `()`.

Closes #69 

Co-authored-by: MaxV <60802079+maxv-rust@users.noreply.github.com>
2020-04-16 10:20:06 +00:00
Jonas Platte
5e62369a16
Fix MSRV in README.md 2020-04-16 01:43:01 +02:00
Jonas Platte
0238a72b59
Serialize an empty JSON object as body for responses without body fields 2020-04-15 22:04:27 +02:00