# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "nanocl_stubs"
version = "0.16.1"
authors = ["nanocl contributors <team@next-hat.com>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Nanocl shared data model"
homepage = "https://next-hat.com/nanocl"
readme = "readme.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/next-hat/nanocl"

[lib]
name = "nanocl_stubs"
path = "src/lib.rs"
bench = false

[dependencies.bollard-next]
version = "0.18.1"

[dependencies.chrono]
version = "0.4"
features = [
    "std",
    "clock",
]
default-features = false

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "cargo",
]
optional = true

[dependencies.ipnet]
version = "2.10.0"
features = ["serde"]

[dependencies.schemars]
version = "0.8"
features = [
    "uuid1",
    "chrono",
]
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1.0"

[dependencies.utoipa]
version = "5"
features = [
    "uuid",
    "chrono",
]
optional = true

[dependencies.uuid]
version = "1.9"

[features]
clap = ["dep:clap"]
default = ["serde"]
schemars = [
    "dep:schemars",
    "bollard-next/schemars",
]
serde = [
    "dep:serde",
    "uuid/serde",
    "chrono/serde",
]
test = []
utoipa = [
    "dep:utoipa",
    "bollard-next/utoipa",
]