- Breaking change:
.commit()
and.rollback()
now consume the transaction (#62) - Add
RegKey::rename_subkey()
method (#58) - Make serialization modules public (#59)
- Fix UB in
FromRegValue
foru32
andu64
(#61)
- Breaking change: increase MSRV to 1.34
- Fix UB in
FromRegValue
foru32
andu64
(#61)
- Breaking change:
.commit()
and.rollback()
now consume the transaction (#62) - Add
RegKey::rename_subkey()
method (#58) - Make serialization modules public (#59)
- Breaking change: fix
std::fmt::Display
implementation forRegValue
(#52) - Add
RegKey::encode_transacted()
method (pullrequest #55, fixes #54)
- Breaking change:
winapi-rs
is not maintained any more, so migrate to Microsoftswindows-sys
as a backend (#48, #51) - Breaking change: Increase minimum supported Rust version to
1.46
sincewindows-sys
doesn't compile with older versions - Replace deprecated methods from
chrono
(#48)
- Migrate to the 2018 edition of Rust
- Move the code from
lib.rs
to separate files - Use
cfg-if
instead ofbuild.rs
to fail build on non-windows systems - Reimplement deserialization logic, implement [de]serialization for byte arrays (#49)
- Fix some typos and
clippy
warnings
- Bump the minimal required version of
winapi
to0.3.9
(required forload_app_key
) - Reexport
REG_PROCESS_APPKEY
and use it in theload_app_key
example
- Add
RegKey::load_app_key()
andRegKey::load_app_key_with_flags()
(#30) - Update dev dependency
rand
to0.8
- Add Github actions
- Fix some clippy warnings
- Breaking change:
OsStr
andOsString
registry values are notNULL
-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 haveimpl-default
andimpl-debug
features which we use) - Appveyor now checks the crate against
rust-1.31.1
too
- Implement serialization of
char
and maps - Implement
std::fmt::Display
forRegValue
- 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.rs
totests/reg_key.rs
- Breaking change: remove deprecated
Error::description
(#28) - Optimize
Iterator::nth()
for theEnum*
iterators (#29)
- Add
RegKey::delete_subkey_with_flags()
(#27)
- Add
last_write_time
field toRegKeyMetadata
(returned byRegKey::query_info()
) (#25). - Add
get_last_write_time_system()
andget_last_write_time_chrono()
(underchrono
feature) methods toRegKeyMetadata
.
- Breaking change:
create_subkey
,create_subkey_with_flags
,create_subkey_transacted
andcreate_subkey_transacted_with_flags
now return a tuple which contains the subkey and its disposition which can beREG_CREATED_NEW_KEY
orREG_OPENED_EXISTING_KEY
(#21). - Examples fixed to not use
unwrap
according to Rust API guidelines.
- Breaking change:
open_subkey
now opens a key with readonly permissions. Usecreate_subkey
oropen_subkey_with_flags
to open with read-write permissions. - Breaking change: features
transactions
andserialization-serde
are now disabled by default. - Breaking change: serialization now uses
serde
instead ofrustc-serialize
. winapi
updated to0.3
.- Documentation fixes (#14)
- Make transactions and serialization otional features
- Update dependencies + minor fixes (#12)
- Implement
FromRegValue
forOsString
andToRegValue
forOsStr
(#8) - Minor fixes
- Add
copy_tree
method toRegKey
- Now checked with rust-clippy
- no more
unwrap
s - replaced
to_string
withto_owned
- no more
- Fix: reading strings longer than 2048 characters (#6)
- Fix: now able to read values longer than 2048 bytes (#3)
- Fix:
FromRegValue
trait now requiresSized
(fixes build with rust 1.4)
- Fix: bump
winapi
version to fix build
- Add transactions support and make serialization transacted
- Breaking change: use
std::io::{Error,Result}
instead of ownRegError
andRegResult