Rust: Difference between revisions
Appearance
m Doc Hub -> Bookshelf (official name) |
→Rust in KDE: add ideas t |
||
Line 32: | Line 32: | ||
Repo: https://cgit.kde.org/kdev-cargo.git/about/ | Repo: https://cgit.kde.org/kdev-cargo.git/about/ | ||
== Ideas to use Rust == | |||
Dbus daemons that could be implemented in Rust and are self-contained : | |||
* solid | |||
* baloo | |||
* kioslave | |||
* Core of of Gui application in Qt | |||
= Documentation = | = Documentation = |
Revision as of 19:05, 9 September 2020
Rust in KDE
KDE projects that use Rust
Ikona — an icon preview utility for KDE Plasma
Repo: https://invent.kde.org/kde/ikona
ActivityDesk — a Qt/KDE-centric ActivityPub (Mastodon) client
Repo: https://invent.kde.org/jalcine/activitydesk
KDE tools for Rust
Rust Qt Binding Generator
To use Rust code from Qt and QML code
Repo: https://cgit.kde.org/rust-qt-binding-generator.git/about/
Kate LSP Plugin
Rust Language Server can be used in Kate via the LSP plugin.
Repo: https://invent.kde.org/kde/kate/-/tree/master/addons%2Flspclient
KDevelop Rust Language Support Plugin
To work on Rust code & projects in KDevelop.
Repo: https://cgit.kde.org/kdev-rust.git/about/
KDevelop Cargo Support Plugin
To manage, build and run Rust packages (crates) with Cargo.
Repo: https://cgit.kde.org/kdev-cargo.git/about/
Ideas to use Rust
Dbus daemons that could be implemented in Rust and are self-contained :
- solid
- baloo
- kioslave
- Core of of Gui application in Qt
Documentation
Rust Bookshelf
Contains multiple knowledge bases, of which the most useful for beginners are probably The Book and Rust By Example.
Link: https://doc.rust-lang.org/
Tutorials and guides
- YouCodeThings — short video tutorials about programming in Rust
- Using Rust Code in a C/C++ Project with CMake
- Rust for C++ programmers
- Rust Breakdown Notes
- A Guide to Porting C/C++ to Rust
- bindgen docs
- Using unsafe for Fun and Profit — tutorial for CMake-based Qt GUI using Rust library for the business logic
- Writing an OS in Rust — a series of tutorials about "close to the metal" programming in Rust