Skip to content

Commit

Permalink
Add axum example
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiimk committed Oct 3, 2024
1 parent 467193c commit e73b1f9
Show file tree
Hide file tree
Showing 13 changed files with 981 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ jobs:
- uses: actions-rs/toolchain@v1 # Uses rust-toolchain file
with:
components: rustfmt
- run: cargo build
- run: cargo build --workspace
- run: cargo fmt --check
- run: cargo test --verbose
- run: cargo test --verbose --workspace
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,15 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Added
- `Catalog::builder()` and `catalog.builder_chained()` shortcuts
- New `examples` directory to showcase DI patterns and integrations

## [0.9.1] - 2024-08-15
### Fixed
- `Catalog::builders_for_with_meta()` works corectly for chained catalogs


## [0.9.0] - 2024-07-29
### Added
- It's now possible to associate custom static metadata with builders:
Expand Down Expand Up @@ -39,7 +43,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
struct Impl;

// Automatically does `.bind::<dyn Iface, Impl>()`
CatalogBuilder::new().add::<Impl>().build();
Catalog::builder().add::<Impl>().build();
```

## [0.7.2] - 2023-09-04
Expand Down
Loading

0 comments on commit e73b1f9

Please sign in to comment.