fix(deps): update rust crate pcap to v2 #15
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.9.2
->2.0.0
Release Notes
rust-pcap/pcap (pcap)
v2.2.0
Compare Source
Added
AsFd
onCapture<Active>
on non-Windows.v2.1.0
Compare Source
Added
want_pktap
onCapture<Inactive>
for Mac OS.v2.0.0
Compare Source
Changed
2021
.1.63.0
.v1.3.0
Compare Source
Added
pcap_loop
added. It can be accessed via thefor_each
call on Activated captures.v1.2.0
Compare Source
Added
capture-stream
support added for Windows.v1.1.0
Compare Source
Added
lending-iter
UNSTABLE feature that introduces lending iterator using GATs.Changed
v1.0.0
Compare Source
Changed
v0.11.0
Compare Source
Added
SendQueue::queue_sg()
can add scattered packets, as a slice ofstd::io::IoSlice
s, toSendQueue
s.Changed
sendqueue::Sync
tosendqueue::SendSync
to avoid collision withSync
in std's prelude.pkg-config
if available andLIBPCAP_LIBDIR
hasn't been explicitly set.
v0.10.1
Compare Source
Changed
1.46.0
.v0.10.0
Compare Source
Added
PacketStream::capture_mut
to still be able to inject packets when usingPacketStream
.Capture::iter()
that return an iterator that use a codec likeCapture::stream()
.Packet<Dead>::dead_with_precision
to enable creating a pcap with nanosecond precision.flags
field toDevice
.Removed
BpfProgram
no longer haveClone
implementation see #261Changed
1.41.0
.PacketStream
has been moved from modstream
to theroot
of the crate.PacketCodec
has been moved from modstream
to theroot
of the crate.PacketCodec::decode()
no longer returns aResult
.PacketCodec::Type
has been renamed toPacketCodec::Item
.Device::lookup
now returnsResult<Option<Device>, Error>
rather thanResult<Device, Error>
.Ok(None)
means that the lookup succeeded, but no suitable devices were available. This is consistent with libpcap.Capture
andSavefile
no longer implement theSync
trait. The underlyinglibpcap
library does not promise thread-safe access for the same capture object from multiple threads.winapi
towindows-sys
for Windows builds.windows-sys
requires rustc 1.46.0.Capture::next
have been renamenext_packet
to avoid any confusion withIterator::next
.Removed
stream
is no longer public.docs-rs
feature.full
feature.stream::SelectableFd
andstream::PacketStream::new
as they were only meant to be used internally.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.