mirror of
https://codeberg.org/icewind/nextcloud-config-parser.git
synced 2026-06-03 08:34:13 +02:00
optional redis
This commit is contained in:
parent
06de88ec21
commit
d9d0c397ee
3 changed files with 24 additions and 3 deletions
|
|
@ -9,7 +9,7 @@ repository = "https://github.com/icewind1991/nextcloud-config-parser"
|
|||
documentation = "https://docs.rs/nextcloud-config-parser"
|
||||
|
||||
[dependencies]
|
||||
redis = { version = "0.20" }
|
||||
redis = { version = "0.20", optional = true }
|
||||
thiserror = "1"
|
||||
php-literal-parser = { version = "0.2", default-features = false }
|
||||
sqlx = { version = "0.5", features = ["any", "mysql", "sqlite", "postgres"], optional = true }
|
||||
|
|
@ -18,4 +18,5 @@ sqlx = { version = "0.5", features = ["any", "mysql", "sqlite", "postgres"], opt
|
|||
sqlx = { version = "0.5", features = ["runtime-tokio-rustls", "any", "mysql", "sqlite", "postgres"] }
|
||||
|
||||
[features]
|
||||
db-sqlx = ["sqlx"]
|
||||
db-sqlx = ["sqlx"]
|
||||
redis-connect = ["redis"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue