Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frameworks/Rust/xitca-web/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build]
rustflags = ["-C", "target-cpu=native"]
rustflags = ["-C", "target-cpu=native", "--cfg", "tokio_unstable"]
incremental = false

[target.wasm32-wasip1-threads]
Expand Down
106 changes: 56 additions & 50 deletions frameworks/Rust/xitca-web/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 13 additions & 11 deletions frameworks/Rust/xitca-web/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ path = "./src/main.rs"
required-features = ["io-uring", "pg", "router", "template"]

[[bin]]
name = "xitca-web-iou"
path = "./src/main_iou.rs"
required-features = ["io-uring", "perf", "pg", "template"]
name = "xitca-web-unrealistic"
path = "./src/main_unrealistic.rs"
required-features = ["perf", "pg", "template"]

[[bin]]
name = "xitca-web-wasm"
Expand All @@ -34,7 +34,7 @@ pg = ["dep:xitca-postgres"]
# diesel orm optional
pg-orm = ["diesel/r2d2"]
# diesel async orm optional
pg-orm-async = ["dep:diesel", "dep:diesel-async", "dep:xitca-postgres-diesel", "futures-util"]
pg-orm-async = ["dep:diesel", "dep:diesel-async", "dep:xitca-postgres-diesel", "dep:futures-util"]
# http router optional
router = ["xitca-http/router"]
# web optional
Expand Down Expand Up @@ -64,7 +64,7 @@ serde_json = { version = "1" }
xitca-web = { version = "0.7", features = ["json"], optional = true }

# raw-pg optional
xitca-postgres = { version = "0.2", optional = true }
xitca-postgres = { version = "0.3", optional = true }

# orm optional
diesel = { version = "2", features = ["postgres"], optional = true }
Expand Down Expand Up @@ -100,9 +100,11 @@ xitca-postgres-diesel = { git = "https://github.com/fakeshadow/xitca-postgres-di

diesel-async = { git = "https://github.com/weiznich/diesel_async", rev = "5b8262b" }
mio = { git = "https://github.com/fakeshadow/mio", rev = "9bae6012b7ecfc6083350785f71a5e8265358178" }

xitca-codegen = { git = "http://github.com/HFQR/xitca-web", rev = "d3066ba" }
xitca-http = { git = "http://github.com/HFQR/xitca-web", rev = "d3066ba" }
xitca-server = { git = "http://github.com/HFQR/xitca-web", rev = "d3066ba" }
xitca-service = { git = "http://github.com/HFQR/xitca-web", rev = "d3066ba" }
xitca-web = { git = "http://github.com/HFQR/xitca-web", rev = "d3066ba" }
tokio = { git = "https://github.com/tokio-rs/tokio.git", rev = "512e9de" }

xitca-codegen = { git = "http://github.com/HFQR/xitca-web", rev = "1de8d9c" }
xitca-http = { git = "http://github.com/HFQR/xitca-web", rev = "1de8d9c" }
xitca-postgres = { git = "http://github.com/HFQR/xitca-web", rev = "1de8d9c" }
xitca-server = { git = "http://github.com/HFQR/xitca-web", rev = "1de8d9c" }
xitca-service = { git = "http://github.com/HFQR/xitca-web", rev = "1de8d9c" }
xitca-web = { git = "http://github.com/HFQR/xitca-web", rev = "1de8d9c" }
4 changes: 2 additions & 2 deletions frameworks/Rust/xitca-web/benchmark_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"notes": "",
"versus": ""
},
"iou": {
"unrealistic": {
"json_url": "/json",
"plaintext_url": "/plaintext",
"db_url": "/db",
Expand All @@ -42,7 +42,7 @@
"webserver": "xitca-server",
"os": "Linux",
"database_os": "Linux",
"display_name": "xitca-web [iou]",
"display_name": "xitca-web [unrealistic]",
"notes": "",
"versus": ""
},
Expand Down
Loading
Loading