|
@@ -29,7 +29,7 @@ pg = ["xitca-postgres"]
|
|
|
# pg io_uring optional
|
|
|
pg-iou = ["xitca-postgres/io-uring"]
|
|
|
# pg orm optional
|
|
|
-pg-orm = ["diesel", "diesel-async", "tang-rs"]
|
|
|
+pg-orm = ["diesel", "diesel-async", "tang-rs", "futures-util"]
|
|
|
# serde optional
|
|
|
serde = ["dep:serde", "serde_json"]
|
|
|
# web optional
|
|
@@ -55,8 +55,8 @@ xitca-web = { version = "0.1", features = ["json"], optional = true }
|
|
|
xitca-postgres = { version = "0.1", features = ["single-thread"], optional = true }
|
|
|
|
|
|
# diesel-pg orm optional
|
|
|
-diesel = { version = "2", default-features = false, features = ["i-implement-a-third-party-backend-and-opt-into-breaking-changes"], optional = true }
|
|
|
-diesel-async = { version = "0.2", default-features = false, features = ["postgres"], optional = true }
|
|
|
+diesel = { version = "2.1", default-features = false, features = ["i-implement-a-third-party-backend-and-opt-into-breaking-changes"], optional = true }
|
|
|
+diesel-async = { version = "0.3", default-features = false, features = ["postgres"], optional = true }
|
|
|
tang-rs = { version = "0.2", optional = true }
|
|
|
|
|
|
# serde optional
|
|
@@ -64,12 +64,15 @@ serde = { version = "1", optional = true }
|
|
|
serde_json = { version = "1", optional = true }
|
|
|
|
|
|
# template optional
|
|
|
-sailfish = { version = "0.6", optional = true }
|
|
|
+sailfish = { version = "0.8", default-features = false, features = ["derive", "perf-inline"], optional = true }
|
|
|
+
|
|
|
+# util optional
|
|
|
+futures-util = { version = "0.3", default-features = false, features = ["alloc"], optional = true }
|
|
|
|
|
|
# stuff can not be used or not needed in wasi target
|
|
|
[target.'cfg(not(target_family = "wasm"))'.dependencies]
|
|
|
+futures-core = { version = "0.3", default-features = false }
|
|
|
mimalloc = { version = "0.1", default-features = false }
|
|
|
-futures-util = { version = "0.3", default-features = false, features = ["alloc"] }
|
|
|
nanorand = { version = "0.7", default-features = false, features = ["tls"] }
|
|
|
tokio = "1"
|
|
|
|
|
@@ -80,13 +83,13 @@ codegen-units = 1
|
|
|
panic = "abort"
|
|
|
|
|
|
[patch.crates-io]
|
|
|
-xitca-http = { git = "https://github.com/HFQR/xitca-web.git", rev = "3255e9ab0c585a18989bb6b8dd87b333ce662876" }
|
|
|
-xitca-io = { git = "https://github.com/HFQR/xitca-web.git", rev = "3255e9ab0c585a18989bb6b8dd87b333ce662876" }
|
|
|
-xitca-postgres = { git = "https://github.com/HFQR/xitca-web.git", rev = "3255e9ab0c585a18989bb6b8dd87b333ce662876" }
|
|
|
-xitca-router = { git = "https://github.com/HFQR/xitca-web.git", rev = "3255e9ab0c585a18989bb6b8dd87b333ce662876" }
|
|
|
-xitca-server = { git = "https://github.com/HFQR/xitca-web.git", rev = "3255e9ab0c585a18989bb6b8dd87b333ce662876" }
|
|
|
-xitca-service = { git = "https://github.com/HFQR/xitca-web.git", rev = "3255e9ab0c585a18989bb6b8dd87b333ce662876" }
|
|
|
-xitca-unsafe-collection = { git = "https://github.com/HFQR/xitca-web.git", rev = "3255e9ab0c585a18989bb6b8dd87b333ce662876" }
|
|
|
-xitca-web = { git = "https://github.com/HFQR/xitca-web.git", rev = "3255e9ab0c585a18989bb6b8dd87b333ce662876" }
|
|
|
-
|
|
|
-mio = { git = "https://github.com/fakeshadow/mio.git", rev = "e506b0d87aa89e06c450a3991c491de35968cb12" }
|
|
|
+xitca-http = { git = "https://github.com/HFQR/xitca-web.git", rev = "c5b22169db1dde1a2411872cffa5b6bd7e14d2f4" }
|
|
|
+xitca-io = { git = "https://github.com/HFQR/xitca-web.git", rev = "c5b22169db1dde1a2411872cffa5b6bd7e14d2f4" }
|
|
|
+xitca-postgres = { git = "https://github.com/HFQR/xitca-web.git", rev = "c5b22169db1dde1a2411872cffa5b6bd7e14d2f4" }
|
|
|
+xitca-router = { git = "https://github.com/HFQR/xitca-web.git", rev = "c5b22169db1dde1a2411872cffa5b6bd7e14d2f4" }
|
|
|
+xitca-server = { git = "https://github.com/HFQR/xitca-web.git", rev = "c5b22169db1dde1a2411872cffa5b6bd7e14d2f4" }
|
|
|
+xitca-service = { git = "https://github.com/HFQR/xitca-web.git", rev = "c5b22169db1dde1a2411872cffa5b6bd7e14d2f4" }
|
|
|
+xitca-unsafe-collection = { git = "https://github.com/HFQR/xitca-web.git", rev = "c5b22169db1dde1a2411872cffa5b6bd7e14d2f4" }
|
|
|
+xitca-web = { git = "https://github.com/HFQR/xitca-web.git", rev = "c5b22169db1dde1a2411872cffa5b6bd7e14d2f4" }
|
|
|
+
|
|
|
+mio = { git = "https://github.com/fakeshadow/mio.git", rev = "eb67f6794edba8bc2e973ddef32e066b41ff812a" }
|