-
Notifications
You must be signed in to change notification settings - Fork 7
/
Cargo.toml
83 lines (70 loc) · 2.83 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
[package]
name = "canyon_sql"
version.workspace = true
edition.workspace = true
authors.workspace = true
documentation.workspace = true
homepage.workspace = true
readme.workspace = true
license.workspace = true
description.workspace = true
[workspace]
members = [
"canyon_connection",
"canyon_crud",
"canyon_entities",
"canyon_migrations",
"canyon_macros",
"tests"
]
[dependencies]
# Project crates
canyon_connection = { workspace = true, path = "canyon_connection" }
canyon_crud = { workspace = true, path = "canyon_crud" }
canyon_entities = { workspace = true, path = "canyon_entities" }
canyon_migrations = { workspace = true, path = "canyon_migrations", optional = true }
canyon_macros = { workspace = true, path = "canyon_macros" }
# To be marked as opt deps
tokio-postgres = { workspace = true, optional = true }
tiberius = { workspace = true, optional = true }
mysql_async = { workspace = true, optional = true }
mysql_common = { workspace = true, optional = true }
[workspace.dependencies]
canyon_crud = { version = "0.5.0", path = "canyon_crud" }
canyon_connection = { version = "0.5.0", path = "canyon_connection" }
canyon_entities = { version = "0.5.0", path = "canyon_entities" }
canyon_migrations = { version = "0.5.0", path = "canyon_migrations"}
canyon_macros = { version = "0.5.0", path = "canyon_macros" }
tokio = { version = "1.27.0", features = ["full"] }
tokio-util = { version = "0.7.4", features = ["compat"] }
tokio-postgres = { version = "0.7.2", features = ["with-chrono-0_4"] }
tiberius = { version = "0.12.1", features = ["tds73", "chrono", "integrated-auth-gssapi"] }
mysql_async = { version = "0.32.2" }
mysql_common = { version = "0.30.6", features = [ "chrono" ]}
chrono = { version = "0.4", features = ["serde"] } # Just from TP better?
serde = { version = "1.0.138", features = ["derive"] }
futures = "0.3.25"
indexmap = "1.9.1"
async-std = "1.12.0"
lazy_static = "1.4.0"
toml = "0.7.3"
async-trait = "0.1.68"
walkdir = "2.3.3"
regex = "1.9.3"
partialdebug = "0.2.0"
quote = "1.0.9"
proc-macro2 = "1.0.27"
[workspace.package]
version = "0.5.0"
edition = "2021"
authors = ["Alex Vergara<[email protected]>, Gonzalo Busto Musi<[email protected]>"]
documentation = "https://zerodaycode.github.io/canyon-book/"
homepage = "https://github.com/zerodaycode/Canyon-SQL"
readme = "README.md"
license = "MIT"
description = "A Rust ORM and QueryBuilder"
[features]
postgres = ["tokio-postgres", "canyon_connection/postgres", "canyon_crud/postgres", "canyon_migrations/postgres", "canyon_macros/postgres"]
mssql = ["tiberius", "canyon_connection/mssql", "canyon_crud/mssql", "canyon_migrations/mssql", "canyon_macros/mssql"]
mysql = ["mysql_async", "mysql_common", "canyon_connection/mysql", "canyon_crud/mysql", "canyon_migrations/mysql", "canyon_macros/mysql"]
migrations = ["canyon_migrations", "canyon_macros/migrations"]