Skip to content

Commit

Permalink
debouncer: correctly document crossbeam feature
Browse files Browse the repository at this point in the history
  • Loading branch information
0xpr03 committed Sep 4, 2022
1 parent 36d1da5 commit 50a9a68
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

v4 commits split out to branch `v4_maintenance` starting with `4.0.16`

## debouncer-mini 0.2.1 (2022-09-05)

- DOCS: correctly document the `crossbeam` feature [#440]

[#440]: https://github.com/notify-rs/notify/pull/440

## debouncer-mini 0.2.0 (2022-08-30)

Upgrade notify dependency to 5.0.0
Expand Down
2 changes: 1 addition & 1 deletion notify-debouncer-mini/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "notify-debouncer-mini"
version = "0.2.0"
version = "0.2.1"
edition = "2021"
rust-version = "1.56"
description = "notify mini debouncer for events"
Expand Down
7 changes: 4 additions & 3 deletions notify-debouncer-mini/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,11 @@
//!
//! # Features
//!
//! The following feature can be turned on or off.
//! The following crate features can be turned on or off in your cargo dependency config:
//!
//! - `crossbeam-channel` enabled by default, adds DebounceEventHandler support for crossbeam channels.
//! - `serde` enabled serde support for events.
//! - `crossbeam` enabled by default, adds [`DebounceEventHandler`](DebounceEventHandler) support for crossbeam channels.
//! Also enables crossbeam-channel in the re-exported notify. You may want to disable this when using the tokio async runtime.
//! - `serde` enables serde support for events.
#[cfg(feature = "serde")]
use serde::{Deserialize, Serialize};
use std::{
Expand Down

0 comments on commit 50a9a68

Please sign in to comment.