-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathCargo.toml
49 lines (45 loc) · 1.26 KB
/
Cargo.toml
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[package]
name = "dsync"
description = "Generate rust structs & query functions from diesel schema files."
version = "0.1.0"
readme = "README.md"
repository = "https://github.com/Wulf/dsync"
license = "MIT OR Apache-2.0"
keywords = ["diesel", "crud", "database", "codegen", "generation"]
categories = [
"command-line-utilities",
"development-tools",
"development-tools::ffi",
"web-programming",
]
authors = [
"Haris <[email protected]>",
"hasezoey <[email protected]>",
]
edition = "2021"
[features]
default = ["tsync", "backtrace", "derive-queryablebyname"]
# enable support for tsync (https://github.com/Wulf/tsync)
tsync = []
# enable support for diesel_async (https://github.com/weiznich/diesel_async)
async = []
# enable support for backtraces on errors
backtrace = []
# enable derive "QueryableByName"
derive-queryablebyname = []
# enable *experimental* queries
advanced-queries = []
[dependencies]
clap = { version = "4.4", features = ["derive", "wrap_help"] }
clap_complete = "4.4"
syn = { version = "2", features = ["extra-traits", "full"] }
proc-macro2 = "1"
indoc = "2.0.4"
heck = "0.4" # same case converter diesel uses
thiserror = "1.0"
[lib]
path = "src/lib.rs"
[[bin]]
name = "dsync"
test = false
path = "src/bin/main.rs"