[package] name = "mincat" version = "0.1.0" edition = "2021" description = "Web framework" license = "GPL-3.0" repository = "https://github.com/ES1993/mincat" keywords = ["http", "web", "framework"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [features] default = [ "body-limit", "cors", "form", "json", "path", "query", "state", "http-log", ] body-limit = [] cors = [] http-log = [] session = ["dep:uuid", "cookie-private"] session-memory = ["session"] session-redis = ["session", "dep:redis", "dep:redis_pool"] session-postgres = ["session", "dep:sqlx", "sqlx?/postgres"] session-mysql = ["session", "dep:sqlx", "sqlx?/mysql"] form = [] json = [] path = [] query = [] state = [] websocket = ["dep:tokio-tungstenite", "dep:sha1", "dep:base64"] cookie = ["dep:cookie"] cookie-private = ["cookie", "cookie?/private"] cookie-signed = ["cookie", "cookie?/signed"] [dependencies] mincat-core = { path = "../mincat-core", version = "0.1.0"} mincat-macro = { path = "../mincat-macro", version = "0.1.0" } http = "1.0.0" tokio = { version = "1.35.1", features = ["full"] } tokio-util = "0.7.10" tokio-tungstenite = { version = "0.21.0", optional = true } hyper = { version = "1.1.0", features = ["full"] } hyper-util = { version = "0.1.2", features = ["full"] } http-body = "1.0.0" http-body-util = "0.1.0" bytes = "1.5.0" async-trait = "0.1.77" matchit = "0.7.3" tracing = "0.1.40" serde = { version = "1.0.195", features = ["derive"] } serde_json = "1.0.111" serde_qs = "0.12.0" serde_urlencoded = "0.7.1" mime = "0.3.17" mime_guess = "2.0.4" multer = "3.0.0" multer-derive = "0.1.1-alpha" cookie = { version = "0.18.0", features = [ "percent-encode", "private", ], optional = true } uuid = { version = "1.7.0", features = ["v4"], optional = true } derive_builder = "0.13.0" chrono = "0.4.33" redis = { version = "0.24.0", optional = true } redis_pool = { version = "0.3.0", features = ["cluster"], optional = true } sqlx = { version = "0.7.3", features = ["runtime-tokio"], optional = true } futures-util = "0.3.30" memchr = "2.7.1" itoa = "1.0.10" pin-project-lite = "0.2.13" sha1 = { version = "0.10.6", optional = true } base64 = { version = "0.21.7", optional = true }