-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
58 lines (45 loc) · 1.54 KB
/
Cargo.toml
File metadata and controls
58 lines (45 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[package]
name = "kagami"
version = "0.1.0"
edition = "2024"
build = "build.rs"
[lib]
name = "wayland_compositor"
path = "src/lib.rs"
[[bin]]
name = "compositor"
path = "src/compositor/main.rs"
required-features = ["wayland-host"]
[[bin]]
name = "test-client"
path = "examples/test_client.rs"
required-features = ["wayland-host"]
[[example]]
name = "test_client"
path = "examples/test_client.rs"
required-features = ["wayland-host"]
[[bin]]
name = "kagamid"
path = "src/kagamid/main.rs"
required-features = ["mochios"]
[dependencies]
tokio = { version = "1", features = ["full"], optional = true }
async-trait = { version = "0.1", optional = true }
log = { version = "0.4", optional = true }
env_logger = { version = "0.11.10", optional = true }
thiserror = { version = "2.0.18", optional = true }
[dev-dependencies]
[features]
default = ["wayland-host", "backend-linux-fb"]
wayland-host = ["dep:tokio", "dep:async-trait", "dep:log", "dep:env_logger", "dep:thiserror"]
mochios = []
backend-linux-fb = [] # Linux フレームバッファドライバ
backend-mochios-vga = ["mochios"] # mochiOS VGA/VRAM 向け
backend-mochios-vga-hosted = ["backend-mochios-vga", "viewkit/hosted-vga"] # Linuxホストで hosted-vga を使う
backend-generic-memory = [] # 汎用メモリバッファ
backend-custom = [] # カスタムバックエンド用(デフォルトパニック)
debug-logging = []
performance-metrics = []
[build-dependencies]
[target.'cfg(all(target_os = "linux", target_env = "musl"))'.dependencies]
viewkit = { path = "../ViewKit" }