Upgrade to Rust 2021
This commit is contained in:
@@ -8,7 +8,7 @@ repository = "https://github.com/ruma/ruma"
|
||||
readme = "README.md"
|
||||
license = "MIT"
|
||||
version = "0.7.0"
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
all-features = true
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
use std::{
|
||||
borrow::Borrow,
|
||||
collections::{HashMap, HashSet},
|
||||
convert::TryInto,
|
||||
sync::{
|
||||
atomic::{AtomicU64, Ordering::SeqCst},
|
||||
Arc,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
use std::{borrow::Borrow, collections::BTreeSet, convert::TryFrom};
|
||||
use std::{borrow::Borrow, collections::BTreeSet};
|
||||
|
||||
use js_int::{int, Int};
|
||||
use ruma_common::{
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
use std::{
|
||||
borrow::Borrow,
|
||||
collections::{BTreeMap, HashMap, HashSet},
|
||||
convert::TryInto,
|
||||
sync::{
|
||||
atomic::{AtomicU64, Ordering::SeqCst},
|
||||
Arc,
|
||||
|
||||
Reference in New Issue
Block a user