Skip to content

Commit 5bd1f76

Browse files
committed
update deps and rust to v0.83
1 parent c3b1060 commit 5bd1f76

File tree

5 files changed

+45
-36
lines changed

5 files changed

+45
-36
lines changed

Cargo.lock

Lines changed: 35 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ serde = ["dep:serde", "std"]
3232
std = []
3333

3434
[dependencies]
35-
derive_more = "0.99.17"
36-
serde = { version = "1.0", optional = true, features = ["derive"] }
35+
derive_more = { version = "1", features = ["full"] }
36+
serde = { version = "1", optional = true, features = ["derive"] }
3737

3838
[dev-dependencies]
3939
criterion = { version = "0.5", default-features = false, features = ["cargo_bench_support"] }
@@ -42,9 +42,9 @@ serde = { version = "1.0", features = ["derive"] }
4242
serde_json = "1.0"
4343

4444
[build-dependencies]
45-
cc = { version = "1.0.83", features = ["parallel"] }
45+
cc = { version = "1.1", features = ["parallel"] }
4646
link_args = "0.6"
47-
regex = { version = "1.10.2", features = [] }
47+
regex = { version = "1.11", features = [] }
4848

4949
[package.metadata.docs.rs]
5050
features = ["serde"]

build.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,16 +130,16 @@ fn main() {
130130
let major = ndk_major_version(Path::new(&ndk));
131131
if major < 22 {
132132
build
133-
.flag(&format!("--sysroot={}/sysroot", ndk))
134-
.flag(&format!(
133+
.flag(format!("--sysroot={}/sysroot", ndk))
134+
.flag(format!(
135135
"-isystem{}/sources/cxx-stl/llvm-libc++/include",
136136
ndk
137137
));
138138
} else {
139139
// NDK versions >= 22 have the sysroot in the llvm prebuilt by
140140
let host_toolchain = format!("{}/toolchains/llvm/prebuilt/{}", ndk, host_tag());
141141
// sysroot is stored in the prebuilt llvm, under the host
142-
build.flag(&format!("--sysroot={}/sysroot", host_toolchain));
142+
build.flag(format!("--sysroot={}/sysroot", host_toolchain));
143143
}
144144
}
145145
_ => {

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[toolchain]
2-
channel = "1.79.0"
2+
channel = "1.83.0"
33
profile = "default"

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ use derive_more::Display;
5858
/// Error type of [`Url::parse`].
5959
#[derive(Debug, Display, PartialEq, Eq)]
6060
#[cfg_attr(feature = "std", derive(derive_more::Error))] // error still requires std: https://github.com/rust-lang/rust/issues/103765
61-
#[display(bound = "Input: core::fmt::Debug")]
62-
#[display(fmt = "Invalid url: {input:?}")]
61+
#[display(bound(Input: core::fmt::Debug))]
62+
#[display("Invalid url: {input:?}")]
6363
pub struct ParseUrlError<Input> {
6464
/// The invalid input that caused the error.
6565
pub input: Input,

0 commit comments

Comments
 (0)