2021-11-16 09:36:54 -07:00
|
|
|
[package]
|
|
|
|
|
name = "libcosmic"
|
|
|
|
|
version = "0.1.0"
|
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
|
|
[dependencies]
|
2022-01-19 10:19:56 -05:00
|
|
|
cascade = "1.0.0"
|
2022-01-24 12:31:45 -08:00
|
|
|
derivative = { version = "2", optional = true }
|
2022-08-16 12:32:21 -04:00
|
|
|
gtk4 = { git = "https://github.com/gtk-rs/gtk4-rs", features = ["v4_6"] }
|
|
|
|
|
adw = { git = "https://gitlab.gnome.org/World/Rust/libadwaita-rs", package = "libadwaita"}
|
|
|
|
|
adw-user-colors-lib = { git = "https://github.com/pop-os/user-color-editor" }
|
2022-06-27 16:41:27 -07:00
|
|
|
gdk4-wayland = { git = "https://github.com/gtk-rs/gtk4-rs", features = ["wayland_crate"], optional = true }
|
2022-08-16 12:32:21 -04:00
|
|
|
gdk4-x11 = { git = "https://github.com/gtk-rs/gtk4-rs", features = ["xlib"], optional = true }
|
|
|
|
|
x11 = { version = "2.19.1", features = ["xlib"], optional = true }
|
|
|
|
|
gobject-sys = { git = "https://github.com/gtk-rs/gtk-rs-core", optional = true }
|
2022-01-19 10:19:56 -05:00
|
|
|
wayland-client = { version = "0.29.4", optional = true }
|
2022-02-24 14:03:01 -05:00
|
|
|
wayland-protocols = { version = "0.29.4", features = ["client", "unstable_protocols"], optional = true }
|
2022-08-16 12:32:21 -04:00
|
|
|
once_cell = "1.13.0"
|
|
|
|
|
libcosmic-widgets = { path = "widgets", optional = true }
|
|
|
|
|
xdg = "2.4.1"
|
2021-12-21 14:51:57 -05:00
|
|
|
|
2022-01-05 13:28:49 -08:00
|
|
|
[features]
|
2022-08-16 12:32:21 -04:00
|
|
|
default = ["layer-shell", "x", "widgets"]
|
|
|
|
|
layer-shell = ["derivative", "gdk4-wayland", "wayland-client", "wayland-protocols", "gobject-sys"]
|
|
|
|
|
x = ["x11", "gdk4-x11"]
|
|
|
|
|
widgets = ["libcosmic-widgets"]
|
2022-02-24 14:03:01 -05:00
|
|
|
|
|
|
|
|
[workspace]
|
|
|
|
|
members = ["widgets"]
|