File tree 3 files changed +8
-9
lines changed
3 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 17
17
runs-on : ubuntu-latest
18
18
steps :
19
19
- name : Checkout
20
- uses : actions/checkout@v3
20
+ uses : actions/checkout@v4
21
21
- uses : actions/setup-node@v3
22
22
with :
23
23
node-version : 18
@@ -35,16 +35,14 @@ jobs:
35
35
with :
36
36
file-url : ' https://static.crates.io/db-dump.tar.gz'
37
37
location : ' ./.tmp'
38
- - uses : actions-rs/toolchain@v1
39
- with :
40
- toolchain : stable
38
+ - uses : dtolnay/rust-toolchain@stable
41
39
- name : Run crates.io DB dump scraper
42
40
uses : actions-rs/cargo@v1
43
41
with :
44
42
command : run
45
43
# args: --release --all-features
46
44
- name : Build Zola and deploy
47
- uses : shalzz/zola-deploy-action@v0.17.0
45
+ uses : shalzz/zola-deploy-action@v0.19.2
48
46
env :
49
47
# Target branch
50
48
PAGES_BRANCH : gh-pages
Original file line number Diff line number Diff line change @@ -8,15 +8,15 @@ edition = "2021"
8
8
9
9
[dependencies ]
10
10
# for binary
11
- env_logger = " 0.10 "
11
+ env_logger = " 0.11 "
12
12
13
13
anyhow = " 1.0"
14
14
15
15
chrono = {version = " 0.4" , features = [" serde" ]}
16
16
clap = {version = " 4" , features = [" derive" , " cargo" ]}
17
- db-dump = {version = " 0.4 " }
17
+ db-dump = {version = " 0.7 " }
18
18
log = " 0.4"
19
- octocrab = " 0.32 "
19
+ octocrab = " 0.41 "
20
20
21
21
serde = {version = " 1" , features = [" derive" ]}
22
22
serde_json = " 1.0"
Original file line number Diff line number Diff line change @@ -59,7 +59,8 @@ impl From<&crates::Row> for CrateData {
59
59
fn from ( row : & crates:: Row ) -> Self {
60
60
Self {
61
61
name : row. name . clone ( ) ,
62
- downloads : row. downloads ,
62
+ // todo:fix
63
+ downloads : 0 ,
63
64
description : row. description . clone ( ) ,
64
65
homepage : row. homepage . clone ( ) ,
65
66
documentation : row. documentation . clone ( ) ,
You can’t perform that action at this time.
0 commit comments