Skip to content

Commit ee7f8fa

Browse files
authored
Merge pull request #6 from ulibte/fix-docs-test
fix doc test error
2 parents 376b1a8 + 0891f3a commit ee7f8fa

4 files changed

Lines changed: 118 additions & 266 deletions

File tree

.github/workflows/rust.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ jobs:
2020
override: true
2121
components: clippy
2222
- run: cargo clippy --all-targets
23+
# - name: Clean Cargo cache and reinstall dependencies
24+
# run: |
25+
# cargo clean
26+
# cargo update -p openssl-src
27+
2328

2429
test:
2530
name: test
@@ -30,7 +35,7 @@ jobs:
3035
include:
3136
- build: msrv
3237
os: ubuntu-latest
33-
rust: 1.60.0
38+
rust: 1.56.1
3439
- build: stable
3540
os: ubuntu-latest
3641
rust: stable
@@ -69,4 +74,4 @@ jobs:
6974
- uses: actions-rs/cargo@v1
7075
with:
7176
command: fmt
72-
args: --all -- --check
77+
args: --all -- --check

.rustfmt.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
binop_separator = "Back"
2+
fn_args_layout = "Compressed"
3+
newline_style = "Unix"
4+
reorder_imports = false

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ sha2 = "0.10.6"
2626
serde = { version = "1.0.126", features = ["derive"] }
2727
serde_json = "1.0"
2828
error-chain = { version = "0.12.4", default-features = false }
29-
reqwest = { version = "0.11.18", features = ["blocking", "json"] }
29+
reqwest = { version = "0.11.4", features = ["blocking", "json"] }
3030
tungstenite = { version = "0.19.0", features = ["native-tls"] }
3131
url = "2.2.2"
3232

0 commit comments

Comments
 (0)