@@ -6,7 +6,7 @@ edition = "2024"
66[[bin ]]
77name = " xitca-web"
88path = " ./src/main.rs"
9- required-features = [" io-uring" , " json " , " pg" , " router" , " template" ]
9+ required-features = [" io-uring" , " pg" , " router" , " template" ]
1010
1111[[bin ]]
1212name = " xitca-web-barebone"
@@ -32,16 +32,15 @@ diesel = ["dep:diesel", "dep:diesel-async", "dep:xitca-postgres-diesel", "dep:fu
3232toasty = [" dep:toasty" , " dep:xitca-postgres-toasty" , " futures-util/alloc" ]
3333# http router optional
3434router = [" xitca-http/router" ]
35- # web optional
36- web = [" dep:xitca-web" ]
3735# web with macros optional
3836web-codegen = [" xitca-web/codegen" , " xitca-web/urlencoded" ]
3937# template optional
4038template = [" dep:sailfish" ]
4139# io-uring optional
4240io-uring = [" dep:tokio-uring" , " xitca-http/io-uring" , " xitca-server/io-uring" ]
4341# unrealistic performance optimization
44- perf = [" dep:core_affinity" , " dep:mimalloc" , " tokio/parking_lot" ]
42+ perf = [" perf-allocator" , " dep:core_affinity" , " tokio/parking_lot" ]
43+ perf-allocator = [" dep:mimalloc" ]
4544# regular json serializer
4645json = [" serde_json" ]
4746# performance optimization json serializer
@@ -99,20 +98,19 @@ codegen-units = 1
9998panic = " abort"
10099
101100[patch .crates-io ]
102- xitca-postgres-diesel = { git = " https://github.com/fakeshadow/xitca-postgres-diesel" , rev = " fb5dcba " }
103- xitca-postgres-toasty = { git = " https://github.com/fakeshadow/xitca-postgres-toasty" , rev = " 02c6604 " }
101+ xitca-postgres-diesel = { git = " https://github.com/fakeshadow/xitca-postgres-diesel" , rev = " 1bd39ac " }
102+ xitca-postgres-toasty = { git = " https://github.com/fakeshadow/xitca-postgres-toasty" , rev = " 270fe35 " }
104103
105- # personal fork for efficient toasty engine fine tuned with pipelined xitca-postgres client
106104toasty = { git = " https://github.com/fakeshadow/toasty" , branch = " engine" }
107105toasty-core = { git = " https://github.com/fakeshadow/toasty" , branch = " engine" }
108106toasty-sql = { git = " https://github.com/fakeshadow/toasty" , branch = " engine" }
109107
110108# personal fork of tokio-uring with tokio local runtime enabled
111109tokio-uring = { git = " http://github.com/fakeshadow/tokio-uring" , rev = " c3d5887" }
112110
113- xitca-codegen = { git = " http://github.com/HFQR/xitca-web" , rev = " b723c0c " }
114- xitca-http = { git = " http://github.com/HFQR/xitca-web" , rev = " b723c0c " }
115- xitca-postgres = { git = " http://github.com/HFQR/xitca-web" , rev = " b723c0c " }
116- xitca-server = { git = " http://github.com/HFQR/xitca-web" , rev = " b723c0c " }
117- xitca-service = { git = " http://github.com/HFQR/xitca-web" , rev = " b723c0c " }
118- xitca-web = { git = " http://github.com/HFQR/xitca-web" , rev = " b723c0c " }
111+ xitca-codegen = { git = " http://github.com/HFQR/xitca-web" , rev = " faf1ae2 " }
112+ xitca-http = { git = " http://github.com/HFQR/xitca-web" , rev = " faf1ae2 " }
113+ xitca-postgres = { git = " http://github.com/HFQR/xitca-web" , rev = " faf1ae2 " }
114+ xitca-server = { git = " http://github.com/HFQR/xitca-web" , rev = " faf1ae2 " }
115+ xitca-service = { git = " http://github.com/HFQR/xitca-web" , rev = " faf1ae2 " }
116+ xitca-web = { git = " http://github.com/HFQR/xitca-web" , rev = " faf1ae2 " }
0 commit comments