Compare commits
No commits in common. "1232ac361133d0aa460fc08080142487d6dc063f" and "f11235752b31314f06f982a8282ba5ea471d575d" have entirely different histories.
1232ac3611
...
f11235752b
6 changed files with 2 additions and 21 deletions
|
@ -1,6 +1,6 @@
|
||||||
[configuration]
|
[configuration]
|
||||||
entry_symbol = "gdext_rust_init"
|
entry_symbol = "gdext_rust_init"
|
||||||
compatibility_minimum = 4.2
|
compatibility_minimum = 4.1
|
||||||
reloadable = true
|
reloadable = true
|
||||||
|
|
||||||
[libraries]
|
[libraries]
|
||||||
|
|
10
rust/Cargo.lock
generated
10
rust/Cargo.lock
generated
|
@ -434,21 +434,11 @@ name = "gd-wireportal"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ashpd",
|
"ashpd",
|
||||||
"gdext_coroutines",
|
|
||||||
"godot",
|
"godot",
|
||||||
"godot_tokio",
|
"godot_tokio",
|
||||||
"pipewire",
|
"pipewire",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "gdext_coroutines"
|
|
||||||
version = "0.7.1"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "92b254068dbdb5a5a9d702039f5b741ac9a454617c28f69c5cc6c31792c7d11d"
|
|
||||||
dependencies = [
|
|
||||||
"godot",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "gdextension-api"
|
name = "gdextension-api"
|
||||||
version = "0.2.2"
|
version = "0.2.2"
|
||||||
|
|
|
@ -5,7 +5,6 @@ edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
ashpd = "0.11.0"
|
ashpd = "0.11.0"
|
||||||
gdext_coroutines = "0.7.1"
|
|
||||||
godot = "0.2.4"
|
godot = "0.2.4"
|
||||||
godot_tokio = "0.3.0"
|
godot_tokio = "0.3.0"
|
||||||
pipewire = "0.8.0"
|
pipewire = "0.8.0"
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
[toolchain]
|
|
||||||
channel = "nightly"
|
|
|
@ -1,9 +1,3 @@
|
||||||
#![feature(coroutines)]
|
|
||||||
#![feature(coroutine_trait)]
|
|
||||||
#![feature(stmt_expr_attributes)]
|
|
||||||
#![feature(unboxed_closures)]
|
|
||||||
#![cfg_attr(feature = "async", feature(async_fn_traits))]
|
|
||||||
|
|
||||||
use godot::{classes::Engine, prelude::*};
|
use godot::{classes::Engine, prelude::*};
|
||||||
use godot_tokio::AsyncRuntime;
|
use godot_tokio::AsyncRuntime;
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ use ashpd::desktop::{
|
||||||
};
|
};
|
||||||
use godot::prelude::*;
|
use godot::prelude::*;
|
||||||
use godot_tokio::AsyncRuntime;
|
use godot_tokio::AsyncRuntime;
|
||||||
//use std::thread;
|
use std::thread;
|
||||||
|
|
||||||
#[derive(GodotClass)]
|
#[derive(GodotClass)]
|
||||||
#[class(base=RefCounted)]
|
#[class(base=RefCounted)]
|
||||||
|
|
Loading…
Reference in a new issue