Skip to content

Commit 54ec06c

Browse files
committed
update bitflags to v2
1 parent c0693da commit 54ec06c

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
if: matrix.target.os == 'windows-latest'
4646
run: echo 'OPENSSL_DIR=C:\Program Files\OpenSSL-Win64' | Out-File -FilePath $env:GITHUB_ENV -Append
4747

48-
- name: Install ${{ matrix.version }}
48+
- name: Install Rust (${{ matrix.version }})
4949
uses: actions-rust-lang/setup-rust-toolchain@v1
5050
with:
5151
toolchain: ${{ matrix.version }}

.github/workflows/upload-doc.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@ name: Upload documentation
33
on:
44
push: { branches: [master] }
55

6+
permissions:
7+
contents: write
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
613
jobs:
714
build:
815
permissions:

actix-codec/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ edition = "2021"
1414
rust-version = "1.60"
1515

1616
[dependencies]
17-
bitflags = "1.2"
17+
bitflags = "2"
1818
bytes = "1"
1919
futures-core = { version = "0.3.7", default-features = false }
2020
futures-sink = { version = "0.3.7", default-features = false }

actix-codec/src/framed.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const LW: usize = 1024;
1818
const HW: usize = 8 * 1024;
1919

2020
bitflags! {
21+
#[derive(Debug, Clone, Copy)]
2122
struct Flags: u8 {
2223
const EOF = 0b0001;
2324
const READABLE = 0b0010;

0 commit comments

Comments
 (0)