Skip to content

Commit d8fe660

Browse files
committed
ci: fix warnings, check minimal featureset
1 parent 59b1035 commit d8fe660

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

azure-pipelines.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ jobs:
4545
SSL=false COMPRESS=true cargo test
4646
SSL=true COMPRESS=true cargo test
4747
SSL=true COMPRESS=false cargo test --no-default-features --features default-rustls
48+
49+
SSL=true COMPRESS=false cargo check --no-default-features --features minimal
50+
SSL=true COMPRESS=false cargo check --no-default-features --features minimal-rust
4851
env:
4952
RUST_BACKTRACE: 1
5053
DATABASE_URL: mysql://root:[email protected]:3306/mysql

src/conn/pool/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ use std::{
1414
borrow::Borrow,
1515
cmp::Reverse,
1616
collections::VecDeque,
17-
convert::TryFrom,
1817
hash::{Hash, Hasher},
1918
str::FromStr,
2019
sync::{atomic, Arc, Mutex},

src/opts/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ use url::{Host, Url};
2121

2222
use std::{
2323
borrow::Cow,
24-
convert::TryFrom,
2524
fmt, io,
2625
net::{Ipv4Addr, Ipv6Addr},
2726
path::{Path, PathBuf},

src/queryable/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,6 @@ impl Queryable for Transaction<'_> {
587587

588588
#[cfg(test)]
589589
mod tests {
590-
use super::Queryable;
591590
use crate::{error::Result, prelude::*, test_misc::get_opts, Conn};
592591

593592
#[tokio::test]

0 commit comments

Comments
 (0)