feat: add webclaw-api rest server with axum

This commit is contained in:
Rodrigo Motta 2026-03-31 21:52:17 -03:00
parent cb4a7f3f06
commit f76df1fdba
3 changed files with 153 additions and 2 deletions

View file

@ -0,0 +1,21 @@
[package]
name = "webclaw-api"
description = "REST API server for webclaw web extraction toolkit"
version.workspace = true
edition.workspace = true
license.workspace = true
[[bin]]
name = "webclaw-api"
path = "src/main.rs"
[dependencies]
webclaw-core = { workspace = true }
webclaw-fetch = { workspace = true }
dotenvy = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
tokio = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
axum = "0.7"