Skip to content

Commit da06e14

Browse files
committed
chore: only use mysql when enabled
1 parent b1b0dc1 commit da06e14

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/database/src/conn.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ pub enum AnyConnection {
4949
/// ```
5050
/// mysql://user:password@localhost:3306/database
5151
/// ```
52+
#[cfg(feature = "mysql")]
5253
Mysql(diesel::MysqlConnection),
5354
/// A connection to a SQLite database.
5455
///

0 commit comments

Comments
 (0)