clippy, and don't hash invisible files for ts generation
This commit is contained in:
27 files changed
+173
-936
No files matched your search
@@ -1,13 +1,17 @@
|
||||
use std::{cell::RefCell, rc::Rc};
|
||||
|
||||
use crate::DesktopContext;
|
||||
use futures_util::{FutureExt, StreamExt};
|
||||
use generational_box::Owner;
|
||||
use serde::{de::DeserializeOwned, Deserialize};
|
||||
use serde_json::Value;
|
||||
use slab::Slab;
|
||||
use std::{cell::RefCell, rc::Rc};
|
||||
use thiserror::Error;
|
||||
|
||||
/*
|
||||
todo:
|
||||
- write this in the interpreter itself rather than in blobs of inline javascript...
|
||||
- it could also be simpler, probably?
|
||||
*/
|
||||
const DIOXUS_CODE: &str = r#"
|
||||
let dioxus = {
|
||||
recv: function () {
|
||||
@@ -43,7 +47,6 @@ let dioxus = {
|
||||
}"#;
|
||||
|
||||
/// Tracks what query ids are currently active
|
||||
|
||||
pub(crate) struct SharedSlab<T = ()> {
|
||||
pub slab: Rc<RefCell<Slab<T>>>,
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user