[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