CI / test (push) Failing after 16s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DPL5hiNfjrw2edja7LiRLB
30 lines
1.1 KiB
TOML
30 lines
1.1 KiB
TOML
[package]
|
|
name = "chandra-host"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Runs the chandra compositor wasm component (build/components/compositor.wasm) and gives it the OS surface it imports (wit/host/sys.wit)."
|
|
|
|
[features]
|
|
# Login-session display backend (DRM/KMS + libinput + libseat + xkbcommon). Needs those libraries'
|
|
# development files; build with --no-default-features to leave it out (--drm then reports it).
|
|
default = ["drm"]
|
|
drm = ["dep:cc"]
|
|
|
|
[build-dependencies]
|
|
cc = { version = "1", optional = true }
|
|
|
|
[dependencies]
|
|
ab_glyph = "0.2"
|
|
ab_glyph_rasterizer = "0.1"
|
|
libc = "0.2"
|
|
png = "0.17"
|
|
resvg = { version = "0.50.0", default-features = false }
|
|
wasmtime = { version = "50", default-features = false, features = ["component-model", "cranelift", "runtime", "std"] }
|
|
|
|
[profile.release]
|
|
opt-level = 2
|
|
# Recompile only what changed in this crate (dependencies are unaffected): an edit to main.rs or
|
|
# raster.rs rebuilds in about 3 s instead of 6.5 s. The cold build is dominated by wasmtime and
|
|
# cranelift (about 2 min on 4 cores), which this does not change.
|
|
incremental = true
|