Skip to content

Commit

Permalink
add sqlm and sqlm-sqlite placeholders
Browse files Browse the repository at this point in the history
  • Loading branch information
rkusa committed Jun 7, 2024
1 parent 60f3873 commit 391dc76
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
resolver = "2"
members = [
"postgres",
"postgres-macros",
"postgres-macros", "sqlite", "sqlm",
]
4 changes: 2 additions & 2 deletions postgres/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "sqlm-postgres"
version = "0.1.0"
edition = "2021"
authors = ["Markus Ast <[email protected]>"]
description = "`sql!` to write compile-time checked database queries similar to how `format!` works"
description = "`sql!` macro to write compile-time checked database queries similar to how `format!` works"
license = "MIT OR Apache-2.0"
repository = "https://github.com/rkusa/sqlm"

Expand All @@ -26,7 +26,7 @@ once_cell = "1.17"
pgvector = { version = "0.3", features = ["postgres"], optional = true }
rustls = { version = "0.23" }
serde_json = { version = "1.0", optional = true }
sqlm-postgres-macros = { path = "../postgres-macros", default-features = false }
sqlm-postgres-macros = { path = "../postgres-macros", version = "0.1", default-features = false }
time = { version = "0.3", optional = true }
tokio-postgres = "0.7"
tokio-postgres-rustls = "0.12"
Expand Down
10 changes: 10 additions & 0 deletions sqlite/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[package]
name = "sqlm-sqlite"
version = "0.1.0"
edition = "2021"
authors = ["Markus Ast <[email protected]>"]
description = "reserved"
license = "MIT OR Apache-2.0"
repository = "https://github.com/rkusa/sqlm"

[dependencies]
1 change: 1 addition & 0 deletions sqlite/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

10 changes: 10 additions & 0 deletions sqlm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[package]
name = "sqlm"
version = "0.1.0"
edition = "2021"
authors = ["Markus Ast <[email protected]>"]
description = "reserved"
license = "MIT OR Apache-2.0"
repository = "https://github.com/rkusa/sqlm"

[dependencies]
3 changes: 3 additions & 0 deletions sqlm/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Check out the database-specific crates:

- [`sqlm-posgres`](https://crates.io/crates/sqlm-postgres)
1 change: 1 addition & 0 deletions sqlm/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

0 comments on commit 391dc76

Please sign in to comment.