container-lifecycle
CommunityManage and control the lifecycle of an injectable container
Software Engineering#dependency injection#Rust#container management#lifecycle management#application setup
Authorjymchng
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill simplifies the management of the injectable container lifecycle, allowing users to build, resolve, inspect, and shut down containers with ease.
Core Features & Use Cases
- Build Container: Construct and initialize the container with optional external types.
- Resolve Dependencies: Retrieve services and types from the container.
- Inspect Container: Check registered types within the container.
- Shutdown Container: Safely terminate the container and run pre-destruct hooks.
- Use Case: Ideal for setting up the container during application startup or for teardown operations.
Quick Start
Build the container and register types with Container::builder().register(...).build().await?.
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: container-lifecycle Download link: https://github.com/jymchng/injectable/archive/main.zip#container-lifecycle Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.