[package] name = "nanocl_utils" version = "0.7.0" edition = "2021" authors = ["nanocl contributors "] description = "Nanocl shared utils" readme = "readme.md" license = "MIT OR Apache-2.0" homepage = "https://next-hat.com/nanocl" repository = "https://github.com/next-hat/nanocl" [lib] bench = false [features] dev = [] logger = ["dep:log", "dep:env_logger"] ntex = ["dep:ntex", "dep:futures", "dep:serde_json"] ntex_swagger = [ "ntex", "dep:utoipa", "dep:utoipa-swagger-ui", "nanocl_error/http", ] unix = ["dep:libc", "nanocl_error/io"] versioning = [] test = [] build_tools = ["dep:clap", "dep:clap_mangen"] ntex_test_client = ["dep:ntex", "dep:serde"] [dependencies] ntex = { version = "2", optional = true } log = { version = "0.4", optional = true } env_logger = { version = "0.11", optional = true } serde = { version = "1.0", features = ["derive"], optional = true } serde_json = { version = "1.0", optional = true } futures = { version = "0.3", optional = true } utoipa = { version = "5", features = ["yaml"], optional = true } utoipa-swagger-ui = { version = "8.0", optional = true } clap = { version = "4.5", features = ["derive", "cargo"], optional = true } clap_mangen = { version = "0.2", optional = true } nanocl_error = { version = "0.5", optional = true } [target.'cfg(not(target_os = "windows"))'.dependencies] libc = { version = "0.2", optional = true }