Perhaps we'll use relm4 for audio?

This commit is contained in:
Lucy 2022-03-07 15:04:14 -05:00
parent 31bb22f91b
commit 4ad01331e0
No known key found for this signature in database
GPG key ID: EBC517FAD666BBF1
3 changed files with 64 additions and 4 deletions

View file

@ -7,7 +7,8 @@ license = "LGPL-3.0-or-later"
[dependencies]
futures-util = "0.3.21"
gtk4 = "0.4.6"
once_cell = "1.10.0"
relm4-macros = "0.4.2"
tokio = { version = "1.17.0", features = ["full"] }
libcosmic-widgets = { git = "https://github.com/pop-os/libcosmic", branch = "lucy/widgets" }
once_cell = "1.10.0"
pulsectl-rs = "0.3.2"
relm4 = { git = "https://github.com/AaronErhardt/relm4", branch = "new-approach", features = ["macros"] }
tokio = { version = "1.17.0", features = ["full"] }

View file

@ -1,3 +1,13 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
#[macro_use]
extern crate relm4;
use once_cell::sync::Lazy;
use tokio::runtime::Runtime;
static RT: Lazy<Runtime> = Lazy::new(|| Runtime::new().expect("failed to build tokio runtime"));
fn main() {
println!("Hello, world!");
}