File tree Expand file tree Collapse file tree 4 files changed +10
-2
lines changed Expand file tree Collapse file tree 4 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 45
45
if : matrix.target.os == 'windows-latest'
46
46
run : echo 'OPENSSL_DIR=C:\Program Files\OpenSSL-Win64' | Out-File -FilePath $env:GITHUB_ENV -Append
47
47
48
- - name : Install ${{ matrix.version }}
48
+ - name : Install Rust ( ${{ matrix.version }})
49
49
uses : actions-rust-lang/setup-rust-toolchain@v1
50
50
with :
51
51
toolchain : ${{ matrix.version }}
Original file line number Diff line number Diff line change @@ -3,6 +3,13 @@ name: Upload documentation
3
3
on :
4
4
push : { branches: [master] }
5
5
6
+ permissions :
7
+ contents : write
8
+
9
+ concurrency :
10
+ group : ${{ github.workflow }}-${{ github.ref }}
11
+ cancel-in-progress : true
12
+
6
13
jobs :
7
14
build :
8
15
permissions :
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ edition = "2021"
14
14
rust-version = " 1.60"
15
15
16
16
[dependencies ]
17
- bitflags = " 1. 2"
17
+ bitflags = " 2"
18
18
bytes = " 1"
19
19
futures-core = { version = " 0.3.7" , default-features = false }
20
20
futures-sink = { version = " 0.3.7" , default-features = false }
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ const LW: usize = 1024;
18
18
const HW : usize = 8 * 1024 ;
19
19
20
20
bitflags ! {
21
+ #[ derive( Debug , Clone , Copy ) ]
21
22
struct Flags : u8 {
22
23
const EOF = 0b0001 ;
23
24
const READABLE = 0b0010 ;
You can’t perform that action at this time.
0 commit comments