[package] name = "roftl" version = "0.1.0" edition = "2018" [features] default = ["x11"] # TODO ui module should be independent of windowing framework if possible, still xcb feature is apparently used in cairo # which is used in ui to paint to the window surface x11 = ["dep:xcb", "dep:xcb-wm", "cairo-rs/xcb", "cairo-sys-rs/xcb", "xcb-wm?/ewmh", "xcb-wm?/icccm"] [dependencies] # globally useful dependencies log = "0.4" env_logger = "0.9" rayon = "1.5" anyhow = "1.0" serde = { version = "1.0", features = ["derive"] } # read and parse configuration config = "0.13" # dependencies for building the `window` surface winit = { git = "https://github.com/rust-windowing/winit" } ## `window` dependencies specific for x11. Only enabled if compiled with `x11` feature on [default] xcb = { version = "1.1.1", optional = true } xcb-wm = { git = "https://github.com/arminfriedl/xcb-wm", optional = true, features=["icccm", "ewmh"] } # dependencies for drawing on the `window` surface (`ui` module) cairo-rs = "0.15.11" cairo-sys-rs = "0.15.1" pangocairo = "0.15" # matcher fuzzy-matcher = "0.3" fuse-rust = "0.3" flx-rs = "0.1" # sources walkdir = "2.3" freedesktop_entry_parser = "1.2" nix = "0.24"