Skip to content

Commit e7d7573

Browse files
authored
minor: Update to semver 1.0.0 (#348)
1 parent b870bfd commit e7d7573

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ function_name = "0.2.0"
120120
futures = "0.3"
121121
pretty_assertions = "0.7.1"
122122
serde_json = "1.0.64"
123-
semver = "0.11.0"
123+
semver = "1.0.0"
124124

125125
[package.metadata.docs.rs]
126126
rustdoc-args = ["--cfg", "docsrs"]

src/test/spec/unified_runner/mod.rs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ mod test_file;
66
mod test_runner;
77

88
use futures::stream::TryStreamExt;
9-
use lazy_static::lazy_static;
109
use semver::Version;
1110
use tokio::sync::RwLockWriteGuard;
1211

@@ -32,12 +31,7 @@ pub use self::{
3231
test_runner::{EntityMap, TestRunner},
3332
};
3433

35-
lazy_static! {
36-
static ref SPEC_VERSIONS: Vec<Version> = vec![
37-
Version::parse("1.0.0").unwrap(),
38-
Version::parse("1.1.0").unwrap()
39-
];
40-
}
34+
static SPEC_VERSIONS: &[Version] = &[Version::new(1, 0, 0), Version::new(1, 1, 0)];
4135

4236
const SKIPPED_OPERATIONS: &[&str] = &[
4337
"bulkWrite",

0 commit comments

Comments
 (0)