Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-07-10 | build: replace deprecated Cargo.toml fields | HampusM | |
2023-12-27 | refactor: improve readability of the diagnostic_error_enum macro | HampusM | |
2023-12-22 | refactor: mock Dependency struct impl instead of IDependency | HampusM | |
2023-12-22 | build: enable Syn's extra-traits crate feature | HampusM | |
This fixes that syrette_macros can only be built as a dependency of Syrette | |||
2023-12-22 | feat: add support for async constructors | HampusM | |
2023-10-04 | refactor!: remove factory & declare_default_factory macros | HampusM | |
BREAKING CHANGE: The factory and the declare_default_factory macros have been removed. They are no longer needed to use factories | |||
2023-10-01 | chore: make docs style html for macro crate not a symlink | HampusM | |
2023-10-01 | build: bump version to 0.5.1 | HampusM | |
2023-10-01 | refactor: remove impossible unwrap in injectable macro | HampusM | |
This unwrap couldn't possibly be Err and can be removed by creating method call expressions by hand | |||
2023-10-01 | refactor: make camel cased text snake cased without regex | HampusM | |
2023-09-30 | fix: allow dependency interface types other than trait & path | HampusM | |
2023-09-30 | style: shorten lines exceeding 90 in width in injectable macro | HampusM | |
2023-09-30 | test: import test util functions for injectable macro tests | HampusM | |
2023-09-30 | refactor: remove unnecessary cloning of impl generics & self type | HampusM | |
2023-09-27 | fix: set injectable macro dummies directly after parsing input | HampusM | |
2023-09-27 | fix: make dummy Injectable & AsyncInjectable impls valid | HampusM | |
2023-09-27 | docs: clarify named macro documentation | HampusM | |
2023-09-27 | refactor: remove unnecessary doc(cfg) attrs on private modules | HampusM | |
2023-09-26 | test: make unit tests not return Result | HampusM | |
2023-09-25 | docs: fix custom CSS not used by docs.rs | HampusM | |
2023-09-21 | build: bump versions to 0.5.0 | HampusM | |
2023-09-18 | refactor!: make the async DI container not inside a Arc | HampusM | |
BREAKING CHANGE: The async DI container is no longer inside of a Arc. This affects AsyncBindingBuilder, AsyncBindingScopeConfigurator, AsyncBindingWhenConfigurator & AsyncInjectable | |||
2023-09-18 | refactor: make threadsafe castable factory take DI container param | HampusM | |
2023-09-17 | refactor: move castable factory to directory module | HampusM | |
2023-09-17 | refactor!: make the blocking DI container not inside a Rc | HampusM | |
BREAKING CHANGE: The blocking DI container is no longer inside of a Rc. This affects BindingBuilder, BindingScopeConfigurator, BindingWhenConfigurator & Injectable | |||
2023-09-16 | refactor: make castable factory take DI container param | HampusM | |
2023-09-16 | refactor!: remove async DI container interface | HampusM | |
BREAKING CHANGE: IAsyncDIContainer have been removed and multiple structs no longer take a DI container generic parameter | |||
2023-09-14 | refactor!: remove blocking DI container interface | HampusM | |
BREAKING CHANGE: IDIContainer have been removed and multiple structs no longer take a DI container generic parameter | |||
2023-08-20 | feat: expose DI container get_bound methods to public API | HampusM | |
2023-08-18 | test: import proc_macro2 TokenStream in dependency tests | HampusM | |
Fixes the dependency tests not working on Rust 1.62.1 | |||
2023-08-16 | chore!: remove the factory macro async flag | HampusM | |
BREAKING CHANGE: The factory macro's async flag has been removed | |||
2023-08-16 | docs: add missing TransientPtr import to factory macro example | HampusM | |
2023-08-15 | fix!: make the factory macro not change its input | HampusM | |
BREAKING CHANGE: The factory macro no longer - Changes the return type to be inside of a TransientPtr - Adds Send + Sync bounds when the threadsafe or the async flag is set - Changes the return type be inside of a BoxFuture when the async flag is set | |||
2023-08-13 | feat: add internal logging for macros | HampusM | |
2023-08-05 | refactor!: remove IDependencyHistory | HampusM | |
BREAKING CHANGE: IDependencyHistory has been removed as part of an effort to simplify the API. This affects IDIContainer, DIContainer, IAsyncDIContainer, AsyncDIContainer, Injectable, AsyncInjectable, BindingBuilder, AsyncBindingBuilder, BindingScopeConfigurator, BindingWhenConfigurator, AsyncBindingScopeConfigurator, AsyncBindingWhenConfigurator and DependencyHistory | |||
2023-08-05 | fix: change terminology in injectable macro async flag error | HampusM | |
2023-08-05 | docs: improve injectable macro docs | HampusM | |
2023-08-04 | refactor!: remove SomeThreadsafePtr & move variants to SomePtr | HampusM | |
BREAKING CHANGE: SomeThreadsafePtr has been removed and it's variants have been moved to SomePtr | |||
2023-08-04 | refactor!: rename the async flag of the declare_interface macro | HampusM | |
BREAKING CHANGE: The flag 'async' of the declare_interface macro has been renamed to 'threadsafe_sharable'. The reason being that the name 'async' was an outright lie. The new name describes exactly what the flag enables | |||
2023-08-03 | docs: remove panics sections from macros | HampusM | |
2023-08-03 | docs: move the injectable macro example section | HampusM | |
2023-08-03 | test: add & improve MacroFlag unit tests | HampusM | |
2023-08-03 | feat: add constructor name flag to injectable macro | HampusM | |
2023-08-02 | test: clean up create_caster_fn_ident unit test | HampusM | |
2023-08-02 | test: clean up DeclareDefaultFactoryMacroArgs unit tests | HampusM | |
2023-08-02 | perf: reduce number of allocations in SynPathExt::to_string | HampusM | |
2023-08-02 | build: improve the fix for the predicates-tree MSRV change | HampusM | |
Dependents won't be prevented from using a newer version of predicates-tree now | |||
2023-08-01 | test: clean up FactoryMacroArgs unit tests | HampusM | |
2023-08-01 | test: clean up DeclareInterfaceArgs unit tests | HampusM | |
2023-08-01 | test: remove unused std::error::Error import | HampusM | |