refactor: convert to Cargo workspace, move gtklock crate
Replaces the single-crate Cargo.toml with a workspace containing ahfail-gtklock (migrated from root src/) and three stub crates (ahfail-ui, ahfail-pam, ahfail-display). Updates meson.build to build with -p ahfail-gtklock. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
31
Cargo.toml
31
Cargo.toml
@@ -1,23 +1,8 @@
|
||||
[package]
|
||||
name = "ahfail"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
name = "ahfail_module"
|
||||
crate-type = ["staticlib", "rlib"]
|
||||
|
||||
[dependencies]
|
||||
gtk = { version = "0.15", package = "gtk", features = ["v3_24"] }
|
||||
gdk = { version = "0.15", package = "gdk", features = ["v3_24"] }
|
||||
gstreamer = { version = "0.18", package = "gstreamer", features = ["v1_18"] }
|
||||
gstreamer-player = { version = "0.18", package = "gstreamer-player" }
|
||||
glib = { version = "0.15", package = "glib" }
|
||||
gio = { version = "0.15", package = "gio" }
|
||||
gdk-pixbuf = "0.15"
|
||||
libc = "0.2"
|
||||
once_cell = "1.10"
|
||||
rand = "0.8"
|
||||
|
||||
[build-dependencies]
|
||||
pkg-config = "0.3"
|
||||
[workspace]
|
||||
members = [
|
||||
"crates/ahfail-ui",
|
||||
"crates/ahfail-gtklock",
|
||||
"crates/ahfail-pam",
|
||||
"crates/ahfail-display",
|
||||
]
|
||||
resolver = "2"
|
||||
|
||||
Reference in New Issue
Block a user