feat(host): add typed host capability boundary
Introduce hemx-host with typed capability manifests, calls, events, host-check failures, reusable browser/PWA and native-shell profiles, and a tiny optional browser adapter for haptics/share that returns host events without DOM mutation. req: host/001 req: host/002 req: host/003 req: host/004 req: host/005
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
[package]
|
||||
name = "hemx-host"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
[lib]
|
||||
path = "src/lib.rs"
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = ["serde/std"]
|
||||
|
||||
[dependencies]
|
||||
serde = { version = "1", default-features = false, features = ["alloc", "derive"] }
|
||||
|
||||
[dev-dependencies]
|
||||
hemx-core = { path = "../hemx-core" }
|
||||
Reference in New Issue
Block a user