Skip to content

Commit

Permalink
Bumped up smoltcp version.
Browse files Browse the repository at this point in the history
  • Loading branch information
zlogic committed Nov 28, 2024
1 parent 87a8d7b commit 2b08489
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ tokio-rustls = { version = "0.26", default-features = false, features = ["aws_lc
rustls-platform-verifier = { version = "0.4", default-features = false }
rand = { version = "0.8", default-features = false, features = ["std", "std_rng"] }

smoltcp = { version = "0.11", optional = true, default-features = false, features = ["std", "medium-ip", "proto-ipv4", "proto-ipv4-fragmentation", "proto-ipv6", "proto-ipv6-fragmentation", "socket-tcp"] }
smoltcp = { version = "0.12", optional = true, default-features = false, features = ["std", "medium-ip", "proto-ipv4", "proto-ipv4-fragmentation", "proto-ipv6", "proto-ipv6-fragmentation", "socket-tcp"] }

aws-lc-rs = { version = "*", optional = true, default-features = false }
rustls-webpki = { version = "*", optional = true, default-features = false, features = ["alloc", "aws_lc_rs"] }
Expand Down
2 changes: 1 addition & 1 deletion src/proxy/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ struct RxToken<'a> {
impl<'a> phy::RxToken for RxToken<'a> {
fn consume<R, F>(self, f: F) -> R
where
F: FnOnce(&mut [u8]) -> R,
F: FnOnce(&[u8]) -> R,
{
f(self.src)
}
Expand Down

0 comments on commit 2b08489

Please sign in to comment.