Skip to content

0.56.0 (windows-sys)

Latest

Choose a tag to compare

@gentoo90gentoo90 released this 14 Mar 22:11
  • Breaking change: RegValue.bytes is now Cow<[u8]> and not Vec<u8> which introduces a lifetime to the structure (#64).
  • Breaking change: serialization now opens the key with DELETE, KEY_ENUMERATE_SUB_KEYS and KEY_QUERY_VALUE permissions in addition to KEY_CREATE_SUB_KEY and KEY_SET_VALUE used previously. This is required for:
  • New RegKey methods: encode_destructive() and encode_destructive_transacted() that wipe all subkeys/values of a target key before writing to it (#76).
  • New RegKey methods: enum_keys_os_string() and enum_values_os_string() return iterators that use OsString for key/value names (#80).
  • Add consts for predefined registry keys: HKCR, HKCU, HKLM, HKU and HKCC.
  • Implement std traits FromRawHandle, IntoRawHandle and AsRawHandle for Transaction.
  • Set windows-sys version to >=0.59, <=0.61 according to its README recomendation.