Skip to content

Commit 4241d66

Browse files
committed
chore: v0.2.0
1 parent 968ce86 commit 4241d66

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "drain"
3-
version = "0.1.2"
3+
version = "0.2.0"
44
authors = ["Linkerd Developers <[email protected]>"]
55
license = "Apache-2.0"
66
edition = "2018"
@@ -11,7 +11,8 @@ A crate that supports graceful shutdown
1111
"""
1212

1313
[features]
14-
retain = ["tower"]
14+
default = []
15+
retain = ["dep:tower"]
1516

1617
[dependencies]
1718
tokio = { version = "1", features = ["macros", "sync"] }

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#![deny(warnings, rust_2018_idioms)]
22
#![forbid(unsafe_code)]
33

4-
#[cfg(feature = "tower")]
4+
#[cfg(feature = "retain")]
55
mod retain;
66

7-
#[cfg(feature = "tower")]
7+
#[cfg(feature = "retain")]
88
pub use crate::retain::Retain;
99
use std::future::Future;
1010
use tokio::sync::{mpsc, watch};

0 commit comments

Comments
 (0)