[package]
edition = "2024"
rust-version = "1.85"
name = "jortt"
version = "0.1.0"
authors = ["Floris <floris@xylex.group>"]
build = false
include = [
"src/**/*",
"tests/**/*",
"examples/**/*",
"docs/**/*",
"README.md",
"LICENSE",
"CHANGELOG.md",
"CONTRIBUTING.md",
"SECURITY.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async Rust SDK for the Jortt API with typed modules, hybrid OAuth helpers, and raw operation escape hatch"
homepage = "https://github.com/xylex-group/jortt-rs"
documentation = "https://docs.rs/jortt"
readme = "README.md"
keywords = [
"jortt",
"api",
"sdk",
"accounting",
"oauth2",
]
categories = [
"api-bindings",
"authentication",
"network-programming",
]
license = "MIT"
repository = "https://github.com/xylex-group/jortt-rs"
[features]
default = ["rustls-tls"]
default-tls = ["reqwest/default-tls"]
rustls-tls = ["reqwest/rustls-tls"]
[lib]
name = "jortt"
path = "src/lib.rs"
[[example]]
name = "full_openapi_smoke"
path = "examples/full_openapi_smoke.rs"
[[example]]
name = "oauth_client_credentials"
path = "examples/oauth_client_credentials.rs"
[[example]]
name = "typed_live_workflow"
path = "examples/typed_live_workflow.rs"
[[test]]
name = "client_contract"
path = "tests/client_contract.rs"
[[test]]
name = "e2e_live"
path = "tests/e2e_live.rs"
[[test]]
name = "e2e_mock"
path = "tests/e2e_mock.rs"
[[test]]
name = "operation_inventory"
path = "tests/operation_inventory.rs"
[dependencies.async-trait]
version = "0.1.89"
[dependencies.chrono]
version = "0.4.42"
features = ["serde"]
[dependencies.percent-encoding]
version = "2.3.2"
[dependencies.reqwest]
version = "0.12.24"
features = [
"json",
"gzip",
"brotli",
"deflate",
"http2",
]
default-features = false
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.145"
[dependencies.thiserror]
version = "2.0.17"
[dependencies.tokio]
version = "1.48.0"
features = [
"rt-multi-thread",
"macros",
"time",
]
[dependencies.tracing]
version = "0.1.41"
[dependencies.url]
version = "2.5.7"
[dependencies.uuid]
version = "1.18.1"
features = ["serde"]
[dev-dependencies.httpmock]
version = "0.8.2"
[dev-dependencies.serde_path_to_error]
version = "0.1.20"
[dev-dependencies.tokio]
version = "1.48.0"
features = [
"macros",
"rt-multi-thread",
]