docs.rs failed to build imacro-0.4.7
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
imacro-0.4.8
Rioc Derive Macros
This crate provides derive macros for the Rioc dependency injection framework.
Provider Macro
The #[derive(Provider)] macro generates implementation code for dependency injection.
Basic Usage
use ;
// Define a dependency
;
// Define a service that depends on MyDependency
Generic Types
use Provider;
Installation
Add to your Cargo.toml:
[]
= { = "../derives" }