Skip to main content

cargo_polkajam/
lib.rs

1//! cargo-polkajam: Generate JAM service projects for Polkadot
2//!
3//! This crate provides a cargo subcommand for generating JAM (Join-Accumulate Machine)
4//! service projects for Polkadot. It follows the architecture of cargo-generate while
5//! providing JAM-specific templates and build tooling.
6//!
7//! ## Usage
8//!
9//! ```bash
10//! # Create a new JAM service
11//! cargo polkajam new my-service
12//!
13//! # Build a JAM service for PVM deployment
14//! cargo polkajam build --release
15//! ```
16
17pub mod build;
18pub mod cli;
19pub mod error;
20pub mod project;
21pub mod prompt;
22pub mod template;
23pub mod toolchain;
24
25pub use error::{CargoJamError, Result};