mirror of
https://codeberg.org/icewind/nextcloud-config-parser.git
synced 2026-06-03 08:34:13 +02:00
fix without --all-features
This commit is contained in:
parent
2d2fa8a31e
commit
67fb5944ce
2 changed files with 7 additions and 2 deletions
|
|
@ -3,7 +3,7 @@ use crate::RedisConfig;
|
|||
use crate::{Config, Database, DbConnect, DbError, Error, NotAConfigError, PhpParseError, Result};
|
||||
use php_literal_parser::Value;
|
||||
#[cfg(feature = "redis-connect")]
|
||||
use redis::{ConnectionAddr, ConnectionInfo};
|
||||
use redis::{ConnectionAddr, ConnectionInfo, RedisConnectionInfo};
|
||||
use std::collections::HashMap;
|
||||
use std::fs::DirEntry;
|
||||
use std::iter::once;
|
||||
|
|
@ -350,7 +350,6 @@ fn assert_debug_equal<T: Debug>(a: T, b: T) {
|
|||
assert_eq!(format!("{:?}", a), format!("{:?}", b),);
|
||||
}
|
||||
|
||||
use redis::RedisConnectionInfo;
|
||||
#[cfg(test)]
|
||||
#[allow(unused_imports)]
|
||||
use sqlx::{any::AnyConnectOptions, postgres::PgConnectOptions};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue