diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..c1dbe09 --- /dev/null +++ b/Cargo.toml @@ -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" diff --git a/outlay-core/Cargo.toml b/outlay-core/Cargo.toml new file mode 100644 index 0000000..c935977 --- /dev/null +++ b/outlay-core/Cargo.toml @@ -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" diff --git a/outlay-core/src/backup.rs b/outlay-core/src/backup.rs new file mode 100644 index 0000000..e69de29 diff --git a/outlay-core/src/db.rs b/outlay-core/src/db.rs new file mode 100644 index 0000000..e69de29 diff --git a/outlay-core/src/exchange.rs b/outlay-core/src/exchange.rs new file mode 100644 index 0000000..e69de29 diff --git a/outlay-core/src/export_csv.rs b/outlay-core/src/export_csv.rs new file mode 100644 index 0000000..e69de29 diff --git a/outlay-core/src/export_json.rs b/outlay-core/src/export_json.rs new file mode 100644 index 0000000..e69de29 diff --git a/outlay-core/src/export_pdf.rs b/outlay-core/src/export_pdf.rs new file mode 100644 index 0000000..e69de29 diff --git a/outlay-core/src/lib.rs b/outlay-core/src/lib.rs new file mode 100644 index 0000000..995fe45 --- /dev/null +++ b/outlay-core/src/lib.rs @@ -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; diff --git a/outlay-core/src/models.rs b/outlay-core/src/models.rs new file mode 100644 index 0000000..e69de29 diff --git a/outlay-core/src/recurring.rs b/outlay-core/src/recurring.rs new file mode 100644 index 0000000..e69de29 diff --git a/outlay-gtk/Cargo.toml b/outlay-gtk/Cargo.toml new file mode 100644 index 0000000..233af0e --- /dev/null +++ b/outlay-gtk/Cargo.toml @@ -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"] } diff --git a/outlay-gtk/src/main.rs b/outlay-gtk/src/main.rs new file mode 100644 index 0000000..5eda94d --- /dev/null +++ b/outlay-gtk/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Outlay starting..."); +}