- Pin the rust toolchain nightly version used for intralink resolution. This ensures
cargo-rdmedoesn't break on nightly updates.- Added subcommand to install the pinned nightly:
cargo rdme install-rust-toolchain-for-intralinks.
- Added subcommand to install the pinned nightly:
- Migrate to
taiki-e/upload-rust-binary-actionfor release binaries, fixing the macOS build.
- Use rustdoc JSON for intralink resolution. This fixes a bunch of limitation we had with the previous
syn-based engine:- Support relative paths from the crate root (
self::, bare names, multi-level module-relative). - Support all item kinds, including struct/union fields, enum variants, trait items, type aliases, statics, macros, proc-macros, and primitive types (#10, #169).
- Support explicit kind disambiguators (
struct@,fn@,primitive@, ...) and suffix forms (Foo(),Foo!) (#1, #186). - Support intralinks to items in any external crate, including regular dependencies and sibling crates within a workspace (#152, #153).
- Support intralinks through re-exports, including local
pub useand stdlib re-exports likestd::vec::Vec(#5). - Support impl items defined in a module other than the type's defining module (#170).
- Support rustdoc's shortcut link form for intralinks, in backticked (
[`Foo`]), path ([foo::Bar]), and bare-identifier ([Foo]) variants (#7). - Macro-generated items, which the previous walker could not see, are now supported.
- Support relative paths from the crate root (
- Add
--all-features,--features, and--no-default-featuresflags (and matching[intralinks]config keys) to control how rustdoc builds the crate.
- Use
gixinstead ofgit2to avoid overwriting a modifiedREADME.md. - Update dependencies.
- Added the
--manifest-pathcommand line option.
- Relicensed project under the MIT license.
- Update dependencies.
- Use cargo styles for cli help output.
- Update dependencies.
- Another attempt at fixing github build action.
- Update dependencies.
- Fix github build action: we should be back to publishing binaries.
- Update dependencies.
- Fix selection of packages in workspaces when there's a package name conflict with a dependency.
- Update dependencies.
- Update dependencies.
- It turns out we might need the network to get the project metadata. See release notes of version 1.4.1.
- Ask
cargo metadatato not access the network. All the info we need is inCargo.toml. - Update dependencies.
- Support intralinks to methods and other
implitems. - Update dependencies.
- Support intralinks in reference-style links.
- Update dependencies.
- Allow the heading base level to be configurable.
- Update dependencies.
- Support backticked intralinks.
- Print a helpful message when the README is lacking a cargo-rdme marker.
- Update dependencies.
- Update dependencies.
- Do not depend on openssl (which is a transitive dependency of git2). This improves the building speed, but most importantly we don't fail to build if the host system openssl is not supported by rust-openssl.
- Change the status code for the "check mode" (flag
--check):- Exit code
3means the README does not match the documentation. In previous releases the exit code was4. - Exit code
4means warnings were emitted. In previous releases the exit code was3.
- Exit code
- Update dependencies.
- Update dependencies, in particular we are now using clap 4.
- Support these lib crate types:
proc-macro,dylib,staticlib,cdylib, andrlib. - Update dependencies.
- Update dependencies.
- Automatically bump the heading level in the injected rustdoc based on the README current heading level.
- Added option for intralinks to be stripped.
- Base url and version in intralinks urls can now be configured.
- Strip intralinks when we cannot generate a correct link.
- Fix warning and error output when not writing to a tty.
- Fail on
--checkif there were warnings.- Add command line option to not fail on warnigs.
- Add support for intralinks!
- Intralinks are not converted to links to docs.rs in your README file.
- Add support for workspaces.
- Add option to override the README file path (command line flag and configuration file).
- Support code blocks with more than three backticks.
- Use nice color output for errors and warnings.
- Add
rustmarkdown tag to rust code blocks. - Avoid overwriting README files with uncommitted changes.
- Rust code blocks starting with
#are now omitted, just like inrustdoc. - Support default bin entrypoint paths.
- Fix command line parsing bug when cargo-rdme was invoked as a cargo subcommand.
- Initial version.
- Basic README syncronization.
- Command line flags to control line terminator and entrypoint.
- Support for configuration file.
- Allow
cargo rdmeto be used easily integrated with CIs with the--checkcommand line flag.
- Initial release to reserve the crate's name in crates.io.