[package]
edition = "2024"
rust-version = "1.95"
name = "tripo-api"
version = "0.1.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unofficial async Rust client for the Tripo 3D Generation API"
homepage = "https://github.com/pavlov-net/tripo3d-rs"
readme = "README.md"
keywords = [
"tripo",
"3d",
"api",
"sdk",
"async",
]
categories = [
"api-bindings",
"asynchronous",
]
license = "MIT"
repository = "https://github.com/pavlov-net/tripo3d-rs"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = []
schemars = ["dep:schemars"]
[lib]
name = "tripo_api"
path = "src/lib.rs"
[[test]]
name = "client_http"
path = "tests/client_http.rs"
[[test]]
name = "polling"
path = "tests/polling.rs"
[[test]]
name = "retry"
path = "tests/retry.rs"
[[test]]
name = "schemas"
path = "tests/schemas.rs"
[[test]]
name = "wire_format"
path = "tests/wire_format.rs"
[dependencies.bytes]
version = "1"
[dependencies.futures]
version = "0.3"
[dependencies.reqwest]
version = "0.13"
features = [
"rustls",
"gzip",
"brotli",
"json",
"multipart",
"stream",
"http2",
]
default-features = false
[dependencies.schemars]
version = "1"
features = [
"uuid1",
"url2",
]
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"fs",
"signal",
"time",
]
[dependencies.tracing]
version = "0.1"
[dependencies.url]
version = "2"
features = ["serde"]
[dependencies.uuid]
version = "1"
features = [
"v4",
"serde",
]
[dev-dependencies.insta]
version = "1"
features = ["json"]
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"fs",
"signal",
"time",
"rt-multi-thread",
"macros",
"test-util",
]
[dev-dependencies.tokio-test]
version = "0.4"
[dev-dependencies.wiremock]
version = "0.6"
[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"