-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
giant refactor: immutable services and impl traits
- use 'impl Future' returns for trait contracts: prevents hidden requirments - refactor tower design around immutable services: easier to reason and use, more natural to use like this, makes it also more clear that user needs to handle state properly, prevents state keeping in service when not required and easier to integrate with other code bases in ecosystem (e.g. hyper)
- Loading branch information
glendc
committed
Nov 15, 2023
1 parent
8498811
commit 7ed2bea
Showing
110 changed files
with
754 additions
and
1,711 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
fmt: | ||
cargo fmt --all | ||
|
||
sort: | ||
cargo sort --workspace --grouped | ||
|
||
lint: fmt sort | ||
|
||
check: | ||
cargo check --all --all-targets --all-features | ||
|
||
clippy: | ||
cargo clippy --all --all-targets --all-features | ||
|
||
clippy-fix: | ||
cargo clippy --fix | ||
|
||
doc: | ||
RUSTDOCFLAGS="-D rustdoc::broken-intra-doc-links" cargo doc --all-features --no-deps | ||
|
||
hack: | ||
cargo hack check --each-feature --no-dev-deps --workspace | ||
|
||
test: | ||
cargo test --all-features | ||
|
||
qa: lint check clippy doc hack test |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.