[package]
edition = "2021"
rust-version = "1.80.0"
name = "singleton-registry"
version = "2.1.2"
authors = ["Dominik Jelinek <dominik.jelinek111@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Thread-safe singleton registry for Rust with isolated, per-type storage — powers the JigsawFlow microkernel pattern"
homepage = "https://github.com/dominikj111/singleton-registry"
documentation = "https://docs.rs/singleton-registry"
readme = "README.md"
keywords = [
"singleton",
"registry",
"thread-safe",
"storage",
"isolated",
]
categories = [
"data-structures",
"concurrency",
]
license = "BSD-3-Clause"
repository = "https://github.com/dominikj111/singleton-registry"
[lib]
name = "singleton_registry"
path = "src/lib.rs"
[[example]]
name = "basic_usage"
path = "examples/basic_usage.rs"
[[example]]
name = "singleton_replacement"
path = "examples/singleton_replacement.rs"
[[example]]
name = "trait_contracts"
path = "examples/trait_contracts.rs"
[[test]]
name = "advanced_patterns"
path = "tests/advanced_patterns.rs"
[[test]]
name = "mapping_closures_and_functions"
path = "tests/mapping_closures_and_functions.rs"
[[test]]
name = "mapping_primitives_and_strings"
path = "tests/mapping_primitives_and_strings.rs"
[[test]]
name = "mapping_traits"
path = "tests/mapping_traits.rs"
[[test]]
name = "registry_isolation"
path = "tests/registry_isolation.rs"
[[test]]
name = "tracing_and_events"
path = "tests/tracing_and_events.rs"
[[test]]
name = "without_macro"
path = "tests/without_macro.rs"
[dependencies]
[dev-dependencies.serial_test]
version = "3.4.0"