[package] name = "nydus-api" version = "0.3.1" description = "APIs for Nydus Image Service" authors = ["The Nydus Developers"] license = "Apache-2.0 OR BSD-3-Clause" homepage = "https://nydus.dev/" repository = "https://github.com/dragonflyoss/image-service" edition = "2018" [dependencies] libc = "0.2" log = "0.4.8" serde_json = "1.0.53" toml = "0.5" backtrace = { version = "0.3", optional = true } dbs-uhttp = { version = "0.3.0", optional = true } http = { version = "0.2.1", optional = true } lazy_static = { version = "1.4.0", optional = true } mio = { version = "0.8", features = ["os-poll", "os-ext"], optional = true } serde = { version = "1.0.110", features = ["rc", "serde_derive"] } url = { version = "2.1.1", optional = true } [dev-dependencies] vmm-sys-util = { version = "0.11" } [features] error-backtrace = ["backtrace"] handler = ["dbs-uhttp", "http", "lazy_static", "mio", "url"]