Skip to content

Commit

Permalink
Replaced 0.10.0 with 0.10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianSchmid committed Nov 28, 2021
1 parent 2af0a70 commit 1d2be79
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "etherparse"
version = "0.10.0"
version = "0.10.1"
authors = ["Julian Schmid <[email protected]>"]
edition = "2018"
repository = "https://github.com/JulianSchmid/etherparse"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Add the following to your `Cargo.toml`:

```toml
[dependencies]
etherparse = "0.10.0"
etherparse = "0.10.1"
```

## What is etherparse?
Expand Down
2 changes: 1 addition & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog:

## 0.10.0: Corrected Fragmentation Handling, Additional IP Extension Headers Support & Qualitiy of Life Improvements
## 0.10.1: Corrected Fragmentation Handling, Additional IP Extension Headers Support & Qualitiy of Life Improvements

With this version the support for IPv6 gets extended and bugs in the parsing of fragmented packets as well as authentification headers are fixed. Additionally a bunch of performance improvements are included and new methods have been added (e.g. the method `to_bytes` for headers with static sizes).

Expand Down
4 changes: 2 additions & 2 deletions src/internet/ip.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ impl IpHeader {

/// Renamed to `IpHeader::from_slice`
#[deprecated(
since = "0.10.0",
since = "0.10.1",
note = "Renamed to `IpHeader::from_slice`"
)]
#[inline]
Expand Down Expand Up @@ -144,7 +144,7 @@ impl IpHeader {
/// to [IpNumber], which also closer to the name
/// "Assigned Internet Protocol Numbers" used on iana.org .
#[deprecated(
since = "0.10.0",
since = "0.10.1",
note = "Please use the type IpNumber instead"
)]
pub type IpTrafficClass = IpNumber;
Expand Down
2 changes: 1 addition & 1 deletion src/internet/ip_authentication.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use std::slice::from_raw_parts;

/// Deprecated use [IpAuthenticationHeader] instead.
#[deprecated(
since = "0.10.0",
since = "0.10.1",
note = "Please use the type IpAuthenticationHeader instead"
)]
pub type IPv6AuthenticationHeader = IpAuthenticationHeader;
Expand Down
2 changes: 1 addition & 1 deletion src/internet/ipv4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ impl Ipv4Header {

/// Renamed to `Ipv4Header::from_slice`
#[deprecated(
since = "0.10.0",
since = "0.10.1",
note = "Renamed to `Ipv4Header::from_slice`"
)]
#[inline]
Expand Down
2 changes: 1 addition & 1 deletion src/internet/ipv6.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ impl Ipv6Header {

/// Renamed to `Ipv6Header::from_slice`
#[deprecated(
since = "0.10.0",
since = "0.10.1",
note = "Renamed to `Ipv6Header::from_slice`"
)]
#[inline]
Expand Down
8 changes: 4 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
//!
//! ```toml
//! [dependencies]
//! etherparse = "0.10.0"
//! etherparse = "0.10.1"
//! ```
//!
//! # What is etherparse?
Expand Down Expand Up @@ -129,7 +129,7 @@
//! ## Packet Builder
//! The PacketBuilder struct provides a high level interface for quickly creating network packets. The PacketBuilder will automatically set fields which can be deduced from the content and compositions of the packet itself (e.g. checksums, lengths, ethertype, ip protocol number).
//!
//! [Example:](https://github.com/JulianSchmid/etherparse/blob/0.10.0/examples/write_udp.rs)
//! [Example:](https://github.com/JulianSchmid/etherparse/blob/0.10.1/examples/write_udp.rs)
//! ```rust
//! use etherparse::PacketBuilder;
//!
Expand All @@ -154,12 +154,12 @@
//! builder.write(&mut result, &payload).unwrap();
//! ```
//!
//! There is also an [example for TCP packets](https://github.com/JulianSchmid/etherparse/blob/0.10.0/examples/write_tcp.rs) available.
//! There is also an [example for TCP packets](https://github.com/JulianSchmid/etherparse/blob/0.10.1/examples/write_tcp.rs) available.
//!
//! Check out the [PacketBuilder documentation](struct.PacketBuilder.html) for more informations.
//!
//! ## Manually serialising each header
//! Alternativly it is possible to manually build a packet ([example](https://github.com/JulianSchmid/etherparse/blob/0.10.0/examples/write_ipv4_udp.rs)). Generally each struct representing a header has a "write" method that allows it to be serialized. These write methods sometimes automatically calculate checksums and fill them in. In case this is unwanted behavior (e.g. if you want to generate a packet with an invalid checksum), it is also possible to call a "write_raw" method that will simply serialize the data without doing checksum calculations.
//! Alternativly it is possible to manually build a packet ([example](https://github.com/JulianSchmid/etherparse/blob/0.10.1/examples/write_ipv4_udp.rs)). Generally each struct representing a header has a "write" method that allows it to be serialized. These write methods sometimes automatically calculate checksums and fill them in. In case this is unwanted behavior (e.g. if you want to generate a packet with an invalid checksum), it is also possible to call a "write_raw" method that will simply serialize the data without doing checksum calculations.
//!
//! Read the documentations of the different methods for a more details:
//!
Expand Down
2 changes: 1 addition & 1 deletion src/link/ethernet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ impl Ethernet2Header {

/// Creates a ethernet slice from an other slice.
#[deprecated(
since = "0.10.0",
since = "0.10.1",
note = "Use Ethernet2Header::from_slice instead."
)]
#[inline]
Expand Down
4 changes: 2 additions & 2 deletions src/link/vlan_tagging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ impl SingleVlanHeader {

/// Read an SingleVlanHeader from a slice and return the header & unused parts of the slice.
#[deprecated(
since = "0.10.0",
since = "0.10.1",
note = "Use SingleVlanHeader::from_slice instead."
)]
#[inline]
Expand Down Expand Up @@ -194,7 +194,7 @@ impl DoubleVlanHeader {

/// Read an DoubleVlanHeader from a slice and return the header & unused parts of the slice.
#[deprecated(
since = "0.10.0",
since = "0.10.1",
note = "Use SingleVlanHeader::from_slice instead."
)]
#[inline]
Expand Down
16 changes: 8 additions & 8 deletions src/transport/tcp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ impl TcpHeader {

/// Renamed to `TcpHeader::from_slice`
#[deprecated(
since = "0.10.0",
since = "0.10.1",
note = "Use TcpHeader::from_slice instead."
)]
#[inline]
Expand Down Expand Up @@ -1083,49 +1083,49 @@ pub struct TcpOptionsIterator<'a> {
}

