rusty-man/CHANGELOG.md

65 lines
2.5 KiB
Markdown
Raw Normal View History

2020-07-24 12:16:34 +00:00
<!---
SPDX-FileCopyrightText: 2020 Robin Krahl <robin.krahl@ireas.org>
SPDX-License-Identifier: MIT
-->
2020-07-25 11:24:11 +00:00
# Changelog for rusty-man
## Unreleased
- Add syntax highlighting:
- Add syntax highlighting using `syntect` for code snippets displayed with
the rich text viewer.
- Add the `--no-syntax-highlight` option to disable syntax highlighting.
- Add the `--theme [theme]` option to select the syntax highlighting theme.
- Add support for configuration files:
- Load the `config.toml` file from the config directory according to the XDG
Base Directory Specification `${XDG_CONFIG_HOME}/rusty-man/config.toml`,
where `${XDG_CONFIG_HOME}` defaults to `${HOME}/.config`. The
configuration file can be used to set defaults for the command-line
options.
- Add the `--config-file [file]` option to set a custom configuration file.
- Improve line break rendering when displaying code.
- Add integration test suite.
## v0.1.3 (2020-07-28)
This patch release adds support for documentation generated with Rust 1.45.0
and fixes some minor bugs in the documentation parser. It also adds the
documentation downloaded using rustup to the default sources.
- Use `rustc --print sysroot` to determine the Rust installation directory
instead of always using `/usr`.
- Improve the documentation parser:
- Fix the definition of methods to only contain the actual definition.
- Remove spurious members in module documentation.
- Show the definition for constants and typedefs.
- Fix group and ID for typdef items.
- Extract the description of module items as HTML instead of plain text.
- Sort implementations alphabetically.
- Fix list of methods and trait implementations for Rust 1.45.
## v0.1.2 (2020-07-25)
This patch release adds basic logging output and a new `-e`/`--examples` option
to extract only the examples from the documentation. It also fixes a bug when
displaying the documentation for a function.
- Add basic logging using `env_logger` that can be enabled by setting the
environment variable `RUST_LOG=info`.
- Add `env_logger` dependency in version 0.7.1.
- Add `log` dependency in version 0.4.11.
- Show the definition for global functions.
- Add the `-e`/`--examples` option to only show the examples instead of opening
the full documentation for an item.
2020-07-25 11:24:11 +00:00
## v0.1.1 (2020-07-24)
This patch release fixes some minor issues with the documentation displayed on
crates.io.
2020-07-25 11:24:11 +00:00
## v0.1.0 (2020-07-24)
2020-07-24 12:16:34 +00:00
Initial release with support for directory sources and including viewers for
plain and rich text.