# 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"
name = "somatize-core"
version = "0.2.39"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core types and traits for the Soma computational graph runtime"
readme = "README.md"
license = "Elastic-2.0"
repository = "https://github.com/manucouto1/soma"
resolver = "2"

[features]
s3 = [
    "dep:rust-s3",
    "dep:tokio",
]
zarr = [
    "dep:object_store",
    "dep:tokio",
    "dep:zstd",
]

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

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

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

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

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

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

[dependencies.object_store]
version = "0.12"
features = ["aws"]
optional = true

[dependencies.rust-s3]
version = "0.35"
features = ["tokio-rustls-tls"]
optional = true
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.somatize-macros]
version = "0.2.39"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["rt"]
optional = true

[dependencies.zstd]
version = "0.13"
optional = true

[dev-dependencies.proptest]
version = "1"