#[deprecated(
since = "0.10.0",
since = "0.10.1",
note = "Please use tcp_option::KIND_END instead"
)]
/// Deprecated please use [tcp_option::KIND_END] instead.
pub const TCP_OPTION_ID_END: u8 = 0;

#[deprecated(
since = "0.10.0",
since = "0.10.1",
note = "Please use tcp_option::KIND_NOOP instead"
)]
/// Deprecated please use [tcp_option::KIND_NOOP] instead.
pub const TCP_OPTION_ID_NOP: u8 = 1;

#[deprecated(
since = "0.10.0",
since = "0.10.1",
note = "Please use tcp_option::KIND_MAXIMUM_SEGMENT_SIZE instead"
)]
/// Deprecated please use [tcp_option::KIND_MAXIMUM_SEGMENT_SIZE] instead.
pub const TCP_OPTION_ID_MAXIMUM_SEGMENT_SIZE: u8 = 2;

#[deprecated(
since = "0.10.0",
since = "0.10.1",
note = "Please use tcp_option::KIND_WINDOW_SCALE instead"
)]
/// Deprecated please use [tcp_option::KIND_WINDOW_SCALE] instead.
pub const TCP_OPTION_ID_WINDOW_SCALE: u8 = 3;

#[deprecated(
since = "0.10.0",
since = "0.10.1",
note = "Please use tcp_option::KIND_SELECTIVE_ACK_PERMITTED instead"
)]
/// Deprecated please use [tcp_option::KIND_SELECTIVE_ACK_PERMITTED] instead.
pub const TCP_OPTION_ID_SELECTIVE_ACK_PERMITTED: u8 = 4;

#[deprecated(
since = "0.10.0",
since = "0.10.1",
note = "Please use tcp_option::KIND_SELECTIVE_ACK instead"
)]
/// Deprecated please use [tcp_option::KIND_SELECTIVE_ACK] instead.
pub const TCP_OPTION_ID_SELECTIVE_ACK: u8 = 5;

#[deprecated(
since = "0.10.0",
since = "0.10.1",
note = "Please use tcp_option::KIND_TIMESTAMP instead"
)]
/// Deprecated please use [tcp_option::KIND_TIMESTAMP] instead.
Expand Down
2 changes: 1 addition & 1 deletion src/transport/udp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ impl UdpHeader {

/// Reads a udp header from a slice directly and returns a tuple containing the resulting header & unused part of the slice.
#[deprecated(
since = "0.10.0",
since = "0.10.1",
note = "Use UdpHeader::from_slice instead."
)]
#[inline]
Expand Down

0 comments on commit 1d2be79

Please sign in to comment.