Some API improvements (still needs redesign)
Pre-release
Pre-release
Significant API changes, but the API still needs a redesign to fix soundness issues.
To be clear, this does not fix the outstanding soundness issues.
See commit notes for full list of changes.
Major Features
- Add
GcErrorwrapper - Add
GcStringas garbage collected string - Add an "epsilon" collector that never collects memory
- Implement
GcDeserializeusing serde - Optionally emulate
core::allocAPI - Add
GcIndexMapcollection
Public API Changes
- Parameterize
GcSafeby'gclifetime andCollectorId - Make
GcErasetrait an aliasGcRebrand
Internal Improvements & Fixes
- Use const generics for arrays
- Fix
trait_object_trace!macro - Make
GcHandleuse generic associated types - Handle cycles in
Trace::NEEDS_TRACE - Remove
#[feature(...)]s that have been stabilized