greentic-types 0.4.21

Shared primitives for Greentic: TenantCtx, InvocationEnvelope, NodeError, ids.
Documentation
[[bin]]
name = "export-schemas"
path = "bin/export-schemas.rs"
required-features = ["schema"]

[dependencies.anyhow]
version = "1"

[dependencies.chrono]
default-features = false
features = ["alloc", "serde"]
version = "0.4"

[dependencies.ciborium]
version = "0.2"

[dependencies.fnv]
default-features = false
version = "1"

[dependencies.greentic-telemetry]
optional = true
version = "0.4"

[dependencies.greentic-types-macros]
optional = true
version = "0.4"

[dependencies.indexmap]
default-features = false
features = ["serde"]
version = "2"

[dependencies.opentelemetry-otlp]
optional = true
version = "0.31"

[dependencies.schemars]
features = ["derive", "chrono04"]
optional = true
version = "1"

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

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

[dependencies.serde_json]
default-features = false
features = ["alloc"]
version = "1"

[dependencies.serde_with]
default-features = false
features = ["macros", "base64"]
optional = true
version = "3"

[dependencies.thiserror]
version = "2"

[dependencies.time]
features = ["formatting", "macros", "parsing", "serde"]
optional = true
version = "0.3"

[dependencies.tokio]
features = ["macros", "rt", "rt-multi-thread"]
optional = true
version = "1"

[dependencies.tracing]
optional = true
version = "0.1"

[dependencies.tracing-subscriber]
default-features = false
features = ["registry", "std"]
optional = true
version = "0.3"

[dependencies.uuid]
features = ["v4", "serde"]
optional = true
version = "1"

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

[dev-dependencies.schemars]
features = ["derive", "chrono04"]
version = "1"

[dev-dependencies.serde_yaml_bw]
version = "2"

[features]
default = ["std", "serde", "time", "otel-keys"]
otel-keys = []
schema = ["schemars", "std"]
schemars = ["dep:schemars", "serde"]
serde = ["dep:serde", "dep:serde_with"]
std = []
telemetry-autoinit = ["std", "dep:greentic-telemetry", "dep:tracing", "dep:tracing-subscriber", "dep:opentelemetry-otlp", "dep:tokio", "dep:greentic-types-macros"]
time = ["dep:time"]
uuid = ["dep:uuid"]

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

[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["data-structures", "config"]
description = "Shared primitives for Greentic: TenantCtx, InvocationEnvelope, NodeError, ids."
edition = "2024"
keywords = ["greentic", "tenant", "ctx", "envelope", "wasm"]
license = "MIT"
name = "greentic-types"
readme = "README.md"
repository = "https://github.com/greentic-ai/greentic-types"
rust-version = "1.85"
version = "0.4.21"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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