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
198 downloads per month
Used in 3 crates
(via episko_lib)
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
- Anforderungsbewertung
- 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
Documentation Links
Svelte 5
Tauri 2
shadcn-svelte
Dependencies
~3.5MB
~73K SLoC