Skip to content

Commit

Permalink
bump version to 1.0.0 for release
Browse files Browse the repository at this point in the history
  • Loading branch information
starkat99 committed Jun 21, 2022
1 parent 10990cc commit 352a269
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,13 @@ 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]

## [1.0.0] - 2022-06-21 <a name="1.0.0"></a>
### Changed
- **Breaking Change** Minimum supported Rust version is now 1.58.
- Added `#[must_use]` attributes to many crate functions, as appropriate.
- Remove `unsafe` qualifiers from `as_mut_ptr` and `as_mut_ptr_range` to match standard library. By
[@yescallop].

### Added
- Added `new` function that creates and empty string to `U16CString` and `U32CString` to match other
Expand Down Expand Up @@ -316,8 +321,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

[@nicbn]: https://github.com/nicbn
[@joshwd36]: https://github.com/joshwb36
[@yescallop]: https://github.com/yescallop

[Unreleased]: https://github.com/starkat99/widestring-rs/compare/v1.0.0-beta.1...HEAD
[Unreleased]: https://github.com/starkat99/widestring-rs/compare/v1.0.0...HEAD
[1.0.0]: https://github.com/starkat99/widestring-rs/compare/v1.0.0-beta.1...v1.0.0
[1.0.0-beta.1]: https://github.com/starkat99/widestring-rs/compare/v0.5.1...v1.0.0-beta.1
[0.5.1]: https://github.com/starkat99/widestring-rs/compare/v0.5.0...v0.5.1
[0.5.0]: https://github.com/starkat99/widestring-rs/compare/v0.4.3...v0.5.0
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "widestring"
# Remember to keep in sync with html_root_url crate attribute
version = "1.0.0-beta.1"
version = "1.0.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"
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ provided, including support for UTF-16 and UTF-32, malformed encoding, C-style s
Macros for converting string literals to UTF-16 and UTF-32 strings at compile time are also
included.

*Requires Rust 1.58 or greater.* If you need support for older versions of Rust, use 0.x versions of
this crate.

## Documentation

- [Crate API Reference](https://docs.rs/widestring/)
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@
future_incompatible
)]
#![cfg_attr(not(feature = "std"), no_std)]
#![doc(html_root_url = "https://docs.rs/widestring/1.0.0-beta.1")]
#![doc(html_root_url = "https://docs.rs/widestring/1.0.0")]
#![doc(test(attr(deny(warnings), allow(unused))))]
#![cfg_attr(docsrs, feature(doc_cfg))]

Expand Down

0 comments on commit 352a269

Please sign in to comment.