Skip to content

Kataglyphis/Kataglyphis-RustProjectTemplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

93 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

logo

πŸ¦€ Kataglyphis-RustProjectTemplate πŸ¦€

Collecting Rust best practices.

Rust workflow on Ubuntu-24.04 (x86_64/ARM) Rust workflow on Windows 2025

For official docs follow this link.

Donate Twitter

Table of Contents

About The Project

This project is about collecting experience in Rust.

Key Features

  • Features are to be adjusted to your own project needs.
Category Feature Implement Status
Packaging agnostic Binary only deployment βœ”οΈ
Lore ipsum βœ”οΈ
Lore ipsum agnostic
LORE IPSUM βœ”οΈ
Advanced unit testing πŸ”Ά
Advanced performance testing πŸ”Ά
Advanced fuzz testing πŸ”Ά

Legend:

  • βœ”οΈ - completed
  • πŸ”Ά - in progress
  • ❌ - not started

Dependencies

This enumeration also includes submodules.

If you just want the newest versions allowed by your current constraints (updates Cargo.lock only):

Update all: cargo update

Update versions in Cargo.toml cargo install cargo-edit cargo upgrade --dry-run --verbose cargo upgrade --incompatible

Useful tools

Getting Started

Prerequisites

Installation

  1. Clone the repo
    git clone --recurse-submodules git@github.com:Kataglyphis/Kataglyphis-RustProjectTemplate.git

Tests

Run

cargo run -- read --path ../README.md

Windows

cargo run --features gui_windows -- gui --backend dx12

# Vulkan backend
cargo run --features gui_windows -- gui --backend vulkan

# Auto-select (wgpu PRIMARY)
cargo run --features gui_windows -- gui --backend primary

Linux

# WGPU (recommended)
cargo run --features gui_linux -- gui --backend vulkan

# GTK demo
cargo run --features gui_unix -- gui

Docs

cargo doc --open

Updates

How to update all installed packages:

  1. Install updater:

    cargo install cargo-update

  2. Now update all packages:

    cargo install-update -a

Cameras

sudo v4l2-ctl --list-formats-ext -d /dev/video0
gst-launch-1.0 v4l2src device=/dev/video0 ! videoconvert ! autovideosink
gst-launch-1.0 videotestsrc ! video/x-raw,width=640,height=480,framerate=30/1 ! autovideosink

Roadmap

Upcoming :)

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Contact

Jonas Heinle - @Cataglyphis_ - jonasheinle@googlemail.com

Project Link: https://github.com/Kataglyphis/...

Acknowledgements

Literature

Some very helpful literature, tutorials, etc.

About

πŸ¦€ My collecrion of various best practices and how to's for Rust πŸ¦€

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages