Skip to content

Commit e64cf04

Browse files
committed
Add sqlx-toml feature
1 parent 89a74d0 commit e64cf04

3 files changed

Lines changed: 5 additions & 0 deletions

File tree

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ migrate = [
4747
"sqlx-exasol-macros?/migrate",
4848
]
4949

50+
sqlx-toml = ["sqlx-exasol-impl/sqlx-toml", "sqlx-exasol-macros?/sqlx-toml"]
51+
5052
# Base runtime features without TLS
5153
runtime-async-std = ["sqlx/runtime-async-std"]
5254
runtime-tokio = ["sqlx/runtime-tokio"]
@@ -214,3 +216,4 @@ unused_extern_crates = "warn"
214216
unused_import_braces = "warn"
215217
unused_lifetimes = "warn"
216218
unused_qualifications = "warn"
219+
# Enable parsing of `sqlx.toml` for configuring macros and migrations.

sqlx-exasol-impl/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ authors.workspace = true
1515
any = ["sqlx-core/any"]
1616
migrate = ["sqlx-core/migrate", "dep:dotenvy", "dep:hex"]
1717
macros = ["dep:sqlx-macros-core", "sqlx-macros-core?/macros"]
18+
sqlx-toml = ["sqlx-core/sqlx-toml"]
1819

1920
# Type Integration features
2021
bigdecimal = ["sqlx-core/bigdecimal", "dep:bigdecimal"]

sqlx-exasol-macros/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ proc-macro = true
1818
derive = ["sqlx-macros-core/derive"]
1919
macros = ["sqlx-macros-core/macros", "sqlx-exasol-impl/macros"]
2020
migrate = ["sqlx-macros-core/migrate", "sqlx-exasol-impl/migrate"]
21+
sqlx-toml = ["sqlx-macros-core/sqlx-toml"]
2122

2223
# Types
2324
bigdecimal = ["sqlx-macros-core/bigdecimal", "sqlx-exasol-impl/bigdecimal"]

0 commit comments

Comments
 (0)