feat: scaffold ug-parser infrastructure crate
This commit is contained in:
13
crates/infrastructure/ug-parser/Cargo.toml
Normal file
13
crates/infrastructure/ug-parser/Cargo.toml
Normal file
@@ -0,0 +1,13 @@
|
||||
[package]
|
||||
name = "ug-parser"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
domain = { path = "../../domain" }
|
||||
anyhow = { workspace = true }
|
||||
thiserror = { workspace = true }
|
||||
tokio = { workspace = true }
|
||||
reqwest = { workspace = true }
|
||||
scraper = { workspace = true }
|
||||
async-trait = { workspace = true }
|
||||
1
crates/infrastructure/ug-parser/src/fetcher.rs
Normal file
1
crates/infrastructure/ug-parser/src/fetcher.rs
Normal file
@@ -0,0 +1 @@
|
||||
pub struct UgTabFetcher;
|
||||
5
crates/infrastructure/ug-parser/src/lib.rs
Normal file
5
crates/infrastructure/ug-parser/src/lib.rs
Normal file
@@ -0,0 +1,5 @@
|
||||
pub mod fetcher;
|
||||
pub mod parser;
|
||||
|
||||
pub use fetcher::UgTabFetcher;
|
||||
pub use parser::UgHtmlParser;
|
||||
1
crates/infrastructure/ug-parser/src/parser.rs
Normal file
1
crates/infrastructure/ug-parser/src/parser.rs
Normal file
@@ -0,0 +1 @@
|
||||
pub struct UgHtmlParser;
|
||||
Reference in New Issue
Block a user