Jonas Platte
677fb69bde
travis: Add allowed-to-fail nightly job
2019-10-23 02:52:38 +02:00
Jonas Platte
09a5e80472
travis: Only run cargo-audit on stable
...
… since there's no benefit in running it multiple times and cargo-audit
can't be built with older versions of rustc (at the time of writing,
cargo-audit has a minimum rustc version of 1.36.0)
2019-10-23 02:46:23 +02:00
Jonas Platte
09378eb410
Refactor collection deserialization
2019-10-23 02:24:07 +02:00
Jonas Platte
1689b09a05
travis: Test ruma-events on different rustc versions
2019-10-23 02:10:53 +02:00
Jonas Platte
60c817e1b0
Restore Rust 1.34.2 compatibility
2019-10-23 02:09:34 +02:00
Jonas Platte
c925cd13f1
Update documentation
2019-10-23 01:42:06 +02:00
Jonas Platte
63a012d338
Remove useless .to_owned()
2019-10-23 01:41:37 +02:00
Jonas Platte
922a35eced
Refactor InvalidEvent
2019-10-23 01:41:09 +02:00
Jonas Platte
665fe4f4f4
Move (de)serialization helpers to util module
2019-10-22 23:56:03 +02:00
Jonas Platte
777f3b9686
Re-run rustfmt
2019-10-22 23:52:44 +02:00
Florian Jacob
c21ecd9b6d
Add more documentation to vec_as_map_of_empty
2019-10-22 23:44:18 +02:00
Jonas Platte
7e5ca6e7af
Simplify StrippedStateContent deserialization
2019-10-21 14:20:53 +02:00
Jonas Platte
7e210476fa
Re-enable #![deny(...)]
attributes
2019-10-19 02:31:54 +02:00
Jonas Platte
9536099f38
Replace custom Void type, change TryFromRaw::Err bound
2019-10-19 02:13:21 +02:00
Jonas Platte
63b85f524c
Get rid of redundant clone()s (thanks to clippy)
2019-10-18 23:48:48 +02:00
Jonas Platte
4f74c0b4fe
Update dependency versions
2019-10-18 00:47:42 +02:00
Jonas Platte
7f771bc788
Fix failing tests
2019-10-18 00:46:35 +02:00
Jonas Platte
0dbd20285f
Update ruma-api
2019-10-17 00:43:24 +02:00
Jonas Platte
134738f676
Remove stuff only needed for server-side usage
2019-10-17 00:41:18 +02:00
Jonas Platte
4ad8ee7d08
Switch ruma-api branch
2019-10-17 00:23:53 +02:00
Jonas Platte
85990676cd
Remove impl Serialize for EventResult
2019-10-17 00:21:52 +02:00
Jonas Platte
982d978d94
Almost finish deserialize impl's
2019-10-16 21:40:30 +02:00
Jonas Platte
5ad549b3e4
Add part of the deserialization logic for collections/raw/*
2019-10-16 00:07:06 +02:00
Jonas Platte
1aaee389ec
Add missing TryFromRaw implementations
2019-10-15 23:45:45 +02:00
Jonas Platte
09b8de5b6e
Introduce FromRaw in addition to TryFromRaw
2019-10-15 20:26:30 +02:00
Jonas Platte
a6c34596d7
Rename EventResultCompatible to TryFromRaw
2019-10-15 20:05:46 +02:00
Jonas Platte
4329d32af7
Update deps
2019-10-14 22:31:47 +02:00
Jonas Platte
516f027aca
temporarily add panicing Serialize impl for EventResult
2019-10-14 22:20:31 +02:00
Jonas Platte
2022dcc5f2
Update deps
2019-10-14 22:14:01 +02:00
Jonas Platte
9b26c60fe8
Complete EventResult API for stripped
2019-10-13 19:13:15 +02:00
Jonas Platte
c20d79db7d
Inline try_from method into EventResultCompatible
2019-10-08 21:28:18 +02:00
Jonas Platte
af9f08ad2d
Update dependencies
2019-10-03 11:11:48 +02:00
Jonas Platte
05562a48a3
WIP
2019-09-29 13:30:51 +02:00
Jonas Platte
297bae4cbb
Remove FromStr, TryFrom<&'_ str> implementations
2019-09-29 10:56:15 +02:00
Jonas Platte
fbd8b2be54
Apply clippy suggestion
2019-09-27 23:58:05 +02:00
Jonas Platte
fb0f8a4d91
Integrate ruma-events-macros into the repository
2019-09-13 22:32:17 +02:00
Jonas Platte
883a9566d2
Add 'ruma-events-macros/' from commit '659dc963949cdb3d928d9f5d3ed9a49e1e2b6158'
...
git-subtree-dir: ruma-events-macros
git-subtree-mainline: 91d564dcf812196f7497fe93ea5591eab8d83d1d
git-subtree-split: 659dc963949cdb3d928d9f5d3ed9a49e1e2b6158
2019-09-13 22:17:22 +02:00
Jonas Platte
721dc6f413
Update dependencies
2019-09-07 11:59:00 +02:00
Jimmy Cuadra
91d564dcf8
WIP
2019-09-03 12:01:29 -07:00
Jimmy Cuadra
659dc96394
Merge pull request #1 from ahmedcharles/update
...
Update dependencies.
2019-09-02 19:31:04 -07:00
Ahmed Charles
b08f1a964d
Update dependencies.
2019-09-01 10:26:57 +00:00
Igor Gnatenko
eb3c523444
chore: Exclude unneeded files
2019-08-25 14:10:44 +02:00
Jimmy Cuadra
f1927b2e5b
Replace FromStr/TryFrom impls with Deserialize using EventResult.
2019-08-22 17:38:01 -07:00
Jonas Platte
1c57a2380d
Disable clippy lint cognitive_complexity for ruma-api-macros
2019-08-16 23:22:34 +02:00
Jonas Platte
3b3744153f
Update dependencies
2019-08-16 21:42:26 +02:00
Jonas Platte
98e0bad1b1
Update to the new ruma-events API
2019-08-15 23:25:01 +02:00
Jonas Platte
05f181d9f1
Make serde_json::Value usage consistent
2019-08-09 00:36:56 +02:00
Jimmy Cuadra
c309eed2ae
impl Deserialize for m.room.server_acl
2019-08-06 15:23:40 -07:00
Jimmy Cuadra
db89aad22c
impl Deserialize for m.room.canonical_alias
2019-08-06 15:19:55 -07:00
Jimmy Cuadra
35e5ed9491
impl Deserialize for m.room.power_levels
2019-08-06 15:15:33 -07:00