Difference between revisions of "Rust"

m (Doc Hub -> Bookshelf (official name))
(Update kdev-cargo repo link)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
[[File:Rust-logo-512x512-blk.png|thumbnail|right|The Rust Programming Language logo]]
 
[[File:Rust-logo-512x512-blk.png|thumbnail|right|The Rust Programming Language logo]]
 
= Rust in KDE =
 
= Rust in KDE =
 +
 +
== Communication ==
 +
Telegram: https://t.me/kderust
 +
 +
IRC: #kde-rust on Freenode
 +
 
== KDE projects that use Rust ==
 
== KDE projects that use Rust ==
  
Line 16: Line 22:
 
To use Rust code from Qt and QML code
 
To use Rust code from Qt and QML code
  
Repo: https://cgit.kde.org/rust-qt-binding-generator.git/about/
+
Repo: https://invent.kde.org/sdk/rust-qt-binding-generator
  
 
==== Kate LSP Plugin ====
 
==== Kate LSP Plugin ====
Line 23: Line 29:
 
Repo: https://invent.kde.org/kde/kate/-/tree/master/addons%2Flspclient
 
Repo: https://invent.kde.org/kde/kate/-/tree/master/addons%2Flspclient
  
==== KDevelop Rust Language Support Plugin ====
+
==== KDevelop Rust Language Support Plugin (unmaintained) ====
 
To work on Rust code & projects in KDevelop.
 
To work on Rust code & projects in KDevelop.
  
Repo: https://cgit.kde.org/kdev-rust.git/about/
+
Repo: https://invent.kde.org/unmaintained/kdev-rust
  
==== KDevelop Cargo Support Plugin ====
+
==== KDevelop Cargo Support Plugin (unmaintained) ====
 
To manage, build and run Rust packages (crates) with Cargo.
 
To manage, build and run Rust packages (crates) with Cargo.
  
Repo: https://cgit.kde.org/kdev-cargo.git/about/
+
Repo: https://invent.kde.org/unmaintained/kdev-cargo
 +
 
 +
== 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 =

Latest revision as of 19:20, 9 September 2020

The Rust Programming Language logo

Rust in KDE

Communication

Telegram: https://t.me/kderust

IRC: #kde-rust on Freenode

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://invent.kde.org/sdk/rust-qt-binding-generator

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 (unmaintained)

To work on Rust code & projects in KDevelop.

Repo: https://invent.kde.org/unmaintained/kdev-rust

KDevelop Cargo Support Plugin (unmaintained)

To manage, build and run Rust packages (crates) with Cargo.

Repo: https://invent.kde.org/unmaintained/kdev-cargo

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

Ferris the crab — Rust mascot

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

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

This page was last edited on 9 September 2020, at 19:20. Content is available under Creative Commons License SA 4.0 unless otherwise noted.