Skip to content

Commit

Permalink
refactor: upgrade to deno_semver 0.7 (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret authored Dec 20, 2024
1 parent 014d178 commit bca2b73
Show file tree
Hide file tree
Showing 7 changed files with 183 additions and 91 deletions.
118 changes: 85 additions & 33 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ serde = { version = "1.0.149", features = ["derive"] }
serde_json = "1.0.85"
url = { version = "2.5.1" }
thiserror = "2"
deno_semver = "0.6.0"
deno_path_util = "0.2.0"
deno_semver = "0.7.0"
deno_path_util = "0.2.2"
deno_error = { version = "0.5.2", features = ["serde", "serde_json"] }
boxed_error = "0.2.3"

[dev-dependencies]
pretty_assertions = "1.4.0"
1 change: 1 addition & 0 deletions clippy.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,5 @@ disallowed-methods = [
]
disallowed-types = [
{ path = "std::sync::Arc", reason = "use crate::sync::MaybeArc instead" },
{ path = "std::sync::OnceLock", reason = "use crate::sync::MaybeOnceLock instead" },
]
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "1.79.0"
channel = "1.83.0"
components = ["rustfmt", "clippy"]
2 changes: 1 addition & 1 deletion src/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pub trait DenoPkgJsonFs {
) -> Result<Cow<'static, str>, std::io::Error>;
}

impl<'a> Default for &'a dyn DenoPkgJsonFs {
impl Default for &dyn DenoPkgJsonFs {
fn default() -> Self {
&RealDenoPkgJsonFs
}
Expand Down
Loading

0 comments on commit bca2b73

Please sign in to comment.