File tree 2 files changed +36
-1
lines changed
2 files changed +36
-1
lines changed Original file line number Diff line number Diff line change 6
6
7
7
### Changed/Fixed
8
8
9
+ ## 0.15.0
10
+
11
+ ### Upgrade notes and breaking changes
12
+
13
+ The PcapNGOption type now uses a ` Cow<[u8]> ` instead of ` &[u8] ` . To access raw value,
14
+ use ` option.value() ` or ` &option.value ` instead of ` option.value ` .
15
+ This allow changing the options when serializing blocks.
16
+
17
+ The new error types may require to match more variants when handling errors.
18
+
19
+ The ` PcapError::Incomplete ` variant now contains a value: the number of missing
20
+ bytes, or 0 if unknown.
21
+
22
+ The ` InterfaceDescriptionBlock::if_tsoffset ` field is now a i64 (signed).
23
+
24
+ ### Changed/Fixed
25
+
26
+ - Set MSRV to 1.53.0
27
+ - Fix if_tsoffset to be a signed value (#21 )
28
+ - Add support for Apple-specific process information block (#27 )
29
+ - Added const for LINUX_SLL2 (#31 )
30
+ - PcapNGOption:
31
+ - Allow PcapNGOption to own data (using a Cow<[ u8] >)
32
+ - Serialize: use provided if_tsresol and if_tsoffset (#24 )
33
+ - Add helper methods to allow extracting value from PcapNGOption
34
+ - Error handling:
35
+ - Add PcapError::UnexpectedEof error type (#28 )
36
+ - Reader: report how many additional bytes are needed when returning ` Incomplete `
37
+ - Add new error kind BufferTooSmall, and raise error if buffer capacity is too small (#29 )
38
+ - Return Eof if reader is exhausted AND bytes have been consumed (#30 )
39
+
40
+ ### Thanks
41
+
42
+ - iczero, Julien Gamba, Bobby Richter
43
+
9
44
## 0.14.1
10
45
11
46
### Changed/Fixed
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " pcap-parser"
3
- version = " 0.14.1 "
3
+ version = " 0.15.0 "
4
4
description = " Parser for the PCAP/PCAPNG format"
5
5
license = " MIT/Apache-2.0"
6
6
keywords = [" pcap" ," pcapng" ," parser" ," nom" ]
You can’t perform that action at this time.
0 commit comments