Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update rust crate pcap to v2 #15

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 21, 2024

Mend Renovate

This PR contains the following updates:

Package Type Update Change
pcap dependencies major 0.9.2 -> 2.0.0

Release Notes

rust-pcap/pcap (pcap)

v2.0.0

Changed
  • Rust Edition is now 2021.
  • MSRV is now 1.63.0.

v1.3.0

Compare Source

Added
  • Binding for pcap_loop added. It can be accessed via the for_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
  • Examples in the docs have been fixed.

v1.0.0

Compare Source

Changed
  • Public API declared stable.

v0.11.0

Compare Source

Added
  • SendQueue::queue_sg() can add scattered packets, as a slice of
    std::io::IoSlices, to SendQueues.
Changed
  • Rename sendqueue::Sync to sendqueue::SendSync to avoid collision with
    Sync in std's prelude.
  • Build script will fall back to pkg-config if available and LIBPCAP_LIBDIR
    hasn't been explicitly set.

v0.10.1

Compare Source

Changed
  • MSRV is now 1.46.0.

v0.10.0

Compare Source

Added
  • doc will now include all features.
  • Support for sendqueues on Windows.
  • PacketStream::capture_mut to still be able to inject packets when using PacketStream.
  • Capture::iter() that return an iterator that use a codec like Capture::stream().
  • Packet<Dead>::dead_with_precision to enable creating a pcap with nanosecond precision.
  • flags field to Device.
Removed
  • BpfProgram no longer have Clone implementation see #​261
Changed
  • MSRV is now 1.41.0.
  • PacketStream has been moved from mod stream to the root of the crate.
  • PacketCodec has been moved from mod stream to the root of the crate.
  • PacketCodec::decode() no longer returns a Result.
  • PacketCodec::Type has been renamed to PacketCodec::Item.
  • Device::lookup now returns Result<Option<Device>, Error> rather than Result<Device, Error>. Ok(None) means that the lookup succeeded, but no suitable devices were available. This is consistent with libpcap.
  • Capture and Savefile no longer implement the Sync trait. The underlying libpcap library does not promise thread-safe access for the same capture object from multiple threads.
  • Switched from winapi to windows-sys for Windows builds. windows-sys requires rustc 1.46.0.
  • Capture::next have been rename next_packet to avoid any confusion with Iterator::next.
Removed
  • mod stream is no longer public.
  • docs-rs feature.
  • full feature.
  • stream::SelectableFd and stream::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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants