Skip to content

Releases: gentoo90/winreg-rs

0.11.0

12 Jun 21:46
Compare
Choose a tag to compare
  • Migrate to the 2018 edition of Rust
  • Move the code from lib.rs to separate files
  • Use cfg-if instead of build.rs to fail build on non-windows systems
  • Reimplement deserialization logic, implement [de]serialization for byte arrays (#49)
  • Fix some typos and clippy warnings

0.10.1

12 Jun 21:46
Compare
Choose a tag to compare
  • Bump the minimal required version of winapi to 0.3.9 (required for load_app_key)
  • Reexport REG_PROCESS_APPKEY and use it in the load_app_key example

0.10.0

12 Jun 21:45
Compare
Choose a tag to compare
  • Add RegKey::load_app_key() and RegKey::load_app_key_with_flags() (#30)
  • Update dev dependency rand to 0.8
  • Add Github actions
  • Fix some clippy warnings

0.9.0

12 Jun 21:45
Compare
Choose a tag to compare
  • Breaking change: OsStr and OsString registry values are not NULL-terminated any more (#34, #42)
  • Refactoring: use macros for ToRegValue impls and tests for string values
  • Fix bare_trait_objects warning in the doctests
  • Add impl ToRegValue for OsString
  • Add conversion between REG_MULTI_SZ and vectors of strings (#16)
  • Fix: set minimal winapi version to 0.3.7 (earlier versions don't have impl-default and impl-debug features which we use)
  • Appveyor now checks the crate against rust-1.31.1 too

0.8.0

12 Jun 21:45
Compare
Choose a tag to compare
  • Implement serialization of char and maps
  • Implement std::fmt::Display for RegValue
  • Make RegKey::{predef,raw_handle,enum_keys,enum_values} functions const
  • Give a better error message when compiling on platforms other than Windows (#38)
  • Tests are moved from src/lib.rs to tests/reg_key.rs

0.7.0

12 Jun 21:45
Compare
Choose a tag to compare
  • Breaking change: remove deprecated Error::description (#28)
  • Optimize Iterator::nth() for the Enum* iterators (#29)

0.6.2

12 Jun 21:45
Compare
Choose a tag to compare
  • Add RegKey::delete_subkey_with_flags() (#27)

0.6.1

12 Jun 21:45
Compare
Choose a tag to compare
  • Add last_write_time field to RegKeyMetadata (returned by RegKey::query_info()) (#25).
  • Add get_last_write_time_system() and get_last_write_time_chrono() (under chrono feature) methods to RegKeyMetadata.

0.6.0

12 Jun 21:45
Compare
Choose a tag to compare
  • Breaking change: create_subkey, create_subkey_with_flags, create_subkey_transacted and
    create_subkey_transacted_with_flags now return a tuple which contains the subkey and its disposition
    which can be REG_CREATED_NEW_KEY or REG_OPENED_EXISTING_KEY (#21).
  • Examples fixed to not use unwrap according to Rust API guidelines.

0.5.1

12 Jun 21:44
Compare
Choose a tag to compare
  • Reexport HKEY (#15).
  • Add raw_handle method (#18).