diff --git a/.gitignore b/.gitignore index 7c32af8..8e5effc 100644 --- a/.gitignore +++ b/.gitignore @@ -16,4 +16,4 @@ target/ */flamegraph.svg */perf.data* -warcificator/debug/ \ No newline at end of file +scraper-rs/debug/ \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json index c8c97a4..b94d582 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -7,13 +7,13 @@ { "type": "lldb", "request": "launch", - "name": "warcificator", - "cwd": "warcificator/", + "name": "scraper-rs", + "cwd": "scraper-rs/", "cargo": { // https://github.com/vadimcn/codelldb/issues/884 - "args": ["build", "--manifest-path=warcificator/Cargo.toml"] + "args": ["build", "--manifest-path=scraper-rs/Cargo.toml"] }, - "args": ["../data/carrefour"], + "args": ["../data/Carrefour.txt"], "env": {} }, { diff --git a/warcificator/Cargo.lock b/scraper-rs/Cargo.lock similarity index 99% rename from warcificator/Cargo.lock rename to scraper-rs/Cargo.lock index 2a6c63e..ef4c90c 100644 --- a/warcificator/Cargo.lock +++ b/scraper-rs/Cargo.lock @@ -1011,6 +1011,26 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" +[[package]] +name = "scraper-rs" +version = "0.1.0" +dependencies = [ + "again", + "async-channel", + "nanoid", + "rand 0.8.5", + "reqwest", + "rusqlite", + "serde", + "serde_json", + "simple-error", + "thiserror", + "tl", + "tokio", + "tracing", + "tracing-subscriber", +] + [[package]] name = "sct" version = "0.7.1" @@ -1401,26 +1421,6 @@ dependencies = [ "try-lock", ] -[[package]] -name = "warcificator" -version = "0.1.0" -dependencies = [ - "again", - "async-channel", - "nanoid", - "rand 0.8.5", - "reqwest", - "rusqlite", - "serde", - "serde_json", - "simple-error", - "thiserror", - "tl", - "tokio", - "tracing", - "tracing-subscriber", -] - [[package]] name = "wasi" version = "0.9.0+wasi-snapshot-preview1" diff --git a/warcificator/Cargo.toml b/scraper-rs/Cargo.toml similarity index 97% rename from warcificator/Cargo.toml rename to scraper-rs/Cargo.toml index 2f53a73..d67a63d 100644 --- a/warcificator/Cargo.toml +++ b/scraper-rs/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "warcificator" +name = "scraper-rs" version = "0.1.0" edition = "2021" diff --git a/warcificator/src/main.rs b/scraper-rs/src/main.rs similarity index 100% rename from warcificator/src/main.rs rename to scraper-rs/src/main.rs