8000 Releases · a1phyr/assets_manager · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Releases: a1phyr/assets_manager

Version 0.12.5

16 Mar 01:24
Compare
Choose a tag to compare
  • Simplify hot-reloading internals.
    In practice, this means that the source given by make_source isn't used anymore
  • Simplify load_owned implementation
  • Optimize failure case of get_cached when hot-reloading is enabled

Version 0.12.4

08 Nov 10:00
Compare
Choose a tag to compare

Catch panics when hot-reloading assets

Version 0.12.1

27 Aug 12:37
Compare
Choose a tag to compare
  • Implement DirLoadable for OnceInitCell when possible

Version 0.12.0

03 Jul 15:19
Compare
Choose a tag to compare
  • Remove NotHotReloaded trait and Handle::get (Handle::read is still guaranteed to be a no-op when HOT_RELOADED is false)
  • Storable trait is now a trait alias of Sized + Send + Sync + 'static. All custom Storable implementations can be removed without breaking anything.
  • Remove rodio support from the main crate. It is now done in assets_manager-rodio.
  • Add zip-zstd for easy zstd support in Zip
  • Use hashbrown to avoid hashing keys multiple times, which increases performance
  • Zip, Tar: remove deprecated from_slice
  • Update image to 0.25
  • Update MSRV to 1.71

Version 0.11.6

29 May 11:49
Compare
Choose a tag to compare
  • No longer depend on serde's derive feature
  • Improve performance of opening Zip

For version starting from 0.18, rodio support is in assets_manager-rodio. This allows keeping up to date with rodio versions more easily, and potentially improving compile times.

Version 0.11.5

17 Apr 08:54
Compare
Choose a tag to compare
  • Internals improvements

Version 0.11.4

21 Mar 08:53
Compare
Choose a tag to compare
  • Update base64 to 0.22
  • Improve internals to reduce monomorphization per asset type

Version 0.11.3

29 Feb 17:03
Compare
Choose a tag to compare
  • Add downcast method to AssetReadGuard<'_, dyn Any>
  • Add into_inner and downcast methods to Error
  • Implement Default for many types (including AssetCache, LocalAssetCache, source::Empty, ReloadId and AtomicReloadId)
  • Doc: Make it clear that get_or_insert inhibits hot-reloading

Version 0.11.2

14 Jan 21:56
Compare
Choose a tag to compare

Added

  • Support for deriving Asset trait
    #[derive(Asset, serde::Deserialize)]
    #[asset_format = "ron"]
    struct Point {
        x: i32,
        y: i32,
    }
  • AssetReadGuard::map and AssetReadGuard::try_map
  • Many methods on UntypedHandle to mirror those on Handle<T>

Changed

  • Zip::from_bytes* and Tar::from_bytes* are now generic over the bytes type.
    In consequence, from_slice* are now deprecated.
  • Small documentation improvements.

Version 0.11.1

06 Jan 00:00
Compare
Choose a tag to compare
  • Use sync_file::SyncFile as default type parameter of Tar
0