Some checks failed
CI / Linux x86_64 (Forgejo) (push) Failing after 2s
The SDK is product-scoped (Ch∆In's module SDK), not a generic vendor crate — a future Brain SDK would collide. Crate + macros renamed to chain-module-sdk[-macros]; repo + dir follow. Signed-off-by: flemming-it <sf@flemming.it>
28 lines
624 B
TOML
28 lines
624 B
TOML
# Standalone example — NOT a workspace member.
|
|
#
|
|
# Build with:
|
|
# cd examples/echo
|
|
# cargo build --release --target wasm32-wasip2
|
|
|
|
[package]
|
|
name = "echo_example"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
license = "Apache-2.0"
|
|
publish = false
|
|
description = "Reference module showing the minimum needed to write an F∆I module with chain-module-sdk."
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[dependencies]
|
|
chain-module-sdk = { path = "../../crates/chain-module-sdk" }
|
|
|
|
[profile.release]
|
|
opt-level = "s"
|
|
lto = true
|
|
codegen-units = 1
|
|
strip = "symbols"
|
|
|
|
[workspace]
|
|
# Empty workspace table so this package is NOT picked up by a parent.
|