# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "rust-cc" version = "0.6.2" authors = ["fren_gor "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A cycle collector for Rust programs" readme = "README.md" keywords = [ "cycle-collector", "garbage-collector", "gc", "reference-counting", "memory", ] categories = [ "memory-management", "no-std", ] license = "MIT OR Apache-2.0" repository = "https://github.com/frengor/rust-cc" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "doc_auto_cfg", "--generate-link-to-definition", ] [profile.bench] debug = 2 strip = false [lib] name = "rust_cc" path = "src/lib.rs" [[test]] name = "auto_collect" path = "tests/auto_collect.rs" [[test]] name = "cc" path = "tests/cc.rs" [[test]] name = "macro_tests" path = "tests/macro_tests.rs" [[test]] name = "weak_upgrade_tests" path = "tests/weak_upgrade_tests.rs" [[bench]] name = "bench" path = "benches/bench.rs" harness = false required-features = [ "std", "derive", ] [dependencies.rust-cc-derive] version = "=0.6.2" optional = true [dependencies.slotmap] version = "1.0" optional = true [dependencies.thiserror] version = "2.0" default-features = false [dev-dependencies.iai-callgrind] version = "=0.12.2" [dev-dependencies.rand] version = "0.8.3" [dev-dependencies.test-case] version = "3.3.1" [dev-dependencies.trybuild] version = "1.0.85" [features] auto-collect = [] cleaners = [ "dep:slotmap", "weak-ptrs", ] default = [ "auto-collect", "finalization", "derive", "std", ] derive = ["dep:rust-cc-derive"] finalization = [] nightly = [] pedantic-debug-assertions = [] std = [ "slotmap?/std", "thiserror/std", ] weak-ptrs = [] [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(doc_auto_cfg)"]