Skip to content

Commit

Permalink
Merge pull request #667 from gwenn/no-default-features
Browse files Browse the repository at this point in the history
Fix cargo test --no-default-features
  • Loading branch information
gwenn authored Jan 16, 2023
2 parents c54601d + b6bb000 commit 7409208
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
12 changes: 12 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,18 @@ with-sqlite-history = ["rusqlite"]
with-fuzzy = ["skim"]
case_insensitive_history_search = ["regex"]

[[example]]
name = "custom_key_bindings"
required-features = ["custom-bindings"]
[[example]]
name = "example"
required-features = ["custom-bindings"]
[[example]]
name = "input_multiline"
required-features = ["custom-bindings"]
[[example]]
name = "numeric_input"
required-features = ["custom-bindings"]
[[example]]
name = "sqlite_history"
required-features = ["with-sqlite-history"]
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ fn main() -> Result<()> {
}
}
#[cfg(feature = "with-file-history")]
rl.save_history("history.txt")
rl.save_history("history.txt");
Ok(())
}
```

Expand Down

0 comments on commit 7409208

Please sign in to comment.