-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
160 lines (127 loc) · 3.97 KB
/
Cargo.toml
File metadata and controls
160 lines (127 loc) · 3.97 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
[workspace]
resolver = "2"
members = [
# Platform-agnostic traits (abstraction layer)
"crates/ion-traits",
# Core library (shared types, traits, abstractions)
"crates/ion-core",
# Portal implementation (for upstream to xdg-desktop-portal-cosmic)
"crates/ion-portal",
# Standalone portal service (Phase 1: COSMIC, evolving to universal)
"crates/ion-portal-service",
# Backend implementations
"crates/ion-backend-cosmic",
"crates/ion-backend-wayland",
# Compositor input injection (for upstream to cosmic-comp)
"crates/ion-compositor",
# Headless test substrate (CI/agent-friendly validation)
"crates/ion-test-substrate",
# Development/testing tools
"crates/portal-test-client",
# Deployment tool (pure Rust)
"crates/ion-deploy",
# AI-first validation framework
"crates/ion-validation",
]
[workspace.package]
version = "0.1.0"
edition = "2021"
rust-version = "1.75"
license = "AGPL-3.0-or-later WITH System76-exception"
authors = ["DataScienceBioLab <contact@datasciencebiolab.dev>"]
repository = "https://github.com/DataScienceBioLab/ionChannel"
homepage = "https://github.com/DataScienceBioLab/ionChannel"
description = "Remote desktop portal implementation for COSMIC/Wayland"
keywords = ["wayland", "remote-desktop", "cosmic", "portal", "rdp"]
categories = ["os::linux-apis", "network-programming"]
[workspace.dependencies]
# === Internal crates ===
ion-traits = { path = "crates/ion-traits" }
ion-core = { path = "crates/ion-core" }
ion-portal = { path = "crates/ion-portal" }
ion-compositor = { path = "crates/ion-compositor" }
# === Async Runtime ===
tokio = { version = "1.40", default-features = false }
futures = "0.3"
# === D-Bus / Portal ===
zbus = "4"
zvariant = "4"
ashpd = "0.9"
# === Serialization ===
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# === Error Handling ===
thiserror = "1.0"
anyhow = "1.0"
# === Logging ===
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# === Utilities ===
bitflags = "2.4"
clap = { version = "4.5", features = ["derive"] }
# === Future: Video/RDP ===
# pipewire = "0.8"
# ironrdp = "0.5"
# ironrdp-server = "0.5"
[workspace.lints.rust]
unsafe_code = "forbid"
missing_docs = "warn"
[workspace.lints.clippy]
# Lint groups with lower priority
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
# Allow common false positives (higher priority overrides groups)
module_name_repetitions = "allow"
must_use_candidate = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
doc_markdown = "allow"
float_cmp = "allow" # Tests use exact float comparisons
struct_excessive_bools = "allow" # Capability structs use bool flags
fn_params_excessive_bools = "allow"
significant_drop_tightening = "allow"
[profile.dev]
opt-level = 0
debug = true
[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1
strip = "symbols"
[profile.bench]
inherits = "release"
debug = true
# Package for examples (workspace root)
[package]
name = "ionChannel-examples"
version.workspace = true
edition.workspace = true
publish = false
[dependencies]
ion-core.workspace = true
ion-portal.workspace = true
ion-compositor.workspace = true
tokio = { workspace = true, features = ["rt-multi-thread", "macros", "time", "sync"] }
tracing.workspace = true
tracing-subscriber.workspace = true
benchscale = { path = "../benchScale", features = ["libvirt"], optional = true }
[dev-dependencies]
criterion = { version = "0.5", features = ["async_tokio"] }
anyhow = "1.0"
benchscale = { path = "../benchScale", features = ["libvirt"] }
[features]
default = []
benchscale = ["dep:benchscale"]
libvirt = ["benchscale", "benchscale/libvirt"]
[[example]]
name = "full_stack_demo"
path = "examples/full_stack_demo.rs"
[[example]]
name = "smithay_integration"
path = "examples/smithay_integration.rs"
[[bench]]
name = "performance"
harness = false
[[bench]]
name = "core_operations"
harness = false