diff --git a/Cargo.lock b/Cargo.lock index 5a721f5e..67b8688c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2108,7 +2108,7 @@ dependencies = [ [[package]] name = "rex-app" -version = "0.2.6" +version = "0.2.7" dependencies = [ "anyhow", "chrono", @@ -2123,7 +2123,7 @@ dependencies = [ [[package]] name = "rex-db" -version = "0.2.6" +version = "0.2.7" dependencies = [ "anyhow", "chrono", @@ -2137,14 +2137,14 @@ dependencies = [ [[package]] name = "rex-shared" -version = "0.2.6" +version = "0.2.7" dependencies = [ "chrono", ] [[package]] name = "rex-tui" -version = "0.2.6" +version = "0.2.7" dependencies = [ "anyhow", "atty", diff --git a/Cargo.toml b/Cargo.toml index 4124d41c..827156e8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,24 +4,28 @@ members = ["app", "db", "shared", "tui"] resolver = "2" [workspace.dependencies] -rex-shared = "0.2.6" -rex-db = "0.2.6" -rex-app = "0.2.6" +anyhow = "1.0.102" chrono = "0.4.44" -diesel = { version = "2.3.7", default-features = false, features = [ +diesel = { + version = "2.3.7", + default-features = false, + features = [ + "chrono", "returning_clauses_for_sqlite_3_35", "sqlite", - "chrono", -] } -anyhow = "1.0.102" -strum = "0.28" + ] +} +rex-app = "0.2.7" +rex-db = "0.2.7" +rex-shared = "0.2.7" +strum = "0.28.0" strum_macros = "0.28" +[patch.crates-io] +rex-app = { path = "app" } +rex-db = { path = "db" } +rex-shared = { path = "shared" } + # The profile that 'cargo dist' will build with [profile.dist] inherits = "release" - -[patch.crates-io] -rex-shared = { path = "shared" } -rex-db = { path = "db" } -rex-app = { path = "app" } diff --git a/app/Cargo.toml b/app/Cargo.toml index 76fbe5dc..537fe36c 100644 --- a/app/Cargo.toml +++ b/app/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rex-app" -version = "0.2.6" +version = "0.2.7" edition = "2024" description = """ Core functionality for Rex @@ -10,14 +10,14 @@ repository = "https://github.com/TheRustyPickle/Rex" license = "MIT" [dependencies] -rex-db.workspace = true -rex-shared.workspace = true -chrono.workspace = true anyhow.workspace = true +chrono.workspace = true diesel.workspace = true +rex-db.workspace = true +rex-shared.workspace = true +strsim = "0.11.1" strum.workspace = true strum_macros.workspace = true -strsim = "0.11.1" thiserror = "2.0.17" [lints.clippy] diff --git a/db/Cargo.toml b/db/Cargo.toml index 8d10e7a4..a69e6cb1 100644 --- a/db/Cargo.toml +++ b/db/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rex-db" -version = "0.2.6" +version = "0.2.7" edition = "2024" description = """ Rex database models using diesel @@ -10,11 +10,11 @@ repository = "https://github.com/TheRustyPickle/Rex" license = "MIT" [dependencies] -rex-shared.workspace = true -diesel.workspace = true -chrono.workspace = true anyhow.workspace = true -strum.workspace = true -strum_macros.workspace = true +chrono.workspace = true +diesel.workspace = true diesel_migrations = "2.3.1" libsqlite3-sys = { version = "0.35.0", features = ["bundled"] } +rex-shared.workspace = true +strum.workspace = true +strum_macros.workspace = true diff --git a/dist-workspace.toml b/dist-workspace.toml index 3c13e557..5427dc6f 100644 --- a/dist-workspace.toml +++ b/dist-workspace.toml @@ -11,10 +11,10 @@ ci = "github" installers = [] # Target platforms to build apps for (Rust target-triple syntax) targets = [ - "aarch64-apple-darwin", - "x86_64-apple-darwin", - "x86_64-unknown-linux-gnu", - "x86_64-pc-windows-msvc", + "aarch64-apple-darwin", + "x86_64-apple-darwin", + "x86_64-unknown-linux-gnu", + "x86_64-pc-windows-msvc", ] # Whether dist should create a Github Release or use an existing draft create-release = false diff --git a/shared/Cargo.toml b/shared/Cargo.toml index 080054e3..2a0773ff 100644 --- a/shared/Cargo.toml +++ b/shared/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rex-shared" -version = "0.2.6" +version = "0.2.7" edition = "2024" description = """ Shared code for Rex @@ -11,4 +11,3 @@ license = "MIT" [dependencies] chrono.workspace = true - diff --git a/tui/Cargo.toml b/tui/Cargo.toml index 217119f8..e8fa1020 100644 --- a/tui/Cargo.toml +++ b/tui/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rex-tui" -version = "0.2.6" +version = "0.2.7" edition = "2024" description = """ A TUI app for managing Incomes and Expenses