139 Commits

Author SHA1 Message Date
Jonas Platte
c186f0f8c9
Remove outdated lint attribute 2020-06-05 01:35:09 +02:00
Jonas Platte
c81509c5a6
Undo previous license move, make ruma crate a subdirectory 2020-06-05 01:32:09 +02:00
Jonas Platte
f8a25dabca Add 'ruma-serde/' from commit '851ffea6d20bef1c66f1c8e0ceb4d4a00c9804fc'
git-subtree-dir: ruma-serde
git-subtree-mainline: ec8f70f42a5a3e44e082de21b153d5ff2bece72d
git-subtree-split: 851ffea6d20bef1c66f1c8e0ceb4d4a00c9804fc
2020-06-05 01:27:53 +02:00
Jonas Platte
ec8f70f42a
Move LICENSE, update Copyright, clean up 2020-06-05 01:16:51 +02:00
Jonas Platte
62199b79b7
Integrate ruma-appservice-api 2020-06-05 01:13:54 +02:00
Jonas Platte
98293ef913 Add 'ruma-appservice-api/' from commit '890cf1397304892fd690e74205c1055d6f49455a'
git-subtree-dir: ruma-appservice-api
git-subtree-mainline: b76327f5220e96822889878d5fce1d03db0b55d2
git-subtree-split: 890cf1397304892fd690e74205c1055d6f49455a
2020-06-05 01:06:09 +02:00
Jonas Platte
b76327f522
Import contributing guide from ruma-client-api 2020-06-05 00:50:24 +02:00
Jonas Platte
aa2a32497f
Add README.md, .editorconfig 2020-06-05 00:26:10 +02:00
Jonas Platte
f74e9c4b9b
Initial commit 2020-06-05 00:01:12 +02:00
Jonas Platte
851ffea6d2
Bump version 2020-05-23 23:51:41 +02:00
Ragotzy.devin
91011be2a0
Add test to verify urlencoded deserializer works with serde attributes 2020-05-23 23:41:49 +02:00
Jonas Platte
18ba86ac27
Update tests/url_deserialize.rs 2020-05-23 21:40:42 +02:00
Jonas Platte
6b60606b30
Update deserialization error messages 2020-05-23 18:58:40 +02:00
Jonas Platte
964aae00ff
Add additional tests to val_or_vec 2020-05-23 18:47:11 +02:00
Jonas Platte
b5f436d511
Expand explanation comment for unsafe code 2020-05-19 22:22:44 +02:00
Jonas Platte
af0a304594
Fix building on 1.36.0 2020-05-19 22:22:19 +02:00
Jonas Platte
e05b30d008
Query string deserialization: Allow multiple values for one key 2020-05-18 01:10:05 +02:00
Jonas Platte
0e627a8ac1
Update url_deserialize tests 2020-05-17 22:02:32 +02:00
Jonas Platte
48c5fb1a73
Update deps, bump version to 0.2.1 2020-05-15 11:51:11 +02:00
Jonas Platte
17783661da
Rename nested struct serialization tests 2020-05-15 11:50:01 +02:00
Jonas Platte
338ef529e1
Forbid serializing nested lists 2020-05-15 11:49:48 +02:00
Jonas Platte
73a46d6b21
Revert 'impl Sink for &mut ValueSink instead of for ValueSink'
This reverts commit 2032fc2, which was never actually necessary
2020-05-15 11:45:16 +02:00
Jonas Platte
7aa27c2a2d
More serialization test updates 2020-05-15 00:56:05 +02:00
Jonas Platte
9092f7d6d8
Update serialization tests 2020-05-14 23:12:12 +02:00
Jonas Platte
0c775de766
Add serialization support for sequences
Sequences of values for one key are serialized as `key=value1&key=value2`
2020-05-14 22:16:24 +02:00
Jonas Platte
2032fc2a94
impl Sink for &mut ValueSink instead of for ValueSink
preparation for one-key-many-value serialization
2020-05-14 22:11:25 +02:00
Jonas Platte
e55527fee6
Merge, re-group imports in urlencoded 2020-05-14 22:08:55 +02:00
Jonas Platte
981a3aebe2
Bump version again
to 0.2.0 this time, since the revert to plain serde_urlencoded logic was actually a breaking change
2020-05-13 23:00:01 +02:00
Jonas Platte
a9579a4729
Bump version 2020-05-13 21:42:16 +02:00
Jonas Platte
01562cb7ac
Revert urlencoded to plain serde_urlencoded logic temporarily 2020-05-13 21:38:42 +02:00
Jonas Platte
890cf13973
Bump MSRV (due to bytes dependency) 2020-05-07 20:36:57 +02:00
Jonas Platte
74d1b833cd
Add change log 2020-05-07 20:31:59 +02:00
Jonas Platte
8770e914f6
Update dependencies 2020-05-07 20:30:47 +02:00
Jonas Platte
a742ef47df
Use BTreeMap instead of HashMap 2020-05-07 20:30:26 +02:00
Jonas Platte
d99812364f
Silence clippy warning 2020-05-04 18:38:15 +02:00
Jonas Platte
25f302f491
Add is_true 2020-05-01 23:33:01 +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
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