mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-07 08:27:12 +00:00
Move the WorkflowVersion wire type and its structural invariants (file count and size limits, entrypoint presence, unique keys, path collisions, canonical form) into fabro-types, so fabro-api replaces the generated schema type without pulling graph parsing or the template engine into every API consumer. The wire shape is unchanged. fabro-workflow-version keeps the expensive graph/config/template validation behind a ValidatedWorkflowVersion newtype and now owns WorkflowVersionStore: put only accepts validated versions and get still re-validates blobs read from shared storage. fabro-store goes back to being domain-agnostic persistence. Move the static-reference attribute vocabulary (ReferenceKind, AttributeScope, reference_kind_for_attribute) to fabro_types::graph and template-syntax validation to fabro-template, so fabro-graphviz no longer depends on the template engine. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
39 lines
1,013 B
TOML
39 lines
1,013 B
TOML
[package]
|
|
name = "fabro-api"
|
|
edition.workspace = true
|
|
version.workspace = true
|
|
publish = false
|
|
license.workspace = true
|
|
description = "Generated Rust types and HTTP client from the Fabro API OpenAPI spec"
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[lints.clippy]
|
|
# Auto-generated crate; only enforce project-specific lints
|
|
wildcard_imports = "warn"
|
|
|
|
[dependencies]
|
|
chrono = { workspace = true, features = ["serde"] }
|
|
fabro-automation = { path = "../../components/fabro-automation" }
|
|
fabro-config = { path = "../fabro-config" }
|
|
fabro-environment.workspace = true
|
|
fabro-model = { path = "../fabro-model" }
|
|
fabro-types = { path = "../fabro-types" }
|
|
progenitor-client = "0.13"
|
|
regress = "0.10"
|
|
reqwest.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
uuid = { workspace = true, features = ["serde"] }
|
|
|
|
[build-dependencies]
|
|
openapiv3 = "2"
|
|
progenitor = "0.13"
|
|
serde_json = "1"
|
|
serde_yaml = "0.9"
|
|
prettyplease = "0.2"
|
|
syn = "2"
|
|
|
|
[dev-dependencies]
|
|
fabro-types = { path = "../fabro-types", features = ["test-support"] }
|