Skip to content

Conversation

@AlixANNERAUD
Copy link
Contributor

@AlixANNERAUD AlixANNERAUD commented Nov 30, 2025

This pull request removes the usage of the futures crate throughout the codebase, replacing all references and usages with the project's own task module. This affects dependency management, code imports, and all instances where asynchronous blocking was performed. The change streamlines async handling and reduces external dependencies.

Dependency and workspace cleanup:

  • Removed futures from the workspace dependencies, member list, and individual crate Cargo.toml files, including drivers/native, drivers/wasm, modules/abi/context, modules/abi/definitions, modules/bindings/host, and modules/bootsplash. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]

Code refactoring:

  • Replaced all futures::block_on calls with task::block_on in Rust source files, including device operations, window management, file system functions, memory allocation, and bindings. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13]

Minor UI adjustment:

  • Changed KEYBOARD_SIZE_RATIO from 4.0 / 1.0 to 3.0 / 1.0 in executables/shell/graphical/src/layout.rs to adjust keyboard sizing.

@AlixANNERAUD AlixANNERAUD merged commit f11fb9d into main Nov 30, 2025
1 check passed
@AlixANNERAUD AlixANNERAUD deleted the 141-fix-behavior-of-virtualfilesystem-functions-in-blockingnon-async-context branch November 30, 2025 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix behavior of VirtualFileSystem functions in blocking\non-async context

2 participants