-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use xtask for scraping job, cleanup dependencies.
- Loading branch information
Showing
9 changed files
with
117 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[alias] | ||
xtask = "run --package xtask --" |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,19 @@ | ||
[workspace.package] | ||
version = "0.1.0" | ||
edition = "2021" | ||
authors = ["Matouš Dzivjak <[email protected]>"] | ||
categories = ["wiki", "knowledge-bage"] | ||
repository = "https://github.com/matoous/mwp" | ||
homepage = "https://github.com/matoous/mwp" | ||
|
||
[workspace] | ||
resolver = "2" | ||
members = [ | ||
"mwp-web", | ||
"mwp-scraper", | ||
"mwp-content", | ||
"mwp-search", | ||
"xtask", | ||
] | ||
|
||
default-members = [ | ||
|
@@ -14,12 +23,8 @@ default-members = [ | |
[profile.release] | ||
lto = "thin" | ||
|
||
[workspace.package] | ||
name = "mwp" | ||
version = "0.1.0" | ||
edition = "2021" | ||
authors = ["Matouš Dzivjak <[email protected]>"] | ||
categories = ["wiki", "knowledge-bage"] | ||
repository = "https://github.com/matoous/mwp" | ||
homepage = "https://github.com/matoous/mwp" | ||
rust-version = "1.70" | ||
[workspace.dependencies] | ||
tantivy = { version = "0.22.0", features = ["mmap"] } | ||
url = { version = "2.5.4", features = ["serde"] } | ||
time = "0.3.37" | ||
rusqlite = { version = "0.31.0", features = ["time", "url", "bundled"]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[package] | ||
name = "xtask" | ||
version = "0.0.1" | ||
edition = "2021" | ||
publish = false | ||
|
||
[dependencies] | ||
clap = { version = "4.5.23", features = [ | ||
"derive", | ||
"string", | ||
"env", | ||
"wrap_help", | ||
] } | ||
tokio = { version = "1.42.0", features= ["full"]} | ||
|
||
mwp-scraper = { path="../mwp-scraper" } |
Oops, something went wrong.