Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gerust"
version = "0.0.7"
version = "0.0.8"
edition = "2024"
authors = ["Marco Otte-Witte <marco.otte-witte@mainmatter.com>"]
description = "Gerust takes care of the accidental complexity of Rust backend projects so you can stay focused on what matters."
Expand Down
21 changes: 15 additions & 6 deletions blueprint/cli/Cargo.toml.liquid
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "{{project-name}}-cli"
version = "0.0.1"
edition = "2021"
edition = "2024"
publish = false

[lib]
Expand All @@ -12,25 +12,34 @@ doctest = false
[[bin]]
name = "db"
path = "src/bin/db.rs"

{% endif -%}
[[bin]]
name = "generate"
path = "src/bin/generate.rs"

[dependencies]
anyhow = "1"
clap = { version = "4.4", features = ["derive"] }
clap = { version = "4.5", features = ["derive"] }
cruet = "0.15"
guppy = "0.17"
include_dir = "0.7"
liquid = "~0.26"
{{project-name}}-config = { path = "../config" }
{% unless template_type == "minimal" -%}
regex = "1.11"
sqlx = { version = "0.8", features = [ "runtime-tokio", "tls-rustls", "postgres", "macros", "uuid", "migrate", "chrono" ] }
regex = "1.12"
sqlx = { version = "0.8", features = [
"runtime-tokio",
"tls-rustls",
"postgres",
"macros",
"uuid",
"migrate",
"chrono",
] }
url = "2.5"
{%- endunless %}
tokio = { version = "1.34", features = ["full"] }
tokio = { version = "1.48", features = ["full"] }

[dev-dependencies]
insta = "1.38"
insta = "1.43"
2 changes: 1 addition & 1 deletion blueprint/config/Cargo.toml.liquid
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "{{project-name}}-config"
version = "0.0.1"
edition = "2021"
edition = "2024"
publish = false

[lib]
Expand Down
8 changes: 4 additions & 4 deletions blueprint/db/Cargo.toml.liquid
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "{{project-name}}-db"
version = "0.1.0"
edition = "2021"
edition = "2024"
publish = false

[lib]
Expand All @@ -13,12 +13,12 @@ test-helpers = ["dep:fake", "dep:rand", "dep:regex"]

[dependencies]
anyhow = "1.0"
fake = { version = "4.0", features = ["derive"], optional = true }
fake = { version = "4.4", features = ["derive"], optional = true }
{{project-name}}-config = { path = "../config" }
rand = { version = "0.9", optional = true }
regex = { version = "1.10", optional = true }
regex = { version = "1.12", optional = true }
serde = { version = "1.0", features = ["derive"] }
sqlx = { version = "0.8", features = [ "runtime-tokio", "tls-rustls", "postgres", "macros", "uuid", "migrate", "chrono" ] }
thiserror = "2.0"
uuid = { version = "1.5", features = ["serde"] }
uuid = { version = "1.18", features = ["serde"] }
validator = { version = "0.20", features = ["derive"] }
2 changes: 1 addition & 1 deletion blueprint/macros/Cargo.toml.liquid
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "{{project-name}}-macros"
version = "0.0.1"
edition = "2021"
edition = "2024"
publish = false

[lib]
Expand Down
14 changes: 9 additions & 5 deletions blueprint/web/Cargo.toml.liquid
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "{{project-name}}-web"
version = "0.0.1"
edition = "2021"
edition = "2024"
publish = false

[lib]
Expand All @@ -19,18 +19,22 @@ axum = { version = "0.8", features = ["macros"] }
{{project-name}}-db = { path = "../db" }
{%- endunless %}
serde = { version = "1.0", features = ["derive"] }
tokio = { version = "1.34", features = ["full"] }
tokio = { version = "1.48", features = ["full"] }
tower-http = { version = "0.6", features = ["full"] }
tracing = "0.1"
tracing-panic = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "registry", "fmt"] }
tracing-subscriber = { version = "0.3", features = [
"env-filter",
"registry",
"fmt",
] }
{% unless template_type == "minimal" -%}
uuid = { version = "1.6", features = ["serde"] }
uuid = { version = "1.18", features = ["serde"] }
{%- endunless %}
serde_json = { version = "1.0", optional = true }
thiserror = "2.0"
tower = { version = "0.5", features = ["util"], optional = true }
hyper = { version = "1.0", features = ["full"], optional = true }
hyper = { version = "1.7", features = ["full"], optional = true }
{% unless template_type == "minimal" -%}
validator = "0.20"
{%- endunless %}
Expand Down
Loading