runpod-sdk 0.3.0

Unofficial Rust SDK for RunPod: deploy and scale GPU workloads with serverless endpoints and on-demand pods
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.89"
name = "runpod-sdk"
version = "0.3.0"
authors = [
    "Ernestas Poškus <ernestas.poskus@gmail.com>",
    "Oleh Martsokha <o.martsokha@gmail.com> (Original author)",
    "Patrick Barker <https://github.com/pbarker> (Original author)",
]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unofficial Rust SDK for RunPod: deploy and scale GPU workloads with serverless endpoints and on-demand pods"
homepage = "https://github.com/ernestas-poskus/runpod"
documentation = "https://docs.rs/runpod-sdk"
readme = "README.md"
license = "MIT"
repository = "https://github.com/ernestas-poskus/runpod"

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

[features]
default = [
    "rustls-tls",
    "strum",
]
native-tls = ["reqwest/native-tls"]
rustls-tls = ["reqwest/rustls-tls"]
serverless = [
    "dep:serde_json",
    "dep:pin-project-lite",
]
strum = ["dep:strum"]
tracing = ["dep:tracing"]

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

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

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

[[example]]
name = "run_endpoint"
path = "examples/run_endpoint.rs"
required-features = ["serverless"]

[dependencies.derive_builder]
version = "0.20"
features = []

[dependencies.pin-project-lite]
version = "0.2"
optional = true

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

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

[dependencies.serde_json]
version = "1.0"
features = []
optional = true

[dependencies.strum]
version = "0.27"
features = ["derive"]
optional = true

[dependencies.thiserror]
version = "2.0"
features = []

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

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