965 Commits

Author SHA1 Message Date
Jimmy Cuadra
9a56e2b0a6 Add tests for canonical JSON. 2019-07-08 22:01:15 -07:00
Jimmy Cuadra
07295b11bb Rename Signatures SignatureMap. 2019-07-08 21:22:17 -07:00
Jimmy Cuadra
97ee073e11 Split the library into modules. 2019-07-08 21:10:50 -07:00
Jimmy Cuadra
03fcf7281d Use constants from base64. 2019-07-08 20:45:27 -07:00
Jimmy Cuadra
302e401a80 Remove unnecessary constructor for Ed25519Verifier. 2019-07-08 18:53:29 -07:00
Jimmy Cuadra
6ffd73b312 Make Error::new private to the crate. 2019-07-08 18:51:15 -07:00
Jimmy Cuadra
c0d10881a2 Implement Clone and PartialEq for all types.
See https://github.com/briansmith/ring/issues/859 for background.
2019-07-08 18:47:11 -07:00
Jimmy Cuadra
e7e4d04244 Undo the change of storing FilterDefinition in a box.
On second thought, it doesn't make sense to change this just cause of a
clippy warning. We'll wait and see if it ever causes and real problems
before making the API less consistent just to avoid a potential space
saving issue.
2019-07-08 14:24:07 -07:00
Jimmy Cuadra
b0c1997016 Fix typo in Cargo.toml. 2019-06-24 13:02:54 -07:00
Jimmy Cuadra
e9df06b30b Turn off nightly feature for proc-macro2. 2019-06-17 17:19:31 -07:00
Jimmy Cuadra
5461c20875 Add crates.io categories. [ci skip] 2019-06-16 16:51:11 -07:00
Jimmy Cuadra
9a5858cae8 Add crates.io categories. [ci skip] 2019-06-16 16:50:06 -07:00
Jimmy Cuadra
2eeb90ed55 Add crates.io categories. [ci skip] 2019-06-16 16:46:02 -07:00
Jimmy Cuadra
aa9d546b1b Add crates.io categories. [ci skip] 2019-06-16 16:42:46 -07:00
Jimmy Cuadra
a16eb7cfe1 Use js_int types for numbers.
See https://github.com/ruma/ruma-events/issues/27 for rationale.
2019-06-16 16:32:56 -07:00
Jimmy Cuadra
d5ce34d301 Address clippy warnings. 2019-06-12 13:16:52 -07:00
Jimmy Cuadra
262b84022c Bump version to 0.5.0. 2019-06-12 13:11:33 -07:00
Jimmy Cuadra
82a20e23da Bump dependencies. 2019-06-12 13:11:06 -07:00
Jimmy Cuadra
557ac4b485 Use the name and description fields to generate better documentation. 2019-06-12 13:06:35 -07:00
Jimmy Cuadra
0b75d2f1c3 Run rustfmt. 2019-06-12 13:03:47 -07:00
Jimmy Cuadra
3b383d78b7 Bump version to 0.8.0. 2019-06-12 12:59:11 -07:00
Jimmy Cuadra
432dbf94c8 Revise the error type to hide lower-level errors. 2019-06-12 12:37:55 -07:00
Jimmy Cuadra
9805750f83 Bump dependencies. 2019-06-12 12:21:39 -07:00
Jimmy Cuadra
e3b453c468 Add rustfmt and clippy to CI and address clippy warnings. 2019-06-02 19:12:05 -07:00
Jimmy Cuadra
4a4c2dd025 Add rustfmt and clippy to CI and address clippy warnings. 2019-06-02 18:14:37 -07:00
Jimmy Cuadra
21c2288d51 Fix serialization error due to url not supporting serde 1.x. 2019-06-02 18:00:23 -07:00
Jimmy Cuadra
66be8d1a98 Run clippy on all targets and all features. 2019-06-02 17:36:22 -07:00
Jimmy Cuadra
6a09f1f754 Add rustfmt and clippy to CI and address clippy warnings. 2019-06-02 17:35:26 -07:00
Jimmy Cuadra
a52e0da7c1 Add clippy lints and add rustfmt and clippy to CI. 2019-06-02 13:16:54 -07:00
Jimmy Cuadra
2e0376a8a4 Use stable Rust on Travis. 2019-06-02 09:14:55 -07:00
Jimmy Cuadra
95aea3b401 Use stable Rust on Travis. 2019-06-02 09:13:24 -07:00
Jimmy Cuadra
a92e71f873 Use stable Rust on Travis. 2019-06-02 09:12:50 -07:00
Jimmy Cuadra
68c446ca64 Use stable Rust on Travis. 2019-06-02 09:11:56 -07:00
Jimmy Cuadra
94c368d2e6 Correct description of homeserver discovery endpoint. 2019-05-08 09:06:22 +02:00
GondwanaNuna
c3a5741f5e Make trait imports more readable (#18) 2019-05-03 18:42:25 +02:00
Jimmy Cuadra
c9b7b986c6 Add logout all endpoint. 2019-05-01 21:23:50 -07:00
Jimmy Cuadra
3037b105c7 Add homeserver discovery endpoint. 2019-05-01 21:14:59 -07:00
Jimmy Cuadra
8f1d4a4d21 Update all spec links to the r0.4.0 version. 2019-05-01 20:46:57 -07:00
Jimmy Cuadra
f9e431b60a
Merge pull request #41 from ruma/simple-spec-updates
Implement some simple spec updates
2019-04-26 15:59:16 -07:00
Jimmy Cuadra
72a67419a5
Merge pull request #38 from ruma/new-endpoints
Add two new endpoints from r0.3.0
2019-04-26 15:15:48 -07:00
Jimmy Cuadra
8761081f26
Merge pull request #17 from ruma/quote-refactor
Remove remaining uses of quote::TokenStreamExt
2019-04-26 15:14:21 -07:00
Jonas Platte
af8fe42259 Update link in get_member_events doc comment
no code changes were necessary even though the spec was updated: we
already specified requires_authentication: true when the spec was
missing that information.
2019-04-22 22:33:37 +02:00
Jonas Platte
85236be89c Update get_filter endpoint to r0.4.0 2019-04-22 22:27:38 +02:00
Jonas Platte
4c3e5d3324 Update create_media_content to r0.4.0 2019-04-22 22:23:36 +02:00
Jonas Platte
7493353c5a Add missing request body to create_media_conent 2019-04-22 22:11:18 +02:00
Jonas Platte
27ec031689 Add /rooms/{roomId}/joined_members endpoint 2019-04-20 18:50:41 +02:00
Jonas Platte
e9febfedbc Add /account/whoami endpoint 2019-04-20 15:08:43 +02:00
Jonas Platte
5f116e4e49 Remove remaining uses of quote::TokenStreamExt
fixes #4
2019-04-20 13:30:26 +02:00
Florian Dehau
76b45ee001 feat: allow serialization of unit structs 2019-04-18 08:21:54 +02:00
bors[bot]
643a206559 Merge #54
54: Don't use CowStrDeserializer (fixes #53) r=nox a=nox



Co-authored-by: Anthony Ramine <n.oxyde@gmail.com>
2019-04-16 09:29:19 +00:00