Skip to content

Is the feature output or debug un-used? #1107

Closed
@tesuji

Description

@tesuji

output = []

Grepping all feature doesn't show anything about output feature:

% git grep -F -w 'feature' -- '*.rs'
src/cmd/mod.rs:6:#[cfg(feature = "serve")]
src/cmd/mod.rs:9:#[cfg(feature = "watch")]
src/cmd/serve.rs:1:#[cfg(feature = "watch")]
src/cmd/serve.rs:114:    #[cfg(feature = "watch")]
src/config.rs:533:    /// Enable the search feature. Default: `true`.
src/main.rs:40:    #[cfg(feature = "watch")]
src/main.rs:42:    #[cfg(feature = "serve")]
src/main.rs:50:        #[cfg(feature = "watch")]
src/main.rs:52:        #[cfg(feature = "serve")]
src/renderer/html_handlebars/hbs_renderer.rs:104:    #[cfg_attr(feature = "cargo-clippy", allow(clippy::let_and_return))]
src/renderer/html_handlebars/hbs_renderer.rs:368:        #[cfg(feature = "search")]
src/renderer/html_handlebars/hbs_renderer.rs:471:    if cfg!(feature = "search") {
src/renderer/html_handlebars/hbs_renderer.rs:482:             search feature"
src/renderer/html_handlebars/mod.rs:8:#[cfg(feature = "search")]
src/theme/mod.rs:5:#[cfg(feature = "search")]
src/theme/searcher/mod.rs:2://! the "search" cargo feature is disabled.
tests/dummy_book/src/first/nested-test-with-anchors.rs:1:// The next line will cause a `testing` test to fail if the anchor feature is broken in such a way
tests/dummy_book/src/first/nested-test-with-anchors.rs:7:// The next line will cause a `rendered_output` test to fail if the anchor feature is broken in
tests/rendered_output.rs:510:#[cfg(feature = "search")]

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions