Skip to content

Releases: felinira/gvdb-rs

gvdb 0.7.0

12 Jul 23:17
gvdb-0.7.0
Compare
Choose a tag to compare

Added

  • gvdb::gresource::BuilderError::StripPrefix
  • gvdb::gresource::BuilderError::Generic
  • gvdb::gresource::BundleBuilder::from_directory now ignores *.license files as well

Removed

  • gvdb::read::GvdbHashTable::for_bytes (made private)
  • gvdb::read::GvdbHashTable::get_header (made private)
  • gvdb::read::GvdbHashTable::get_hash_item (made private)
  • gvdb::read::GvdbReaderError::InvalidData all instances were replaced with more specific errors as Data(String)
  • gvdb::read::GvdbReaderError::ZVariant all instances were replaced with Data(String)
  • gvdb::gresource::GResourceBuilderError::Generic all instances were replaces with less generic variants

Changed

  • The project and all previous releases are now made available under the MIT OR Apache-2.0 licenses
  • The project is now REUSE compliant
  • Most types have been renamed to remove redundant prefixes and be more consistent with the rest of the Rust ecosystem. The previous names have been added as deprecated type aliases where possible. These aliases will be removed in a future release.
  • gvdb::read types have gained a few lifetimes. As a result, the reader does not have to borrow the data statically anymore.
  • gvdb::read::HashTable is no longer #[repr(C)] (it was added accidentally)
  • gvdb::gresource::GResourceBuilder is renamed to BundleBuilder
  • gvdb::gresource::GResourceFileData is renamed to FileData
  • gvdb::gresource::GResourceXMLDocument is renamed to XmlManifest
  • gvdb::gresource::GResourceBuilderError is renamed to BuilderError and marked non_exhaustive
  • gvdb::gresource::GResourceBuilderResult<T> is renamed to BuilderResult<T>
  • gvdb::gresource::GResourceXMLError is renamed to XmlManifestError and marked non_exhaustive
  • gvdb::gresource::GResourceXMLResult<T> is renamed to XmlManifestResult<T>
  • gvdb::read::GvdbFile is renamed to File
  • gvdb::read::GvdbHashTable is renamed to HashTable
  • gvdb::read::HashTable::get_names is renamed to keys
  • gvdb::read::GvdbReaderError is renamed to Error and marked non_exhaustive
  • gvdb::read::Error::DataError is renamed to Error::Data
  • gvdb::read::Error::KeyError is renamed to Error::KeyNotFound
  • gvdb::read::Error::Utf8 now uses std::str::Utf8Error instead of std::string::FromUtf8Error and is marked non_exhaustive
  • gvdb::read::GvdbReaderResult<T> is renamed to Result<T>
  • gvdb::write::GvdbFileWriter is renamed to FileWriter
  • gvdb::write::GvdbHashTableBuilder is renamed to HashTableBuilder
  • gvdb::write::GvdbWriterError is renamed to Error and marked non_exhaustive
  • gvdb::write::GvdbBuilderResult<T> is renamed to Result<T>

gvdb 0.6.1

25 Feb 00:49
gvdb-0.6.1
Compare
Choose a tag to compare

Changed

  • gvdb: Fix compilation on non-unix platforms

gvdb 0.6.0

25 Feb 00:50
gvdb-0.6.0
Compare
Choose a tag to compare

Changed

  • Upgrade dependencies: zvariant 4.0 and glib 0.19. The MSRV has been increased accordingly.