Skip to content

Release 0.12.0

Compare
Choose a tag to compare
@fnichol fnichol released this 12 Sep 23:21
· 21 commits to main since this release

0.12.0 - 2021-09-12

Breaking Change Upgrade Note For Library Users

Due to the collapsing of a library crate and a binary/CLI crate into one
crate, there is now a Cargo feature called "application" which is included
in the default features. This allows for a clean cargo install names,
resulting in a compilation and installation of the names CLI without any
further options or flags. When using names as a library crate however, it is
advised to now add default-features = false to the crate dependency in
Cargo.toml. For example:

[dependencies]
names = { version = "0.12.0", default-features = false }

This will exclude the clap crate when being used in library/crate mode.

Changed

  • (breaking): collapse library and binary into 1 dual-purpose crate which
    enables cargo install names to install the binary CLI
  • (breaking): upgrade minimum supported Rust version to 1.46.0
  • upgrade to rand 0.8.4
  • upgrade to clap 3.0.0-beta.2
  • update codebase to Rust 2018 edition and idioms

Added

  • cross platform matrix testing
  • binary artifacts on each release for Linux, macOS, Windows, & FreeBSD systems
  • nightly releases