greentic-component 0.4.13

High-level component loader and store for Greentic components
Documentation
[[bin]]
name = "component-doctor"
path = "src/bin/component-doctor.rs"

[[bin]]
name = "component-hash"
path = "src/bin/component-hash.rs"

[[bin]]
name = "component-inspect"
path = "src/bin/component-inspect.rs"

[[bin]]
name = "greentic-component"
path = "src/bin/greentic-component.rs"

[dependencies.anyhow]
version = "1"

[dependencies.blake3]
version = "1"

[dependencies.bytes]
version = "1"

[dependencies.clap]
features = ["derive"]
optional = true
version = "4"

[dependencies.dashmap]
optional = true
version = "6"

[dependencies.directories]
version = "6"

[dependencies.displaydoc]
version = "0.2"

[dependencies.greentic-component-manifest]
version = "0.4"

[dependencies.greentic-types]
version = "0.4"

[dependencies.handlebars]
optional = true
version = "6"

[dependencies.hex]
version = "0.4"

[dependencies.ignore]
version = "0.4"

[dependencies.include_dir]
optional = true
version = "0.7"

[dependencies.jsonschema]
version = "0.37"

[dependencies.miette]
default-features = false
features = ["derive"]
optional = true
version = "7"

[dependencies.oci-distribution]
optional = true
version = "0.11"

[dependencies.once_cell]
version = "1"

[dependencies.pathdiff]
version = "0.2"

[dependencies.regex]
version = "1"

[dependencies.schemars]
optional = true
version = "1"

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

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_with]
version = "3"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.sha2]
version = "0.10"

[dependencies.tempfile]
optional = true
version = "3"

[dependencies.thiserror]
version = "2"

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

[dependencies.tokio]
features = ["macros", "rt-multi-thread", "sync", "fs", "time", "io-util"]
version = "1"

[dependencies.tracing]
version = "0.1"

[dependencies.walkdir]
optional = true
version = "2"

[dependencies.wasm-metadata]
version = "0.243"

[dependencies.wasmparser]
optional = true
version = "0.243"

[dependencies.wit-component]
optional = true
version = "0.243"

[dependencies.wit-parser]
optional = true
version = "0.243"

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

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

[dev-dependencies.greentic-interfaces-guest]
version = "0.4"

[dev-dependencies.insta]
features = ["glob", "json"]
version = "1"

[dev-dependencies.predicates]
version = "3"

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

[dev-dependencies.tokio]
features = ["macros", "rt-multi-thread", "sync", "fs", "time", "io-util"]
version = "1"

[dev-dependencies.wasm-encoder]
version = "0.243"

[[example]]
name = "gen_fixture"
path = "examples/gen_fixture.rs"
required-features = ["abi"]

[features]
abi = ["dep:wit-component", "dep:wit-parser", "dep:wasmparser"]
cli = ["prepare", "dep:clap", "dep:include_dir", "dep:handlebars", "dep:walkdir", "dep:tempfile", "dep:miette"]
default = ["oci", "cli"]
describe = ["abi"]
loader = ["describe"]
oci = ["dep:oci-distribution"]
prepare = ["loader", "dep:dashmap"]
schema = ["dep:schemars"]

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

[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["wasm"]
description = "High-level component loader and store for Greentic components"
documentation = "https://docs.rs/greentic-component"
edition = "2024"
homepage = "https://github.com/greentic-ai/greentic-component"
include = ["Cargo.toml", "assets/**", "examples/**", "schemas/**", "src/**", "tests/**"]
keywords = ["greentic", "component", "wasm"]
license = "MIT"
name = "greentic-component"
readme = false
repository = "https://github.com/greentic-ai/greentic-component"
resolver = "2"
rust-version = "1.89"
version = "0.4.13"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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