[package] name = "nutils" version = "0.1.1" edition = "2021" authors = ["nanocl contributors "] description = "Nanocl shared utils" readme = "readme.md" license = "MIT OR Apache-2.0" homepage = "https://docs.next-hat.com/docs/guides/nanocl/overview" repository = "https://github.com/nxthat/nanocl" [lib] bench = false [features] logger = ["dep:log", "dep:env_logger"] io_error = [] ntex = ["dep:ntex", "dep:futures"] diesel = ["dep:diesel"] ntex_swagger = ["ntex", "http_error", "dep:utoipa", "dep:utoipa-swagger-ui"] bollard = ["dep:bollard-next"] serde_json = ["dep:serde_json"] serde_yaml = ["dep:serde_yaml"] serde_urlencoded = ["dep:serde_urlencoded"] http_error = ["ntex", "dep:serde_json"] http_client_error = ["ntex", "io_error", "http_error", "serde_urlencoded"] [dependencies] ntex = { version = "0.6.7", optional = true } log = { version = "0.4.17", optional = true } env_logger = { version = "0.10.0", optional = true } serde_yaml = { version = "0.9", optional = true } serde_json = { version = "1.0.70", optional = true } bollard-next = { version = "0.14.9", optional = true } diesel = { version = "2.0.1", default-features = false, optional = true } futures = { version = "0.3.25", optional = true } utoipa = { version = "3.2", features = ["yaml"], optional = true } utoipa-swagger-ui = { version = "3.1", optional = true } serde_urlencoded = { version = "0.7.1", optional = true }