Skip to content

Commit d376773

Browse files
committed
chore: only use mysql when enabled
1 parent 1fb268a commit d376773

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/db/conn.rs

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

0 commit comments

Comments
 (0)