Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(core): Graceful shutdown and refactor Handler #126

Merged
merged 49 commits into from
Jan 1, 2024
Merged
Changes from 1 commit
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
9fd6217
feat(core): remove Sync bounds on Handler trait
fundon Dec 27, 2023
cc04ec8
chore: MapErr
fundon Dec 27, 2023
2b0900f
chore: MapIntoResponse
fundon Dec 27, 2023
f485c28
refactor: remove async_trait on Handler
fundon Dec 28, 2023
84ece0e
feat: remove dyn-clone
fundon Dec 29, 2023
91f3fc3
feat: remove redundant 'static
fundon Dec 29, 2023
f49a64c
feat: remove redundant 'static
fundon Dec 29, 2023
e790e33
chore(core): short form
fundon Dec 30, 2023
2688f82
chore(tower): improve
fundon Dec 30, 2023
dab9bd7
chore(core): improve hyper Service
fundon Dec 30, 2023
cb27f98
chore(viz): implement Handler for Responder
fundon Dec 30, 2023
f33585b
fix: remove Arc on Tree
fundon Dec 30, 2023
8748177
feat(viz): add Server
fundon Dec 30, 2023
00d9c00
chore(viz): remove serve
fundon Dec 30, 2023
fe0135f
feat(viz): implement Accept for tls
fundon Dec 30, 2023
6d0e234
chore(viz): cfg rustls and native_tls
fundon Dec 30, 2023
f6a2365
chore(viz): add not_found
fundon Dec 31, 2023
03ca87a
fix: examples
fundon Dec 31, 2023
be336f6
fix: useless into
fundon Dec 31, 2023
55356a3
fix: make Cloneable pub crate
fundon Dec 31, 2023
d7298ce
docs: TryHandler
fundon Dec 31, 2023
1ae5e88
fix(doc): links
fundon Dec 31, 2023
b3c6dff
chore: revert Sync
fundon Dec 31, 2023
690c364
chore: revert Sync
fundon Dec 31, 2023
61c6f6e
chore: revert lint
fundon Dec 31, 2023
ce3515a
chore: revert async_trait
fundon Dec 31, 2023
281f653
fix: doc tests
fundon Dec 31, 2023
607bf88
chore: revert static-routes
fundon Jan 1, 2024
c92f357
fix: boxed bounds
fundon Jan 1, 2024
b7acae5
fix: FnExt bounds
fundon Jan 1, 2024
12bd7ae
chore(core): remove redundance bounds on MapErr
fundon Jan 1, 2024
fd85aa6
chore(core): remove redundance bounds on Map
fundon Jan 1, 2024
bca22c7
chore(core): remove redundance bounds on Either
fundon Jan 1, 2024
768a226
chore(core): remove redundance bounds on CatchUnwind
fundon Jan 1, 2024
cb48f4c
chore(core): improve
fundon Jan 1, 2024
4dae50b
chore(core): remove redundance allow attrs
fundon Jan 1, 2024
a61d065
chore(core): remove redundance bounds on Cookie Middleware
fundon Jan 1, 2024
f01a71c
chore(core): remove redundance bounds on Cors middleware
fundon Jan 1, 2024
3e76e1d
chore(core): remove redundance bounds on Cors middleware
fundon Jan 1, 2024
265ae39
chore(core): remove redundance scope on Csrf middleware
fundon Jan 1, 2024
f0c2de0
chore(core): remove redundance bounds on Limits middleware
fundon Jan 1, 2024
de55286
chore(core): remove redundance bounds on tests
fundon Jan 1, 2024
38c88d5
chore(core): remove redundance bounds on Router
fundon Jan 1, 2024
5871e9b
chore(core): remove redundance bounds on Route
fundon Jan 1, 2024
8bb187d
chore(core): remove redundance bounds on Resources
fundon Jan 1, 2024
4434643
chore(core): remove redundance bounds on Cloneable
fundon Jan 1, 2024
efa1ffc
chore(core): remove redundance bounds on docs
fundon Jan 1, 2024
044bfe4
chore(viz): use tokio_util Listener
fundon Jan 1, 2024
57cc724
fix(ci): coverage
fundon Jan 1, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: useless into
fundon committed Dec 31, 2023
commit be336f6f34ceefb69c785ccbc3f77668c11ae804
2 changes: 1 addition & 1 deletion viz/src/server.rs
Original file line number Diff line number Diff line change
@@ -34,7 +34,7 @@ where
L::Stream: AsyncWrite + AsyncRead + Send + Unpin,
L::Addr: Send + Sync + Debug + 'static,
{
Server::<L>::new(listener, router.into())
Server::<L>::new(listener, router)
}

/// A listening HTTP server that accepts connections.