Skip to content

Commit

Permalink
Merge branch 'master' into feat/no-ref/free-up-disk-space-in-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
msga-mmm committed Oct 9, 2023
2 parents 3339be4 + 8c3e8eb commit 8736b90
Show file tree
Hide file tree
Showing 21 changed files with 166 additions and 267 deletions.
2 changes: 1 addition & 1 deletion ntex-bytes/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ default = []
simd = ["simdutf8"]

[dependencies]
bitflags = "1.3"
bitflags = "2.4"
bytes = "1.0.0"
serde = "1.0.0"
futures-core = { version = "0.3", default-features = false, features = ["alloc"] }
Expand Down
1 change: 1 addition & 0 deletions ntex-bytes/src/pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ pub struct BufParams {
}

bitflags::bitflags! {
#[derive(Copy, Clone, Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]

Check warning on line 29 in ntex-bytes/src/pool.rs

View check run for this annotation

Codecov / codecov/patch

ntex-bytes/src/pool.rs#L29

Added line #L29 was not covered by tests
struct Flags: u8 {
const SPAWNED = 0b0000_0001;
const INCREASED = 0b0000_0010;
Expand Down
2 changes: 1 addition & 1 deletion ntex-io/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ ntex-bytes = "0.1.19"
ntex-util = "0.3.2"
ntex-service = "1.2.6"

bitflags = "1.3"
bitflags = "2.4"
log = "0.4"
pin-project-lite = "0.2"

Expand Down
1 change: 1 addition & 0 deletions ntex-io/src/dispatcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ pin_project_lite::pin_project! {
}

bitflags::bitflags! {
#[derive(Copy, Clone, Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]

Check warning on line 28 in ntex-io/src/dispatcher.rs

View check run for this annotation

Codecov / codecov/patch

ntex-io/src/dispatcher.rs#L28

Added line #L28 was not covered by tests
struct Flags: u8 {
const READY_ERR = 0b0001;
const IO_ERR = 0b0010;
Expand Down
1 change: 1 addition & 0 deletions ntex-io/src/io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ use crate::tasks::{ReadContext, WriteContext};
use crate::{FilterLayer, Handle, IoStatusUpdate, IoStream, RecvError};

bitflags::bitflags! {
#[derive(Copy, Clone, Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
pub struct Flags: u16 {
/// io is closed
const IO_STOPPED = 0b0000_0000_0000_0001;
Expand Down
1 change: 1 addition & 0 deletions ntex-io/src/testing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ pub struct IoTest {
}

bitflags::bitflags! {
#[derive(Copy, Clone, Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
struct IoTestFlags: u8 {
const FLUSHED = 0b0000_0001;
const CLOSED = 0b0000_0010;
Expand Down
2 changes: 1 addition & 1 deletion ntex-util/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ path = "src/lib.rs"
[dependencies]
ntex-rt = "0.4.7"
ntex-service = "1.2.6"
bitflags = "1.3"
bitflags = "2.4"
fxhash = "0.2.1"
log = "0.4"
slab = "0.4"
Expand Down
1 change: 1 addition & 0 deletions ntex-util/src/channel/pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ impl<T> fmt::Debug for Pool<T> {
}

bitflags::bitflags! {
#[derive(Copy, Clone, Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]

Check warning on line 29 in ntex-util/src/channel/pool.rs

View check run for this annotation

Codecov / codecov/patch

ntex-util/src/channel/pool.rs#L29

Added line #L29 was not covered by tests
struct Flags: u8 {
const SENDER = 0b0000_0001;
const RECEIVER = 0b0000_0010;
Expand Down
1 change: 1 addition & 0 deletions ntex-util/src/time/wheel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ impl Drop for TimerHandle {
}

bitflags::bitflags! {
#[derive(Copy, Clone, Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]

Check warning on line 134 in ntex-util/src/time/wheel.rs

View check run for this annotation

Codecov / codecov/patch

ntex-util/src/time/wheel.rs#L134

Added line #L134 was not covered by tests
pub struct Flags: u8 {
const DRIVER_STARTED = 0b0000_0001;
const DRIVER_RECALC = 0b0000_0010;
Expand Down
4 changes: 4 additions & 0 deletions ntex/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changes

## [0.7.6] - 2023-10-xx

* Upgrade ntex-h2 to 0.4

## [0.7.5] - 2023-10-01

* Fix compile error for 'compress' feature with async-std & glommio #226
Expand Down
6 changes: 3 additions & 3 deletions ntex/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ntex"
version = "0.7.5"
version = "0.7.6"
authors = ["ntex contributors <[email protected]>"]
description = "Framework for composable network services"
readme = "README.md"
Expand Down Expand Up @@ -56,7 +56,7 @@ ntex-service = "1.2.6"
ntex-macros = "0.1.3"
ntex-util = "0.3.2"
ntex-bytes = "0.1.19"
ntex-h2 = "0.3.2"
ntex-h2 = "0.4.2"
ntex-rt = "0.4.9"
ntex-io = "0.3.4"
ntex-tls = "0.3.1"
Expand All @@ -67,7 +67,7 @@ ntex-async-std = { version = "0.3.0", optional = true }
async-oneshot = "0.5.0"
async-channel = "1.8.0"
base64 = "0.21"
bitflags = "1.3"
bitflags = "2.4"
log = "0.4"
num_cpus = "1.13"
nanorand = { version = "0.7.0", default-features = false, features = ["std", "wyrand"] }
Expand Down
Loading

0 comments on commit 8736b90

Please sign in to comment.