* Exclude the clipboard feature for docs.rs builds
The 0.27.0 docs.rs build failed as the `xcb` crate build.rs failed in
the docs.rs sandbox.
Exclude the clipboard feature for now and only enable:
- `bashisms`
- `external_printer`
- `sqlite` (should be pretty similar to `sqlite-dynlib`)
* Fix hyperlink formatting
* Manually mention required features
* Make history-related items (de-)serializable
* Fix: remove duplicate derive
* Fix: deserialization bound on generic type parameter
* Comment on the custom deserialize_with attribute
Inspired by https://github.com/nushell/nushell/pull/11180
Make sure you can see all available types/symbols on docs.rs
(e.g. `SqliteBackedHistory`)
In a second step we should take care of annotating feature gated stuff
correctly
- `strum`/`strum_macros` enables upgrade to `syn 2.0`
- `pretty-assertions` gets rid of `ctor` and other outdated dev-deps
- `rstest` also helps with `syn` but introduces `regex` dev-dep
* Split the main example binary into examples
Separate fully featured demo from keybinding listing and event listener
Allows to make `gethostname` dev-dependency
* Clippy fix in examples
Addresses #320, #236
* Adding External printer
* Made ExternalPrinter as an optional feature. Clippy is happy, test pass, docs added.
* ExternalPrinter: prints multiple messages if available, more on error-handling.
* Bug(s) fixed. Prints messages. Working example in examples folder. Code formatted, clippyed, tests pass.
* Generic ExternalPrinter<T> where T: Display.
* Fixed: Works with buffers larger than a line.
* Fixed: Works with buffers larger than a line, refactored.
* Different approach, seems to look like what is expected. Gives the "illusion" of one line being entered. Needs more testing, could have some off by one errors ;)
Co-authored-by: Gregor Engberding <gregor@meinkopter.de>
`rstest = 0.12` added support for asynchronous timeouts during testing
thus requiring a larger set of dependencies. Since `rstest = 0.14` this
can be disabled if not used.
Should keep build times for local or CI tests in check.