5.1 KiB
5.1 KiB
Changelog
0.50.0
- Breaking change:
winapi-rsis not maintained any more, so migrate to Microsoftswindows-sysas a backend (#48, #51) - Breaking change: Increase minimum supported Rust version to
1.46sincewindows-sysdoesn't compile with older versions - Replace deprecated methods from
chrono(#48)
0.11.0
- Migrate to the 2018 edition of Rust
- Move the code from
lib.rsto separate files - Use
cfg-ifinstead ofbuild.rsto fail build on non-windows systems - Reimplement deserialization logic, implement [de]serialization for byte arrays (#49)
- Fix some typos and
clippywarnings
0.10.1
- Bump the minimal required version of
winapito0.3.9(required forload_app_key) - Reexport
REG_PROCESS_APPKEYand use it in theload_app_keyexample
0.10.0
- Add
RegKey::load_app_key()andRegKey::load_app_key_with_flags()(#30) - Update dev dependency
randto0.8 - Add Github actions
- Fix some clippy warnings
0.9.0
- Breaking change:
OsStrandOsStringregistry values are notNULL-terminated any more (#34, #42) - Refactoring: use macros for
ToRegValueimpls and tests for string values - Fix
bare_trait_objectswarning in the doctests - Add
impl ToRegValue for OsString - Add conversion between
REG_MULTI_SZand vectors of strings (#16) - Fix: set minimal
winapiversion to 0.3.7 (earlier versions don't haveimpl-defaultandimpl-debugfeatures which we use) - Appveyor now checks the crate against
rust-1.31.1too
0.8.0
- Implement serialization of
charand maps - Implement
std::fmt::DisplayforRegValue - Make
RegKey::{predef,raw_handle,enum_keys,enum_values}functionsconst - Give a better error message when compiling on platforms other than Windows (#38)
- Tests are moved from
src/lib.rstotests/reg_key.rs
0.7.0
- Breaking change: remove deprecated
Error::description(#28) - Optimize
Iterator::nth()for theEnum*iterators (#29)
0.6.2
- Add
RegKey::delete_subkey_with_flags()(#27)
0.6.1
- Add
last_write_timefield toRegKeyMetadata(returned byRegKey::query_info()) (#25). - Add
get_last_write_time_system()andget_last_write_time_chrono()(underchronofeature) methods toRegKeyMetadata.
0.6.0
- Breaking change:
create_subkey,create_subkey_with_flags,create_subkey_transactedandcreate_subkey_transacted_with_flagsnow return a tuple which contains the subkey and its disposition which can beREG_CREATED_NEW_KEYorREG_OPENED_EXISTING_KEY(#21). - Examples fixed to not use
unwrapaccording to Rust API guidelines.
0.5.1
0.5.0
- Breaking change:
open_subkeynow opens a key with readonly permissions. Usecreate_subkeyoropen_subkey_with_flagsto open with read-write permissions. - Breaking change: features
transactionsandserialization-serdeare now disabled by default. - Breaking change: serialization now uses
serdeinstead ofrustc-serialize. winapiupdated to0.3.- Documentation fixes (#14)
0.4.0
- Make transactions and serialization otional features
- Update dependencies + minor fixes (#12)
0.3.5
- Implement
FromRegValueforOsStringandToRegValueforOsStr(#8) - Minor fixes
0.3.4
- Add
copy_treemethod toRegKey - Now checked with rust-clippy
- no more
unwraps - replaced
to_stringwithto_owned
- no more
- Fix: reading strings longer than 2048 characters (#6)
0.3.3
- Fix: now able to read values longer than 2048 bytes (#3)
0.3.2
- Fix:
FromRegValuetrait now requiresSized(fixes build with rust 1.4)
0.3.1
- Fix: bump
winapiversion to fix build
0.3.0
- Add transactions support and make serialization transacted
- Breaking change: use
std::io::{Error,Result}instead of ownRegErrorandRegResult