Ctrl K
ComunidadGuías…

Cargo.toml

Rama main · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
[workspace]
members = ["cli", "worker", "crates/runtime"]
resolver = "2"

[workspace.package]
repository = "https://github.com/peterpeterparker/kyushu"

[workspace.dependencies]
rquickjs = { version = "0.12.2", features = ["macro", "futures", "std", "bindgen", "loader"] }
wit-bindgen-p3 = { package = "wit-bindgen", version = "0.62.0", default-features = false, features = [
  "async",
  "async-spawn",
  "macros",
  "inter-task-wakeup",
] }

# wstd is pinned in runtime source
wstd = "=0.6.5"

[profile.release]
# removes unused code at link time
lto = "thin"

[profile.release.package.kyushu-worker]
# optimize for size rather than speed
opt-level = "s"

[profile.release.package.kyushu-runtime]
opt-level = "s"

# the profile that 'dist' will build with
[profile.dist]
inherits = "release"

# required for the runtime
[patch.crates-io]
rusqlite = { git = "https://github.com/golemcloud/rusqlite", branch = "v0.38.0-patched" }
libsqlite3-sys = { git = "https://github.com/golemcloud/rusqlite", branch = "v0.38.0-patched" }
golem-websocket = { git = "https://github.com/golemcloud/wasm-rquickjs", branch = "wasi-p3" }