diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-02-05 17:22:03 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-02-05 17:40:16 +0400 |
| commit | 3789d855886d490052e626c912b6e38dba691c68 (patch) | |
| tree | ede93f1c0932d41f84edc7ad1276c3b5d14686e6 /src/lib.rs | |
| parent | 3a23417e980de908c3183749da9309e9dabc9ece (diff) | |
| download | niri-3789d855886d490052e626c912b6e38dba691c68.tar.gz niri-3789d855886d490052e626c912b6e38dba691c68.tar.bz2 niri-3789d855886d490052e626c912b6e38dba691c68.zip | |
Add lib.rs, become a mixed lib-bin crate
Will be used for visual tests.
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 00000000..6a459378 --- /dev/null +++ b/src/lib.rs @@ -0,0 +1,36 @@ +#[macro_use] +extern crate tracing; + +pub mod animation; +pub mod backend; +pub mod config_error_notification; +pub mod cursor; +#[cfg(feature = "dbus")] +pub mod dbus; +pub mod exit_confirm_dialog; +pub mod frame_clock; +pub mod handlers; +pub mod hotkey_overlay; +pub mod input; +pub mod ipc; +pub mod layout; +pub mod niri; +pub mod protocols; +pub mod render_helpers; +pub mod screenshot_ui; +pub mod utils; +pub mod watcher; + +#[cfg(not(feature = "xdp-gnome-screencast"))] +pub mod dummy_pw_utils; +#[cfg(feature = "xdp-gnome-screencast")] +pub mod pw_utils; + +#[cfg(not(feature = "xdp-gnome-screencast"))] +pub use dummy_pw_utils as pw_utils; + +#[derive(clap::Subcommand)] +pub enum Msg { + /// List connected outputs. + Outputs, +} |
