Skip to content

Commit

Permalink
Bump smoltcp from 0.10.0 to 0.11.0 (#235)
Browse files Browse the repository at this point in the history
* Bump smoltcp from 0.10.0 to 0.11.0

Bumps [smoltcp](https://github.com/smoltcp-rs/smoltcp) from 0.10.0 to 0.11.0.
- [Release notes](https://github.com/smoltcp-rs/smoltcp/releases)
- [Changelog](https://github.com/smoltcp-rs/smoltcp/blob/main/CHANGELOG.md)
- [Commits](smoltcp-rs/smoltcp@v0.10.0...v0.11.0)

---
updated-dependencies:
- dependency-name: smoltcp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dev0 <dev@watfaq.com>
  • Loading branch information
dependabot[bot] and ibigbug authored Dec 31, 2023
1 parent e5364e8 commit 0505daa
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 25 deletions.
30 changes: 6 additions & 24 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 clash_lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ tun = { git = "https://github.com/Watfaq/rust-tun.git", rev = "8f7568190f1200d3e
netstack-lwip = { git = "https://github.com/Watfaq/netstack-lwip.git", rev = "2817bf82740e04bbee6b7bf1165f55657a6ed163" }

boringtun = { version = "0.6.0" }
smoltcp = { version = "0.10", default-features = false, features = ["std", "log", "medium-ip", "proto-ipv4", "proto-ipv6", "socket-udp", "socket-tcp"] }
smoltcp = { version = "0.11", default-features = false, features = ["std", "log", "medium-ip", "proto-ipv4", "proto-ipv6", "socket-udp", "socket-tcp"] }


serde = { version = "1.0", features=["derive"] }
Expand Down
3 changes: 3 additions & 0 deletions clash_lib/src/proxy/wg/device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,9 @@ impl DeviceManager {
trace!("no more data");
continue;
}
Err(udp::RecvError::Truncated) => {
panic!("udp packet truncated - this should never happen");
}
}
}

Expand Down

0 comments on commit 0505daa

Please sign in to comment.