Jump to content

Rust: Difference between revisions

From KDE Community Wiki
Restructure, add more links
Add media
Line 1: Line 1:
[[File:Rust-logo-512x512-blk.png|thumbnail|right|The Rust Programming Language logo]]
= Rust in KDE =
= Rust in KDE =
== KDE projects that use Rust ==
== KDE projects that use Rust ==
Line 11: Line 12:


== KDE tools for Rust ==
== KDE tools for Rust ==
 
[[File:Rust-kde.png|thumbnail|right|Rust Qt Binding Generator logo]]
==== Rust Qt Binding Generator ====
==== Rust Qt Binding Generator ====
To use Rust code from Qt and QML code
To use Rust code from Qt and QML code
Line 33: Line 34:


= Documentation =
= Documentation =
[[File:Cuddlyferris.png|thumbnail|right|Ferris the crab — Rust mascot]]
==== Rust Documentation Hub ====
==== Rust Documentation Hub ====
Contains multiple knowledge bases, of which the most useful for beginners are probably [https://doc.rust-lang.org/book/ The Book] and [https://doc.rust-lang.org/stable/rust-by-example/ Rust By Example].
Contains multiple knowledge bases, of which the most useful for beginners are probably [https://doc.rust-lang.org/book/ The Book] and [https://doc.rust-lang.org/stable/rust-by-example/ Rust By Example].

Revision as of 17:39, 1 April 2020

The Rust Programming Language logo

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 logo

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/

Documentation

Ferris the crab — Rust mascot

Rust Documentation Hub

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

Useful components for KDE development

C/C++ <-> Rust bridging

  • ritual - crate generator to use C++/Qt libraries from Rust
  • bindgen - Rust binding generator for C libraries
  • cbindgen — C binding generator for Rust crates