Skip to content

Commit

Permalink
It compiles with stable rust now, yay
Browse files Browse the repository at this point in the history
  • Loading branch information
exul committed May 3, 2019
1 parent a91bc52 commit e793f17
Show file tree
Hide file tree
Showing 19 changed files with 617 additions and 483 deletions.
1,056 changes: 612 additions & 444 deletions Cargo.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ regex = "1.0.0"
reqwest = "0.9"
router = "0.6"
ruma-client-api = { git= "https://github.com/exul/ruma-client-api.git" }
ruma-events = { version = "0.11" }
ruma-identifiers = { version = "0.11", features = ["diesel"] }
ruma-events = { version = "0.12" }
ruma-identifiers = { version = "0.12", features = ["diesel"] }
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
Expand Down
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,13 @@ There will be breaking changes!**

## Compiling from Source

To compile the application service you need Rust nightly (I know that's bad,
sorry).

This will change, once [ruma-identifiers](https://github.com/ruma/ruma-identifiers)
is working on stable rust.
To compile the application service you need Rust >= 1.34.

It's highly recommended that you use [rustup](https://www.rustup.rs).

```
git clone https://github.com/exul/matrix-rocketchat.git
cd matrix-rocketchat
rustup override set nightly
cargo build --release
./target/release/matrix-rocketchat
```
Expand Down
1 change: 0 additions & 1 deletion src/matrix-rocketchat/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//! Application service to bridge Matrix <-> Rocket.Chat.

#![feature(try_from, nll)]
#![deny(missing_docs)]
#![recursion_limit = "256"]

Expand Down
2 changes: 0 additions & 2 deletions tests/admin_commands_bridge.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![feature(try_from)]

extern crate iron;
extern crate matrix_rocketchat;
extern crate matrix_rocketchat_test;
Expand Down
2 changes: 0 additions & 2 deletions tests/admin_commands_connect.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![feature(try_from)]

extern crate iron;
extern crate matrix_rocketchat;
extern crate matrix_rocketchat_test;
Expand Down
2 changes: 0 additions & 2 deletions tests/admin_commands_help.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![feature(try_from)]

extern crate iron;
extern crate matrix_rocketchat;
extern crate matrix_rocketchat_test;
Expand Down
2 changes: 0 additions & 2 deletions tests/admin_commands_list.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![feature(try_from)]

extern crate iron;
extern crate matrix_rocketchat;
extern crate matrix_rocketchat_test;
Expand Down
2 changes: 0 additions & 2 deletions tests/admin_commands_login.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![feature(try_from)]

extern crate http;
extern crate iron;
extern crate matrix_rocketchat;
Expand Down
2 changes: 0 additions & 2 deletions tests/admin_commands_unbridge.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![feature(try_from)]

extern crate iron;
extern crate matrix_rocketchat;
extern crate matrix_rocketchat_test;
Expand Down
2 changes: 0 additions & 2 deletions tests/admin_commands_unkown.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![feature(try_from)]

extern crate matrix_rocketchat_test;
extern crate router;
extern crate ruma_client_api;
Expand Down
2 changes: 0 additions & 2 deletions tests/admin_room.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![feature(try_from)]

extern crate diesel;
extern crate iron;
extern crate matrix_rocketchat;
Expand Down
2 changes: 0 additions & 2 deletions tests/errors.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![feature(try_from)]

extern crate iron;
extern crate matrix_rocketchat;
extern crate matrix_rocketchat_test;
Expand Down
2 changes: 0 additions & 2 deletions tests/forward_matrix_direct_message_to_rocketchat.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![feature(try_from)]

extern crate iron;
extern crate matrix_rocketchat;
extern crate matrix_rocketchat_test;
Expand Down
2 changes: 0 additions & 2 deletions tests/forward_matrix_to_rocketchat.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![feature(try_from)]

extern crate iron;
extern crate matrix_rocketchat;
extern crate matrix_rocketchat_test;
Expand Down
2 changes: 0 additions & 2 deletions tests/forward_rocketchat_channel_to_matrix.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![feature(try_from)]

extern crate http;
extern crate iron;
extern crate matrix_rocketchat;
Expand Down
2 changes: 0 additions & 2 deletions tests/forward_rocketchat_direct_message_to_matrix.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![feature(try_from)]

extern crate iron;
extern crate matrix_rocketchat;
extern crate matrix_rocketchat_test;
Expand Down
4 changes: 2 additions & 2 deletions tests/matrix-rocketchat-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ rand = "0.4"
reqwest = "0.9"
router = "0.6"
ruma-client-api = { git = "https://github.com/exul/ruma-client-api.git" }
ruma-events = { version = "0.11" }
ruma-identifiers = { version = "0.11", features = ["diesel"] }
ruma-events = { version = "0.12" }
ruma-identifiers = { version = "0.12", features = ["diesel"] }
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
Expand Down
2 changes: 0 additions & 2 deletions tests/matrix-rocketchat-test/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![feature(try_from)]

extern crate diesel;
extern crate http;
extern crate iron;
Expand Down

0 comments on commit e793f17

Please sign in to comment.