netbox 0.3.1

ergonomic rust client for NetBox 4.x REST API
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 = "2024"
rust-version = "1.85"
name = "netbox"
version = "0.3.1"
authors = ["cyber witchery labs"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ergonomic rust client for NetBox 4.x REST API"
homepage = "https://github.com/cyberwitchery/netbox.rs"
documentation = "https://docs.rs/netbox"
readme = "README.md"
keywords = [
    "netbox",
    "api",
    "dcim",
    "ipam",
    "network",
]
categories = [
    "api-bindings",
    "network-programming",
]
license = "MIT"
repository = "https://github.com/cyberwitchery/netbox.rs"
resolver = "2"

[package.metadata.docs.rs]
all-features = true

[features]
default = []

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

[[example]]
name = "create_config_context"
path = "examples/create_config_context.rs"

[[example]]
name = "create_tag"
path = "examples/create_tag.rs"

[[example]]
name = "graphql_query"
path = "examples/graphql_query.rs"

[[example]]
name = "list_tenants"
path = "examples/list_tenants.rs"

[[example]]
name = "status"
path = "examples/status.rs"

[[test]]
name = "smoke_local"
path = "tests/smoke_local.rs"

[dependencies.netbox-openapi]
version = "0.3.1"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
default-features = false

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_urlencoded]
version = "0.7"

[dependencies.thiserror]
version = "1.0"

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

[dependencies.url]
version = "2.5"

[dev-dependencies.httpmock]
version = "0.7"

[dev-dependencies.proptest]
version = "1.5"

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