@@ -48,7 +48,7 @@ authors.workspace = true
48
48
repository.workspace = true
49
49
50
50
[package .metadata .docs .rs ]
51
- features = [" all-databases" , " _unstable-all-types" ]
51
+ features = [" all-databases" , " _unstable-all-types" , " _unstable-doc " ]
52
52
rustdoc-args = [" --cfg" , " docsrs" ]
53
53
54
54
[features ]
@@ -58,9 +58,9 @@ derive = ["sqlx-macros/derive"]
58
58
macros = [" derive" , " sqlx-macros/macros" ]
59
59
migrate = [" sqlx-core/migrate" , " sqlx-macros?/migrate" , " sqlx-mysql?/migrate" , " sqlx-postgres?/migrate" , " sqlx-sqlite?/migrate" ]
60
60
61
- # Enable parsing of `sqlx.toml` for configuring macros, migrations, or both
62
- config-macros = [" sqlx-core /config-macros" ]
63
- config-migrate = [" sqlx-core /config-migrate" ]
61
+ # Enable parsing of `sqlx.toml` for configuring macros, migrations, or both.
62
+ config-macros = [" sqlx-macros? /config-macros" ]
63
+ config-migrate = [" sqlx-macros? /config-migrate" ]
64
64
config-all = [" config-macros" , " config-migrate" ]
65
65
66
66
# intended mainly for CI and docs
@@ -76,6 +76,8 @@ _unstable-all-types = [
76
76
" uuid" ,
77
77
" bit-vec" ,
78
78
]
79
+ # Render documentation that wouldn't otherwise be shown (e.g. `sqlx_core::config`).
80
+ _unstable-doc = [" config-all" ]
79
81
80
82
# Base runtime features without TLS
81
83
runtime-async-std = [" _rt-async-std" , " sqlx-core/_rt-async-std" , " sqlx-macros?/_rt-async-std" ]
0 commit comments