Update dependencies, remove Diesel workaround, remove try_from feature.
This commit is contained in:
parent
9a99e1906f
commit
56958147ca
14
Cargo.toml
14
Cargo.toml
@ -12,15 +12,15 @@ version = "0.11.1"
|
|||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
lazy_static = "1.2"
|
lazy_static = "1.3.0"
|
||||||
rand = "0.5"
|
rand = "0.6.5"
|
||||||
regex = "1.0"
|
regex = "1.1.5"
|
||||||
serde = "1.0"
|
serde = "1.0.90"
|
||||||
url = "1.7"
|
url = "1.7.2"
|
||||||
|
|
||||||
[dependencies.diesel]
|
[dependencies.diesel]
|
||||||
optional = true
|
optional = true
|
||||||
version = "1.4"
|
version = "1.4.2"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
serde_json = "1.0"
|
serde_json = "1.0.39"
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
//! Crate **ruma_identifiers** contains types for [Matrix](https://matrix.org/) identifiers
|
//! Crate **ruma_identifiers** contains types for [Matrix](https://matrix.org/) identifiers
|
||||||
//! for events, rooms, room aliases, and users.
|
//! for events, rooms, room aliases, and users.
|
||||||
|
|
||||||
#![feature(try_from)]
|
|
||||||
#![deny(missing_debug_implementations)]
|
#![deny(missing_debug_implementations)]
|
||||||
#![deny(missing_docs)]
|
#![deny(missing_docs)]
|
||||||
#![deny(warnings)]
|
#![deny(warnings)]
|
||||||
@ -13,7 +12,7 @@ use std::{
|
|||||||
};
|
};
|
||||||
|
|
||||||
#[cfg(feature = "diesel")]
|
#[cfg(feature = "diesel")]
|
||||||
use diesel::{FromSqlRow, sql_types::Text};
|
use diesel::sql_types::Text;
|
||||||
|
|
||||||
use lazy_static::lazy_static;
|
use lazy_static::lazy_static;
|
||||||
use rand::{distributions::Alphanumeric, thread_rng, Rng};
|
use rand::{distributions::Alphanumeric, thread_rng, Rng};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user