rtgc 0.2.4

A simple garbage collector which collects resources dropped on a realtime thread and safely deallocates them on another thread
Documentation
[package]
name = "rtgc"
version = "0.2.4"
edition = "2021"
license = "MIT"
authors = ["Billy Messenger <billydm@noreply.codeberg.org>"]
readme = "README.md"
repository = "https://codeberg.org/BillyDM/rtgc"
description = "A simple garbage collector which collects resources dropped on a realtime thread and safely deallocates them on another thread"
categories = ["data-structures", "multimedia::audio", "no-std"]
keywords = ["realtime", "garbage", "collector", "gc"]

# Show documentation with all features enabled on docs.rs
[package.metadata.docs.rs]
all-features = true

[features]
default = ["std", "local_collector"]
std = ["bevy_platform?/std"]
# Enable the use of the `bevy_platform` crate for better `no_std`
# compatibility across various platforms. This feature must be
# enabled if the "std" feature is disabled.
bevy_platform = ["dep:bevy_platform"]
# Enables the local collector
local_collector = []
# Enables the triple-buffering types for synching data
triple_buffer = ["dep:triple_buffer"]

[dependencies]
bevy_platform = { version = "0.17", default-features = false, features = [
    "alloc",
], optional = true }
triple_buffer = { version = "8.1", optional = true }