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