Commit graph

117 commits

Author SHA1 Message Date
Ed Page
ac5646a7fe fix(serve): Bump thiserror version req 2024-07-26 10:52:43 -05:00
Ed Page
c90a05cfd4 fix(serve): Bump mime version req 2024-07-26 10:48:37 -05:00
Ed Page
cca8adf101 fix(serve): Bump mime_guess version req 2024-07-26 10:43:13 -05:00
Ed Page
17ad0190e1 chore: Release 2024-07-05 13:53:10 -05:00
Ed Page
7d4b8e6230 style: Make clippy happy 2024-07-05 13:30:40 -05:00
Ed Page
66b82df0fc chore: Update from '_rust/main' template 2024-07-05 13:30:31 -05:00
Ed Page
69970b8852 chore: Release 2024-07-05 12:30:42 -05:00
Ed Page
f83ac39314 chore: Release 2024-07-05 12:30:26 -05:00
Ed Page
3035810f83 chore: Release 2024-07-05 12:29:58 -05:00
Ed Page
ff3d9efaba chore: Release 2024-07-05 12:29:38 -05:00
Ed Page
52ebfef0e5 docs: Update changelog 2024-07-05 12:29:27 -05:00
Chengke Wang
c7dfdf8541 fix: html escape bug with utf-8 characters 2024-07-06 01:02:57 +08:00
renovate[bot]
fdd048953f
chore(deps): update rust crate itertools to 0.13 2024-06-01 01:53:41 +00:00
Ed Page
9305d4d411 chore: Release 2024-04-15 11:39:02 -05:00
Ed Page
0f72122831 fix: Ensure root is valid path 2024-04-15 11:05:33 -05:00
renovate[bot]
df119e193a chore(deps): update compatible 2024-04-01 01:34:15 +00:00
renovate[bot]
e15c9cbbb0 chore(deps): update compatible 2024-03-01 01:28:12 +00:00
Ed Page
04ddb98c58 chore: Release 2024-02-27 19:47:46 -06:00
Ed Page
768b608678 docs: Update changelog 2024-02-27 19:47:34 -06:00
renovate[bot]
3acb7fc131 chore(deps): update compatible 2024-01-01 02:25:59 +00:00
renovate[bot]
348e03c74b
chore(deps): update rust crate itertools to 0.12 2023-12-01 00:30:56 +00:00
renovate[bot]
8eac048c10 chore(deps): update compatible 2023-11-01 00:35:28 +00:00
renovate[bot]
172f329587 chore(deps): update compatible 2023-10-01 01:57:27 +00:00
renovate[bot]
072bccc9e5
chore(deps): update rust crate itertools to 0.11 2023-09-01 04:23:15 +00:00
renovate[bot]
e77779753b chore(deps): update compatible 2023-09-01 01:42:50 +00:00
Ed Page
df5425c302 chore: Release 2023-08-22 09:57:48 -05:00
Ed Page
5b888c20d2 docs: Update changelog 2023-08-22 09:57:04 -05:00
orzogc
53fc982b29 feat(file-serve)!: Allow graceful shutdown of server
Assume that someone was developing an App which would serve some files temporarily, the server should be closed when it was no longer needed. But the server was just blocked for handling incoming requests, there were no valid methods to close it.

So a method for graceful shutdown of the server is introduced in this PR, also a method for checking whether a sever is running.

BREAKING CHANGE: `Server.serve()` returns `Result<(), Error>` instead of `Result<Infallible, Error>` because the server can be closed.
Remove `Debug` trait of `Server`.
2023-08-22 17:29:40 +08:00
Ed Page
6e92aea567 style: Make clippy happy 2023-08-14 15:59:46 -05:00
Ed Page
6acb41f692 test(config): Update test from spelling 2023-08-14 15:57:53 -05:00
Ed Page
af6ce029de chore: Adopt '_rust/main' template 2023-08-14 15:31:43 -05:00
Ed Page
85a7766868 chore: Fix typos 2023-08-14 15:20:32 -05:00
Ed Page
545d9b37a0 chore: Release 2023-06-06 05:56:18 -05:00
Ed Page
c35ec7faae chore: Release 2023-06-06 05:55:26 -05:00
Ed Page
ed9c27b547 chore: Release 2023-06-06 05:53:19 -05:00
Ed Page
41cbe77027 fix!: Remove vimwiki support
This has gone unmaintained, with very stale dependencies, holding of
other dependencies back, etc.
2023-06-01 22:33:04 -05:00
Ed Page
5f6a95bfa4 docs: Update changelog 2023-06-01 22:09:26 -05:00
Ed Page
f0bcedc757 style: Make clippy happy 2023-06-01 22:03:51 -05:00
Ed Page
9533355ef5 chore: Release 2023-06-01 21:47:00 -05:00
renovate[bot]
a6cd6dcfed
chore(deps): update compatible 2023-05-01 00:09:14 +00:00
Ed Page
f8572441eb chore: Release 2023-04-20 10:24:24 -05:00
Ed Page
35fcafe5bc docs: Update changelog 2023-04-20 10:24:04 -05:00
renovate[bot]
1bfdd61ff5
chore(deps): update compatible 2023-01-01 01:25:44 +00:00
renovate[bot]
0add8b3537
chore(deps): update safe 2022-12-01 22:31:25 +00:00
Ed Page
270cda140f style: Make clippy happy 2022-11-01 19:54:17 -05:00
Ed Page
23259e6c6e chore: Use workspace inheritance 2022-11-01 15:09:06 -05:00
Ed Page
4214907931 chore: Bump MSRV to 1.64.0 2022-11-01 14:56:09 -05:00
Ed Page
f7fc91a2b4 chore: Update dependencies 2022-11-01 14:54:20 -05:00
Ed Page
9580995666 chore: Upgrade dependencies 2022-10-03 11:43:53 -05:00
Ed Page
46c28e530d chore: Update MSRV to 1.60.0 2022-09-28 15:12:10 -05:00