Skip to content

Commit

Permalink
Drop obsolete dev dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
rushmorem committed Nov 13, 2024
1 parent 5a25622 commit d894e88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ idna = { version = "1.0", optional = true }
unicase = { version = "2.6.0", default-features = false, optional = true }

[dev-dependencies]
lazy_static = "1.4.0"
rspec = "1.0.0"

[package.metadata.docs.rs]
Expand Down
6 changes: 3 additions & 3 deletions tests/list.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
use publicsuffix::{List, Psl, Type};
use rspec::report::ExampleResult;
use std::sync::LazyLock;
use std::{env, mem, str};

lazy_static::lazy_static! {
static ref LIST: List = include_str!("public_suffix_list.dat").parse().unwrap();
}
static LIST: LazyLock<List> =
LazyLock::new(|| include_str!("public_suffix_list.dat").parse().unwrap());

#[test]
fn list_behaviour() {
Expand Down

0 comments on commit d894e88

Please sign in to comment.