-
Notifications
You must be signed in to change notification settings - Fork 286
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
builder,util: add convenience methods for boxing services (#616)
* builder,util: add convenience methods for boxing services This adds a couple of new methods to `ServiceBuilder` and `ServiceExt`: - `ServiceBuilder::boxed` - `ServiceExt::boxed` - `ServiceBuilder::clone_boxed` - `ServiceExt::clone_boxed` They apply `BoxService::layer` and `CloneBoxService::layer` respectively. * fix doc links * add missing `cfg`s * Update tower/CHANGELOG.md Co-authored-by: Eliza Weisman <[email protected]> * Apply suggestions from code review Co-authored-by: Eliza Weisman <[email protected]> * not sure why rustdoc cannot infer these * line breaks * trailing whitespace * make docs a bit more consistent * fix doc links * update tokio * don't pull in old version of tower * Don't run `cargo deny check bans` as it hangs Co-authored-by: Eliza Weisman <[email protected]>
- Loading branch information
1 parent
48f8ae9
commit 4d80f7e
Showing
6 changed files
with
226 additions
and
3 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
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