-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathCargo.toml
More file actions
29 lines (24 loc) · 756 Bytes
/
Cargo.toml
File metadata and controls
29 lines (24 loc) · 756 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[package]
name = "sqlxinsert"
version = "0.12.0"
authors = ["Filip Bucek <fbucek@invloop.cz>"]
edition = "2024"
license = "MIT"
description = "Sqlx derive macro for simpler inserts"
repository = "https://github.com/fbucek/sqlxinsert"
readme = "README.md"
exclude = [".github/*"]
[lib]
proc-macro = true
[dependencies]
quote = "1.0"
syn = "2.0"
async-trait = "0.1"
sqlx = { version = "0.8", default-features = false, features = ["runtime-tokio"] }
[features]
default = ["sqlite", "postgres"]
sqlite = [ "sqlx/sqlite" ]
postgres = [ "sqlx/postgres" ]
[dev-dependencies]
tokio = { version = "1", features= ["rt-multi-thread", "macros"] }
sqlx = { version = "0.8", default-features = false, features = ["runtime-tokio", "macros", "sqlite", "postgres"] }