Skip to content

Commit

Permalink
bump version to 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
starkat99 committed Oct 12, 2021
1 parent b5e3d87 commit 5d5259d
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.5.0] - 2020-10-12 <a name="0.5.0"></a>
### Changed
- **Breaking Change** Renamed a number of types and functions to increase consistency and clarity.
This also meant renaming errors to more clearly convey error and trying to be more consistent with
Expand Down Expand Up @@ -199,7 +201,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
[@nicbn]: https://github.com/nicbn
[@joshwd36]: https://github.com/joshwb36

[Unreleased]: https://github.com/starkat99/widestring-rs/compare/v0.4.3...HEAD
[Unreleased]: https://github.com/starkat99/widestring-rs/compare/v0.5.0...HEAD
[0.5.0]: https://github.com/starkat99/widestring-rs/compare/v0.4.3...v0.5.0
[0.4.3]: https://github.com/starkat99/widestring-rs/compare/v0.4.2...v0.4.3
[0.4.2]: https://github.com/starkat99/widestring-rs/compare/v0.4.1...v0.4.2
[0.4.1]: https://github.com/starkat99/widestring-rs/compare/v0.4.0...v0.4.1
Expand Down
12 changes: 4 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,24 +1,20 @@
[package]
name = "widestring"
# Remember to keep in sync with html_root_url crate attribute
version = "0.5.0-dev"
authors = ["Kathryn Long <[email protected]>"]
description = "A wide string FFI library for converting to and from wide strings, such as those often used in Windows API or other FFI libraries. Both UTF-16 and UTF-32 types are provided."
version = "0.5.0"
description = "A wide string Rust library for converting to and from wide strings, such as those often used in Windows API or other FFI libaries. Both `u16` and `u32` string types are provided, including support for UTF-16 and UTF-32, malformed encoding, C-style strings, etc."
repository = "https://github.com/starkat99/widestring-rs"
readme = "README.md"
keywords = ["wide", "string", "win32", "utf-16", "utf-32"]
categories = ["text-processing", "encoding"]
categories = ["text-processing", "encoding", "development-tools::ffi", "no-std"]
license = "MIT OR Apache-2.0"
edition = "2018"
exclude = [".git*"]
exclude = [".git*", ".editorconfig"]

[features]
default = ["std"]
std = ["alloc"]
alloc = []

[badges]
maintenance = { status = "passively-maintained" }

[dev-dependencies]
winapi = { version = "0.3", features = ["winbase"] }
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# widestring
[![Crates.io](https://img.shields.io/crates/v/widestring.svg)](https://crates.io/crates/widestring/) [![Documentation](https://docs.rs/widestring/badge.svg)](https://docs.rs/widestring/) ![Crates.io](https://img.shields.io/crates/l/widestring) [![Build status](https://github.com/starkat99/widestring-rs/actions/workflows/rust.yml/badge.svg?branch=master)](https://github.com/starkat99/widestring-rs/actions/workflows/rust.yml)

A wide string Rust FFI library for converting to and from wide strings, such as
those often used in Windows API or other FFI libaries. Both UTF-16 and UTF-32 types are provided, including support for malformed encoding.
A wide string Rust library for converting to and from wide strings, such as
those often used in Windows API or other FFI libaries. Both `u16` and `u32` string types are
provided, including support for UTF-16 and UTF-32, malformed encoding, C-style strings, etc.

## Documentation

Expand All @@ -14,7 +15,7 @@ those often used in Windows API or other FFI libaries. Both UTF-16 and UTF-32 ty
- **`alloc`** - Enabled by default. Enable use of the [`alloc`](https://doc.rust-lang.org/alloc/)
crate when not using the `std` library.

This enables the `U16String`, `U32String`, `U16CString`, `U32CString` types and alises.
This enables the `U16String`, `U32String`, `U16CString`, `U32CString` types and aliases.

- **`std`** - Enabled by default. Enable features that depend on the Rust `std` library, including
everything in the `alloc` feature.
Expand All @@ -39,4 +40,4 @@ history.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the
work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any
additional terms or conditions.
additional terms or conditions.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@
future_incompatible
)]
#![cfg_attr(not(feature = "std"), no_std)]
#![doc(html_root_url = "https://docs.rs/widestring/")]
#![doc(html_root_url = "https://docs.rs/widestring/0.5.0/")]
#![doc(test(attr(deny(warnings), allow(unused))))]
#![cfg_attr(docsrs, feature(doc_cfg))]

Expand Down

0 comments on commit 5d5259d

Please sign in to comment.