aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-08-31refactor: improve async DI container cast errorsHampusM
2022-08-31feat: add a threadsafe flag to the declare_default_factory macroHampusM
2022-08-31fix: add missing semicolon in the factory macroHampusM
2022-08-30docs: add async support to readmeHampusM
2022-08-30refactor: replace arc cast panic with an errorHampusM
2022-08-29feat: implement async functionalityHampusM
2022-08-28docs: improve & add examplesHampusM
2022-08-28style: add rustfmt config optionsHampusM
2022-08-28docs: use anyhow in the unbound exampleHampusM
2022-08-28docs: correct the example in the readmeHampusM
2022-08-28docs: add CI shield to readmeHampusM
2022-08-28ci: add workflow to CircleCI configHampusM
2022-08-28ci: add CircleCI configHampusM
2022-08-27feat: implement named bindingsHampusM
2022-08-27refactor!: limit FactoryPtr & AnyFactory to the factory featureHampusM
BREAKING CHANGE: FactoryPtr has been limited to the factory feature
2022-08-27docs: update the DI container exampleHampusM
2022-08-27refactor!: make DI container have single get functionHampusM
BREAKING CHANGE: The DI container get_singleton & get_factory functions have been replaced by the get function now returning a enum
2022-08-22refactor!: move specifying binding scope to a binding scope configuratorHampusM
BREAKING CHANGE: Specifying the scope of a DI container binding is now done with a binding scope configurator
2022-08-21refactor: improve private method names & clean up InjectableImplHampusM
2022-08-21docs: remove license shield from readmeHampusM
2022-08-21build: bump versions to 0.3.0v0.3.0HampusM
2022-08-21docs: add v0.3.0 to changelogHampusM
2022-08-21docs: change project descriptions to describe it as a frameworkHampusM
2022-08-21refactor!: change errors to be more saneHampusM
BREAKING CHANGE: Major improvements have been made to error types and the error_stack crate is no longer used
2022-08-21docs: fix declare_default_factory exampleHampusM
2022-08-21docs: add injection of 3rd-party structs & traits to features listHampusM
2022-08-21docs: add example for displaying a unbound interface errorHampusM
2022-08-21docs: simplify with-3rd-party exampleHampusM
2022-08-21refactor: make the declare_default_factory macro take a tyHampusM
2022-08-21refactor!: only re-export DIContainerHampusM
BREAKING CHANGE: Only DIContainer is re-exported from the di_container module
2022-08-21docs: add a example that uses a 3rd party libraryHampusM
2022-08-21feat: allow bind interface to default factoryHampusM
This commit will allow interface traits to be bound to default factories. Default factories being factories that doesn't take any arguments
2022-08-21docs: fix IFactory example use statementHampusM
2022-08-21docs: improve the factory exampleHampusM
2022-08-21fix: make DI container get_factory calls in the injectable macro validHampusM
2022-08-21docs: correct examplesHampusM
2022-08-21test: correct DI container bind testsHampusM
2022-08-21feat!: prevent binding the same interface more than onceHampusM
BREAKING CHANGE: The 'to' and 'to_factory' methods of BindingBuilder now return 'Result'
2022-08-03refactor: add Cargo feature for preventing circular dependenciesHampusM
2022-08-02docs: fix DI container module documentationHampusM
2022-08-02chore: change license to MIT or Apache-2.0HampusM
2022-08-02docs: add license shield to readmeHampusM
2022-08-02build: change license in manifests to LGPL-2.1-onlyHampusM
2022-08-02refactor: move creating a dependency trace to it's own functionHampusM
2022-08-02test: reduce repetition in DI container testsHampusM
2022-08-02feat: add detection and prevention of circular dependenciesHampusM
2022-08-02refactor: hide AnyFactory from docsHampusM
2022-08-01docs: add factory feature noticesHampusM
2022-08-01refactor: limit the factory macro to the factory featureHampusM
2022-08-01feat: add hide impl of Injectable from documentationHampusM
This will make it so that by default the impl of Injectable is hidden from user code documentation. This commit also includes a flag for the injectable macro to disable the aforementioned feature