cnb 0.2.0

CNB (cnb.cool) API client for Rust — typed, async, production-ready
Documentation
# 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"
rust-version = "1.75"
name = "cnb"
version = "0.2.0"
build = false
include = [
    "src/**/*",
    "Cargo.toml",
    "README.md",
    "CHANGELOG.md",
    "LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CNB (cnb.cool) API client for Rust — typed, async, production-ready"
homepage = "https://cnb.cool/aodoo/tools/rust-cnb"
documentation = "https://docs.rs/cnb"
readme = "README.md"
keywords = [
    "cnb",
    "api",
    "client",
    "sdk",
    "openapi",
]
categories = [
    "api-bindings",
    "web-programming::http-client",
]
license = "MIT"
repository = "https://cnb.cool/aodoo/tools/rust-cnb.git"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
activities = []
ai = []
all-resources = [
    "activities",
    "ai",
    "artifactory",
    "assets",
    "badge",
    "build",
    "charge",
    "event",
    "followers",
    "git",
    "git_settings",
    "issues",
    "knowledge_base",
    "members",
    "missions",
    "organizations",
    "pulls",
    "rank",
    "registries",
    "releases",
    "repo_code_issue",
    "repo_contributor",
    "repo_labels",
    "repositories",
    "search",
    "security",
    "starring",
    "users",
    "wiki",
    "workspace",
]
artifactory = []
assets = []
badge = []
build = []
charge = []
default = [
    "rustls-tls",
    "retry",
    "all-resources",
]
event = []
followers = []
git = []
git_settings = []
issues = []
knowledge_base = []
members = []
missions = []
native-tls = ["reqwest/native-tls"]
organizations = []
pulls = []
rank = []
registries = []
releases = []
repo_code_issue = []
repo_contributor = []
repo_labels = []
repositories = []
retry = []
rustls-tls = ["reqwest/rustls-tls"]
search = []
security = []
starring = []
stream = [
    "dep:futures",
    "dep:async-stream",
]
tracing = ["dep:tracing"]
users = []
wiki = []
workspace = []

[lib]
name = "cnb"
path = "src/lib.rs"

[dependencies.async-stream]
version = "0.3"
optional = true

[dependencies.futures]
version = "0.3"
features = ["std"]
optional = true
default-features = false

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "charset",
    "http2",
]
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
version = "1"
features = ["time"]
default-features = false

[dependencies.tracing]
version = "0.1"
optional = true

[dependencies.url]
version = "2"

[dev-dependencies.futures]
version = "0.3"

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
]

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
    "fmt",
    "env-filter",
]

[dev-dependencies.wiremock]
version = "0.6"