@@ -9,19 +9,19 @@ path = "./src/main.rs"
99required-features = [" io-uring" , " pg" , " router" , " template" ]
1010
1111[[bin ]]
12- name = " xitca-web-unrealistic "
13- path = " ./src/main_unrealistic .rs"
14- required-features = [" perf" , " pg" , " template" ]
12+ name = " xitca-web-barebone "
13+ path = " ./src/main_barebone .rs"
14+ required-features = [" perf" , " perf-json " , " pg" , " template" ]
1515
1616[[bin ]]
1717name = " xitca-web-diesel"
1818path = " ./src/main_orm.rs"
19- required-features = [" diesel" , " template" , " web-codegen" ]
19+ required-features = [" diesel" , " perf " , " template" , " web-codegen" ]
2020
2121[[bin ]]
2222name = " xitca-web-toasty"
2323path = " ./src/main_orm.rs"
24- required-features = [" toasty " , " template" , " web-codegen" ]
24+ required-features = [" perf " , " template" , " toasty " , " web-codegen" ]
2525
2626[features ]
2727# pg client optional
@@ -41,7 +41,8 @@ template = ["dep:sailfish"]
4141# io-uring optional
4242io-uring = [" dep:tokio-uring" , " xitca-http/io-uring" , " xitca-server/io-uring" ]
4343# unrealistic performance optimization
44- perf = [" dep:core_affinity" , " dep:mimalloc" , " tokio/parking_lot" , " simd-json" , " simd-json-derive" ]
44+ perf = [" dep:core_affinity" , " dep:mimalloc" , " tokio/parking_lot" ]
45+ perf-json = [" simd-json" , " simd-json-derive" ]
4546
4647[dependencies ]
4748xitca-http = " 0.7"
@@ -63,7 +64,7 @@ xitca-postgres = { version = "0.3", optional = true }
6364
6465# diesel orm optional
6566diesel = { version = " 2" , features = [" postgres" ], optional = true }
66- diesel-async = { version = " 0.7" , features = [" bb8 " , " postgres" ], optional = true }
67+ diesel-async = { version = " 0.7" , features = [" postgres" ], optional = true }
6768xitca-postgres-diesel = { version = " 0.2" , default-features = false , optional = true }
6869futures-util = { version = " 0.3" , default-features = false , optional = true }
6970
@@ -85,7 +86,7 @@ simd-json-derive = { version = "0.18", default-features = false, optional = tru
8586
8687futures-core = { version = " 0.3" , default-features = false }
8788rand = { version = " 0.9" , features = [" os_rng" , " small_rng" ], default-features = false }
88- tokio = " 1.41 "
89+ tokio = " 1.48 "
8990
9091[profile .release ]
9192lto = true
@@ -94,17 +95,17 @@ codegen-units = 1
9495panic = " abort"
9596
9697[patch .crates-io ]
97- xitca-postgres-diesel = { git = " https://github.com/fakeshadow/xitca-postgres-diesel" , rev = " 7671975 " }
98+ xitca-postgres-diesel = { git = " https://github.com/fakeshadow/xitca-postgres-diesel" , rev = " ffd222a " }
9899xitca-postgres-toasty = { git = " https://github.com/fakeshadow/xitca-postgres-toasty" , rev = " 04bedb8" }
99100
100101# personal fork for efficient toasty engine fine tuned with pipelined xitca-postgres client
101102toasty = { git = " https://github.com/fakeshadow/toasty" , branch = " engine" }
102103toasty-core = { git = " https://github.com/fakeshadow/toasty" , branch = " engine" }
103104toasty-sql = { git = " https://github.com/fakeshadow/toasty" , branch = " engine" }
104105
105- xitca-codegen = { git = " http://github.com/HFQR/xitca-web" , rev = " cf70ed7 " }
106- xitca-http = { git = " http://github.com/HFQR/xitca-web" , rev = " cf70ed7 " }
107- xitca-postgres = { git = " http://github.com/HFQR/xitca-web" , rev = " cf70ed7 " }
108- xitca-server = { git = " http://github.com/HFQR/xitca-web" , rev = " cf70ed7 " }
109- xitca-service = { git = " http://github.com/HFQR/xitca-web" , rev = " cf70ed7 " }
110- xitca-web = { git = " http://github.com/HFQR/xitca-web" , rev = " cf70ed7 " }
106+ xitca-codegen = { git = " http://github.com/HFQR/xitca-web" , rev = " 91c6c31 " }
107+ xitca-http = { git = " http://github.com/HFQR/xitca-web" , rev = " 91c6c31 " }
108+ xitca-postgres = { git = " http://github.com/HFQR/xitca-web" , rev = " 91c6c31 " }
109+ xitca-server = { git = " http://github.com/HFQR/xitca-web" , rev = " 91c6c31 " }
110+ xitca-service = { git = " http://github.com/HFQR/xitca-web" , rev = " 91c6c31 " }
111+ xitca-web = { git = " http://github.com/HFQR/xitca-web" , rev = " 91c6c31 " }
0 commit comments