Scaffold cargo workspace with core and gtk crates

This commit is contained in:
2026-03-01 23:54:45 +02:00
parent 2b984c3f5d
commit 2ca1f87bf3
13 changed files with 46 additions and 0 deletions

8
Cargo.toml Normal file
View File

@@ -0,0 +1,8 @@
[workspace]
members = ["outlay-core", "outlay-gtk"]
resolver = "2"
[workspace.package]
version = "0.1.0"
edition = "2024"
license = "GPL-3.0-or-later"

16
outlay-core/Cargo.toml Normal file
View File

@@ -0,0 +1,16 @@
[package]
name = "outlay-core"
version.workspace = true
edition.workspace = true
[dependencies]
rusqlite = { version = "0.38", features = ["bundled"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
chrono = { version = "0.4", features = ["serde"] }
csv = "1"
genpdf = "0.2"
reqwest = { version = "0.13", features = ["json"] }
tokio = { version = "1", features = ["rt", "macros"] }
zip = "2"
thiserror = "2"

View File

0
outlay-core/src/db.rs Normal file
View File

View File

View File

View File

View File

8
outlay-core/src/lib.rs Normal file
View File

@@ -0,0 +1,8 @@
pub mod models;
pub mod db;
pub mod exchange;
pub mod export_csv;
pub mod export_json;
pub mod export_pdf;
pub mod backup;
pub mod recurring;

View File

View File

11
outlay-gtk/Cargo.toml Normal file
View File

@@ -0,0 +1,11 @@
[package]
name = "outlay-gtk"
version.workspace = true
edition.workspace = true
[dependencies]
outlay-core = { path = "../outlay-core" }
gtk = { package = "gtk4", version = "0.11" }
adw = { package = "libadwaita", version = "0.9", features = ["v1_8"] }
plotters = { version = "0.3", default-features = false, features = ["bitmap_backend", "bitmap_encoder", "line_series", "area_series"] }
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }

3
outlay-gtk/src/main.rs Normal file
View File

@@ -0,0 +1,3 @@
fn main() {
println!("Outlay starting...");
}