Skip to content
This repository was archived by the owner on Aug 7, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions showcase/crm-helm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
[package]
name = "example-crm-helm-showcase"
version = "0.0.0"
edition = "2024"
publish = false

[[bin]]
name = "crm-helm-showcase"
path = "src/main.rs"

[dependencies]
anyhow.workspace = true
async-trait.workspace = true
chrono.workspace = true
serde.workspace = true
serde_json.workspace = true
tokio.workspace = true
tokio-stream = "0.1"
tracing.workspace = true
tracing-subscriber.workspace = true
uuid.workspace = true

# gRPC / proto
tonic = { version = "0.12", features = ["transport"] }
prost = "0.13"
prost-types = "0.13"

# Axum — not in workspace deps
axum = "0.8"

# Cross-repo: Helms domain crates (no converge-* deps)
application-kernel = { path = "../../../bedrock-platform/helms/crates/application-kernel" }
application-storage = { path = "../../../bedrock-platform/helms/crates/application-storage" }

# Cross-repo: Runtime Runway app host
runway-app-host = { path = "../../../runtime-runway/crates/runway-app-host" }
runway-storage = { path = "../../../runtime-runway/crates/runway-storage" }

[build-dependencies]
tonic-build = "0.12"
27 changes: 27 additions & 0 deletions showcase/crm-helm/build.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/// Proto compilation for the CRM Helm scenario.
///
/// Strategy: proto files are copied into scenarios/crm-helm/proto/ from
/// helms/proto/ rather than referenced by a cross-repo path. This decouples
/// the atelier-showcase workspace from the helms filesystem layout and avoids
/// fragile relative paths that cross workspace roots. The copy-and-own
/// approach is intentional — atelier-showcase is a showcase/demo layer, not
/// a production dependency of helms.
fn main() -> Result<(), Box<dyn std::error::Error>> {
tonic_build::configure()
.build_server(true)
.build_client(false)
.compile_protos(
&[
"proto/prio/common/v1/common.proto",
"proto/prio/parties/v1/parties.proto",
"proto/prio/opportunities/v1/opportunities.proto",
"proto/prio/conversations/v1/conversations.proto",
"proto/prio/documents/v1/documents.proto",
"proto/prio/workflow/v1/workflow.proto",
"proto/prio/facts/v1/facts.proto",
"proto/prio/metadata/v1/metadata.proto",
],
&["proto"],
)?;
Ok(())
}
Loading
Loading