Skip to content

Commit 6b3dc75

Browse files
authored
Merge pull request #84 from samgozman/xxx-updates
Update rust to 1.72.0, dependencies and exmaples
2 parents e7b1fc0 + e05678f commit 6b3dc75

File tree

4 files changed

+34
-48
lines changed

4 files changed

+34
-48
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
- uses: actions-rs/[email protected]
1616
with:
17-
toolchain: 1.68.0
17+
toolchain: 1.72.0
1818
components: rustfmt
1919

2020
- name: Run rustfmt
@@ -33,7 +33,7 @@ jobs:
3333
- uses: actions-rs/[email protected]
3434
with:
3535
components: clippy
36-
toolchain: 1.68.0
36+
toolchain: 1.72.0
3737
- name: Run clippy
3838
run: cargo clippy --locked --all-targets --all-features --workspace -- -D warnings
3939
timeout-minutes: 10
@@ -51,7 +51,7 @@ jobs:
5151
- uses: actions-rs/[email protected]
5252
with:
5353
name: test-${{matrix.os}}
54-
toolchain: 1.68.0
54+
toolchain: 1.72.0
5555

5656
- name: Run unit tests
5757
run: cargo test --locked --all-targets --workspace --all-features

Cargo.lock

Lines changed: 23 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rvp"
3-
version = "0.1.3"
3+
version = "0.1.4"
44
edition = "2021"
55
license = "MIT"
66
readme = "README.md"
@@ -9,7 +9,7 @@ repository = "https://github.com/samgozman/rvp"
99
authors = ["Sam Gozman <[email protected]>"]
1010
description = "Remote Value Parser - CLI tool for parsing string values from static web pages"
1111
keywords = ["rvp", "parser", "cli"]
12-
rust-version = "1.68.0"
12+
rust-version = "1.72.0"
1313
include = ["src/**/*", "LICENSE", "README.md"]
1414

1515
[[bin]]
@@ -21,17 +21,17 @@ lto = true
2121
strip = true
2222

2323
[dependencies]
24-
clap = { version = "4.3.23", features = ["derive"] }
25-
anyhow = "1.0.72"
24+
clap = { version = "4.4.2", features = ["derive"] }
25+
anyhow = "1.0.75"
2626
paste = "1.0.14"
2727
tokio = { version = "1.32.0", features = ["test-util", "macros", "rt-multi-thread"] }
2828
validator = { version = "0.16.1", features = ["derive"] }
2929
reqwest = "0.11.20"
3030
scraper = "0.17.1"
3131
inquire = "0.6.2"
32-
serde = { version = "1.0.183", features = ["derive"] }
33-
toml = "0.7.6"
32+
serde = { version = "1.0.188", features = ["derive"] }
33+
toml = "0.7.7"
3434
serde_json = "1.0.105"
3535
rand = "0.8.5"
36-
comfy-table = "6.2.0"
36+
comfy-table = "7.0.1"
3737
regex = "1.9.5"

examples/stock.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description = "Gather stock information from different sources"
55
url = "https://finviz.com/quote.ashx?t=%%"
66

77
[[resources.selectors]]
8-
path = "body > div.content > div.ticker-wrapper tbody > tr > td > table.fullview-title > tbody > tr:nth-child(2) > td > a > b"
8+
path = "body > div.content > div.ticker-wrapper.gradient-fade > div.fv-container > table > tbody > tr > td > div > table:nth-child(1) > tbody > tr > td > table.fullview-title > tbody > tr.text-blue-500 > td > h1 > span > a > b"
99
name = "Name"
1010
parsed_type = "String"
1111

0 commit comments

Comments
 (0)