[package]
name = "componentized-static-config-cli"
version.workspace = true
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/componentized/static-config"
description = "Create custom wasi:config components with static values, from the command line"
include = [
"/src",
"/README.md",
"/NOTICE",
"/LICENSE"
]
[[bin]]
name = "static-config"
path = "src/main.rs"
doc = false
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/static-config-{ target }{ archive-suffix }"
bin-dir = "{ bin }{ binary-ext }"
pkg-fmt = "tgz"
[package.metadata.binstall.overrides.'cfg(windows)']
pkg-fmt = "zip"
[workspace]
members = [
"components/factory",
"crates/componentized-static-config",
"crates/test-harness",
]
[workspace.package]
version = "0.3.0-dev"
[workspace.dependencies]
anyhow = "1"
componentized-static-config = { path = "./crates/componentized-static-config", version = "=0.3.0-dev" }
test-harness = { path = "./crates/test-harness" }
wasmtime = "48"
wit-bindgen = "0.62"
[dependencies]
anyhow = { workspace = true }
clap = { version = "4.6", features = ["derive"] }
componentized-static-config = { workspace = true }
java-properties = "2.0"
[profile.release]
panic = 'abort'
[profile.dev.package."*"]
opt-level = 1
[profile.component]
inherits = "release"
opt-level = "z"
lto = true
codegen-units = 1
strip = true