# 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 = "cloacina-python"
version = "0.9.0"
authors = ["Dylan Storey <dylan.storey@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Python runtime + pyo3 bindings for Cloacina. Split out of the main cloacina crate so binaries that don't execute Python don't transitively link pyo3 (CLOACI-T-0529)."
homepage = "https://github.com/colliery-io/cloacina"
documentation = "https://colliery-io.github.io/cloacina/"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/colliery-io/cloacina"

[features]
auth = ["cloacina/auth"]
default = [
    "postgres",
    "sqlite",
    "macros",
]
extension-module = ["pyo3/extension-module"]
kafka = ["cloacina/kafka"]
macros = ["cloacina/macros"]
postgres = ["cloacina/postgres"]
sqlite = ["cloacina/sqlite"]

[lib]
name = "cloacina_python"
crate-type = [
    "lib",
    "cdylib",
]
path = "src/lib.rs"

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

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

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

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

[dependencies.async-trait]
version = "0.1"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.cloacina]
version = "0.9.0"
default-features = false

[dependencies.cloacina-computation-graph]
version = "0.9.0"

[dependencies.cloacina-workflow]
version = "0.9.0"

[dependencies.cloacina-workflow-plugin]
version = "0.9.0"

[dependencies.fidius-core]
version = "0.2.1"

[dependencies.once_cell]
version = "1.19.0"

[dependencies.parking_lot]
version = "0.12"

[dependencies.pyo3]
version = "0.25"
features = ["abi3-py39"]

[dependencies.pythonize]
version = "0.25"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.tempfile]
version = "3.2"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.0"
features = ["full"]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.url]
version = "2.5"

[dependencies.uuid]
version = "1.0"
features = [
    "serde",
    "v4",
    "v5",
]

[dev-dependencies.fidius-core]
version = "0.2.1"

[dev-dependencies.serial_test]
version = "3.2.0"

[dev-dependencies.tempfile]
version = "3.2"

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

[dev-dependencies.uuid]
version = "1.0"
features = ["v4"]

[build-dependencies.cloacina-build]
version = "0.9.0"
