# 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"
name = "orrery-client"
version = "0.1.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust client SDK for the Orrery BPMN workflow engine"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/orrery-io/orrery"

[features]
default = ["native-tls"]
native-tls = ["reqwest/native-tls"]
rustls = ["reqwest/rustls-tls"]

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

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

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

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

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

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

[dependencies.orrery-types]
version = "0.1.4"

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

[dependencies.serde]
version = "1"

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dev-dependencies.tokio]
version = "1"
features = ["full"]

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