Some checks failed
CI / tests (push) Has been cancelled
Adds an example demonstrating user, comment, and follower relationship including: - User management with profiles - Comments (not really useful, just for showcasing) - Follower/follozing relationships - Ineractive CLI interface with CRUD operations - Database migrations for the example schema
51 lines
1.1 KiB
TOML
51 lines
1.1 KiB
TOML
[workspace]
|
|
members = [
|
|
".",
|
|
"georm-macros",
|
|
"examples/postgres/*"
|
|
]
|
|
|
|
[workspace.package]
|
|
version = "0.1.1"
|
|
edition = "2024"
|
|
authors = ["Lucien Cartier-Tilet <lucien@phundrak.com>"]
|
|
homepage = "https://github.com/Phundrak/georm"
|
|
repository = "https://github.com/Phundrak/georm"
|
|
license = "MIT OR GPL-3.0-or-later"
|
|
keywords = ["sqlx", "orm", "postgres", "postgresql", "database", "async"]
|
|
categories = ["database"]
|
|
|
|
[package]
|
|
name = "georm"
|
|
readme = "README.md"
|
|
description = "Georm, a simple, opiniated SQLx ORM for PostgreSQL"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
homepage.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
version.workspace = true
|
|
|
|
[workspace.dependencies]
|
|
georm-macros = { version = "=0.1.1", path = "georm-macros" }
|
|
|
|
[workspace.dependencies.sqlx]
|
|
version = "0.8.6"
|
|
default-features = false
|
|
features = ["postgres", "runtime-tokio", "macros", "migrate"]
|
|
|
|
[dependencies]
|
|
sqlx = { workspace = true }
|
|
georm-macros = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
rand = "0.9"
|
|
|
|
[workspace.lints.rust]
|
|
unsafe_code = "forbid"
|
|
|
|
[workspace.lints.clippy]
|
|
all = "deny"
|
|
pendantic = "deny"
|
|
nursery = "deny"
|