File tree Expand file tree Collapse file tree 4 files changed +13
-11
lines changed Expand file tree Collapse file tree 4 files changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -3,10 +3,17 @@ name = "processing"
33version = " 0.1.0"
44edition = " 2024"
55
6+ [lints ]
7+ workspace = true
8+
69[workspace ]
710resolver = " 3"
811members = [" crates/*" ]
912
13+ [workspace .lints .clippy ]
14+ type_complexity = " allow"
15+ too_many_arguments = " allow"
16+
1017[workspace .dependencies ]
1118bevy = { version = " 0.17" , no-default-features = true , features = [
1219 " bevy_render" ,
Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ name = "processing_ffi"
33version = " 0.1.0"
44edition = " 2024"
55
6+ [lints ]
7+ workspace = true
8+
69[lib ]
710name = " processing"
811crate-type = [" cdylib" ]
Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ name = "processing_render"
33version = " 0.1.0"
44edition = " 2024"
55
6+ [lints ]
7+ workspace = true
8+
69[dependencies ]
710bevy = { workspace = true }
811lyon = " 1.0"
Original file line number Diff line number Diff line change @@ -107,17 +107,6 @@ impl CameraProjection for ProcessingProjection {
107107 }
108108}
109109
110- fn app < T > ( cb : impl FnOnce ( & App ) -> Result < T > ) -> Result < T > {
111- let res = APP . with ( |app_cell| {
112- let app_borrow = app_cell. borrow ( ) ;
113- let app = app_borrow
114- . as_ref ( )
115- . ok_or ( error:: ProcessingError :: AppAccess ) ?;
116- cb ( app)
117- } ) ?;
118- Ok ( res)
119- }
120-
121110fn app_mut < T > ( cb : impl FnOnce ( & mut App ) -> Result < T > ) -> Result < T > {
122111 let res = APP . with ( |app_cell| {
123112 let mut app_borrow = app_cell. borrow_mut ( ) ;
You can’t perform that action at this time.
0 commit comments