Commit graph

11 commits

Author SHA1 Message Date
Weipeng Hong
ef1448a3f5
Use env!("CARGO_CRATE_NAME") in the example to simplify the tracing setup code (#2884) 2024-08-24 08:36:08 +02:00
David Pedersen
5d388c8d91 Remove outdated comment 2023-12-29 17:51:14 +01:00
David Pedersen
12e8c6219d
Support graceful shutdown on serve (#2398) 2023-12-29 11:17:58 +00:00
David Pedersen
da82e887cd
Update graceful shutdown example (#2355)
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
2023-11-26 10:34:41 +00:00
David Pedersen
43b14a5f02
Update to latest versions of hyper and http-body (#1882)
Co-authored-by: Michael Scofield <mscofield0@tutanota.com>
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
2023-11-23 11:03:03 +00:00
Yuri Astrakhan
786329d85d
Use inline format args (#2232) 2023-09-19 06:51:57 +00:00
David Pedersen
c97967252d Add serve function and remove Server re-export (#1868) 2023-04-21 17:45:31 +02:00
Jonas Platte
dc480f7b0e
Re-integrate examples into the root workspace (#1466)
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-03-10 12:02:11 +01:00
David Pedersen
93251fa203
Bump MSRV to 1.56 and update to the 2021 edition (#1098) 2022-06-17 20:11:35 +02:00
David Pedersen
1fe4558362
Move examples to separate workspace (#978)
* Move examples to separate workspace

* update commands to run examples

* remove debug
2022-04-29 18:53:41 +02:00
Jonas Platte
616a43aaa3
Simplify graceful shutdown (#673) 2021-12-28 16:23:07 +01:00