Initial commit
This commit is contained in:
commit
bd9b07052b
81 changed files with 5516 additions and 0 deletions
33
http/Cargo.toml
Normal file
33
http/Cargo.toml
Normal file
|
@ -0,0 +1,33 @@
|
|||
[package]
|
||||
name = "viendesu-http"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[features]
|
||||
default = []
|
||||
client = ["dep:reqwest"]
|
||||
server = [
|
||||
"dep:axum",
|
||||
"dep:http-body-util",
|
||||
"dep:tower-http",
|
||||
"dep:serde_urlencoded",
|
||||
]
|
||||
|
||||
[dependencies]
|
||||
viendesu-core.workspace = true
|
||||
http = "1.3.1"
|
||||
|
||||
serde.workspace = true
|
||||
serde_with.workspace = true
|
||||
serde_json.workspace = true
|
||||
futures.workspace = true
|
||||
|
||||
eva.workspace = true
|
||||
eyre.workspace = true
|
||||
|
||||
axum = { optional = true, version = "0.8.4", default-features = false, features = ["http2", "ws", "macros"] }
|
||||
http-body-util = { version = "0.1.3", optional = true }
|
||||
tower-http = { optional = true, version = "0.6.6", default-features = false, features = ["limit"] }
|
||||
serde_urlencoded = { version = "0.7.1", optional = true }
|
||||
|
||||
reqwest = { optional = true, version = "0.12.23", default-features = false }
|
Loading…
Add table
Add a link
Reference in a new issue