Experimental Integration of Tauri and Verso
Verso is a browser based on the Servo rendering engine written in Rust, designed to simplify its API for ease of use. With the new custom runtime <span>tauri-runtime-verso</span>, developers can easily switch runtimes. The current integration includes features of <span>tauri-cli</span>, supports the React framework, etc., but is not as rich in functionality as the backend in Tauri’s production environment. Future plans include releasing pre-built executables, supporting more features, optimizing initialization scripts, and implementing specific customizations. This project is funded by NLNet.
Original text: https://v2.tauri.app/blog/tauri-verso-integration/
TrouBLE: Implementation of Host Layer for Bluetooth Low Energy (BLE)
TrouBLE is a Bluetooth Low Energy (BLE) host layer implementation written in Rust. Below is a detailed introduction to this repository:
1. Project Overview
TrouBLE is a BLE host implementation for embedded devices, originally based on the <span>bleps</span> project, and has been adapted to work with the types and features of <span>bt-hci</span>, adding support for more BLE specifications such as L2CAP connection-oriented channels. Additionally, this project is inspired by the <span>nrf-softdevice</span> project.
2. Key Concepts
- Host: Part of the Host Controller Interface (HCI). The BLE specification divides the software implementation of BLE into “Controller” (lower layer) and “Host” (upper layer), which communicate via a standardized protocol that can run over different transport layers, such as UART, USB, or custom in-memory IPC implementations. The advantage of this separation is that the host can typically be used with different controller implementations.
3. Hardware Support
TrouBLE can work with any controller that implements the <span>bt-hci</span> features. Currently supported controllers include:
- nRF SoftDevice Controller https://github.com/alexmoon/nrf-sdc
- UART HCI https://docs.zephyrproject.org/latest/samples/bluetooth/hci_uart/README.html
- Raspberry Pi Pico W https://github.com/embassy-rs/embassy/tree/main/cyw43
- Apache NimBLE Controller https://github.com/benbrittain/apache-nimble-sys
- ESP32 https://github.com/esp-rs/esp-hal
4. Current Feature Status
- Peripheral Role: Can broadcast as a peripheral and accept connections.
- Central Role: Can scan for devices and establish connections.
- Basic GATT Server: Supports write, read, and notification functionalities.
- Basic GATT Client: Supports service and characteristic discovery as well as read and write operations.
- L2CAP CoC (Connection-oriented Channel): Supports credit management (for both central and peripheral).
Github repository: https://github.com/embassy-rs/trouble
Baker: A Project Scaffolding Tool
Baker is a command-line tool that helps you quickly set up new projects. It supports hooks written in other languages to automate routine tasks. Baker is written in Rust, and the project repository includes precompiled binaries for major platforms available for download, or it can be installed from package managers of various systems.
Github repository: https://github.com/aliev/baker
—
From the Daily Report Team Yuan YQ
Community Learning and Exchange Platform Subscription:
- Rustcc Forum: Supports RSS
- WeChat Official Account: Rust Language Chinese Community