From 20fc4b196670c7f218abe87eba0fec43ed5068a6 Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Tue, 25 Feb 2025 18:45:46 +0000 Subject: feature gate sqlx for jid crate --- jid/Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'jid/Cargo.toml') diff --git a/jid/Cargo.toml b/jid/Cargo.toml index 0d817c9..d5983ea 100644 --- a/jid/Cargo.toml +++ b/jid/Cargo.toml @@ -3,5 +3,8 @@ name = "jid" version = "0.1.0" edition = "2021" +[features] +sqlx = ["dep:sqlx"] + [dependencies] -sqlx = { version = "0.8.3", features = ["sqlite"] } +sqlx = { version = "0.8.3", features = ["sqlite"], optional = true } -- cgit