- doc will now include all features
- Add
PacketStream::inner_mut
to still be able to inject packets when usingPacketStream
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.
docs-rs
featurefull
featurestream::SelectableFd
andstream::PacketStream::new
as they were only meant to be used internally
capture-stream
requires rustc version 1.49.0 due to dependency ontokio
.
- Add support for device addresses.
- Add
savefile.flush
support.
- Updated dependency
tokio
from version 0.2 to 1.0 capture-stream
requires rustc version 1.45.0 due to dependency ontokio
.
- Fix docs.rs build.
- Add
Derive(Clone)
toDevice
struct (#100). - Build-time
libpcap
version detection. - Add support for immediate mode.
- Add const value for Linktype (#145)
- Add support for BPF compile
- Opt into Rust 2018.
- Now minimum supported rustc version is 1.40.0.
- Updated dependency from deprecated
tokio-core
totokio
0.2. - Updated dependency
futures
from version 0.1 to 0.3. - Feature
tokio
renamed tocapture-stream
because Cargo does not allow features and dependencies to have the same name. PCAP_LIBDIR
renamed toLIBPCAP_LIBDIR
to distinguish thepcap
crate from thelibpcap
library.- All methods that construct objects out of a
RawFd
are now unsafe. - All methods that take a raw pointer are now unsafe. Some of these functions
were renamed from
new
tofrom_handle
to underline this.
- Feature flags
pcap-savefile-append
,pcap-fopen-offline-precision
(replaced by build-timelibpcap
version detection)
No Changelog entries for <= 0.7.0