Skip to content

Commit

Permalink
Cleanup features
Browse files Browse the repository at this point in the history
  • Loading branch information
bash committed Jan 20, 2024
1 parent 2d3c34a commit cb01b77
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ terminal-trx = { git = "https://github.com/bash/terminal-trx" }
windows-sys = { version = "0.52.0", features = ["Win32_System_Threading", "Win32_System_Console", "Win32_Foundation"] }

[features]
__docs = []
__nightly = []
docs = []
__test_readme = []

[package.metadata.docs.rs]
features = ["__docs", "__nightly"]
features = ["docs", "rgb"]
rustdoc-args = ["--cfg", "docsrs"]
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![cfg_attr(feature = "__nightly", feature(doc_cfg, doc_auto_cfg))]
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]

//! Determines the background and foreground color of the terminal
//! using the `OSC 10` and `OSC 11` terminal sequence.
Expand Down Expand Up @@ -107,7 +107,7 @@ use xterm as imp;
#[cfg(not(any(unix, windows)))]
use unsupported as imp;

#[cfg(feature = "__docs")]
#[cfg(feature = "docs")]
#[doc = include_str!("../doc/terminal-survey.md")]
pub mod terminal_survey {}

Expand Down

0 comments on commit cb01b77

Please sign in to comment.