Skip to content

0.3.0

Compare
Choose a tag to compare
@Caellian Caellian released this 31 Aug 02:31
b503611

Fixes

  • Fixed concurrent implementation.
    • Switched to RwLock in places where concurrent reads should be allowed.
  • Fixed issues with no_std and std features causing the build to fail when enabled at the same time.
  • Fixed debug feature not compiling.

Additions

  • Added read guards to properly handle read/write exclusion.
  • Added more utility methods.
    • ContiguousMemoryStorage::layout
    • ContiguousMemoryStorage::can_store
  • Added a trait for common reference behavior.

Changes

  • Simplified construction of references to dyn Traits (fat pointers).
    • Pointer metadata is automatically inferred from previous and new type.
    • Renamed as_dyn function into into_dyn
  • Moved reference types into refs module.
  • Cleaned up user facing API and exported types.
    • Internal state and other less important structs are no longer accessible.
  • Cleaned up detail implementation inheritance chain and names.
  • Added examples for each targeted use case.
  • Cleaned up the documentation so it's much clearer and easier to understand.
    • Added some examples to the documentation.
    • Everything is documented now.
      • Enabled missing_docs warning.
    • Enabled showing feature requirements for generated docs.