5 stable releases

Uses new Rust 2024

1.3.1 Apr 2, 2025
1.3.0 Mar 29, 2025
1.2.1 Mar 16, 2025
1.1.0 Feb 15, 2025

#13 in #university

Download history 115/week @ 2025-02-12 12/week @ 2025-02-19 8/week @ 2025-02-26 224/week @ 2025-03-12 50/week @ 2025-03-19 121/week @ 2025-03-26 158/week @ 2025-04-02 8/week @ 2025-04-09 13/week @ 2025-04-16 6/week @ 2025-04-23

198 downloads per month
Used in 3 crates (via episko_lib)

GPL-3.0-or-later

11KB
188 lines

This crate contains the derive Macros for the DatabaseObject trait from episko_lib.

Example

#[derive(DatabaseObject)]
#[db(table = "ExampleProperty")] // Required!
struct ExampleProperty {
    #[db(col = "id")] // Column with name "id" is required
    id: i32,
    #[db(col = "name")] // Any other columns are optional
    name: String,
    #[db(col = "version")]
    version: Option<String>
}

// Implementations for DatabaseObject will now be generated according
// to the specified attributes.

Episko

Dependencies for Rust recommendations

  • serde (serde_toml)
  • thiserror (errorhandling)
  • sqlx (database)

Inkrement/Arbeitspaket Dokumente

  • Inkrementübersicht
    • Wer macht was?
    • "Tracing"
  • Arbeitspaketdokumente
    • Anforderungsbewertung
      • Bewertung von relevanten Requirements
    • Designpaper
      • Ziele aufstellen, wie werden diese umgesetzt?
    • Entwicklerdoku
  • Inkrementreview

Workflows

  • Inkrement startet

    • Branches für Arbeitspakete "feat/..."
    • PullRequest Draft auf Alpha
  • Commits auf Arbeitspaket branches

  • Inkrement ende

    • Falls mit Code aus vergangenem Inkrement keine Fehler
    • alpha -> beta
  • Review

    • Falls zufrieden: Merge mit alpha
    • Falls unzufrieden: Nächstes Inkrement
  • Wenn Basis Produkt steht: "Release" durch beta -> main

GitHook for Conventional commits

execute ./init.sh to activate

Svelte 5

https://svelte.dev/docs

Tauri 2

https://tauri.app/start/

shadcn-svelte

https://next.shadcn-svelte.com/

Dependencies

~3.5MB
~73K SLoC