Commit Graph

44 Commits

Author SHA1 Message Date
xfy
bcf088c347 refactor(ssl): use axum_server to handle tls 2025-06-01 20:11:48 +08:00
xfy
8d35c26d90 chore: bump deps 2025-05-31 02:40:18 +08:00
xfy
d5751f1e14 perf(hashmap): use dashmap as global store 2025-05-16 15:57:06 +08:00
xfy
02d02b68ee refactor(http): optimize port parse
add port to route map
2025-05-14 02:42:58 +08:00
xfy
3d0e8ba591 feat(http): calculate file etag 2025-05-03 23:20:59 +08:00
xfy
c860ac1a55 chore(deps): bump dependecies 2025-04-23 21:05:12 +08:00
xfy
60a12113a9 chore(test): add config struct unit test 2025-04-22 21:46:26 +08:00
xfy
58e7fdc255 feat(ssl): add ssl support 2025-04-22 16:26:27 +08:00
xfy
c6ff8af73e feat: add custom error message 2025-04-22 15:23:46 +08:00
xfy
6756daf8ef chore(serve): clarify path handling logic and add comments
- Added detailed comments to `serve.rs` to explain URI path resolution, error cases, and file streaming.
- Improved readability of path slicing and fallback logic.
- Updated dependencies in `Cargo.toml` and `Cargo.lock` as needed.

🤖 Generated with [avante.nvim](https://github.com/yetone/avante.nvim)
Co-Authored-By: avante.nvim <noreply-avante@yetone.ai>
2025-04-12 17:04:14 +08:00
xfy
45d8c36136 refactor: change backend to axum 2025-04-08 09:24:13 +08:00
xfy
c66a3f1322 feat: add middlewares 2025-03-27 16:16:57 +08:00
xfy
e169478bbf refactor: refactor with axum 2025-03-27 13:55:49 +08:00
xfy
c0a4fbfc19 perf: change memory allocator to mimalloc 2025-03-27 09:23:24 +08:00
xfy
5f23d5e23f fix: deps flags 2025-02-25 17:27:51 +08:00
xfy
53139b7ee7 feat: add rustls features 2025-02-25 17:13:02 +08:00
xfy
675e347c1d feat: read ssl certificate 2025-02-25 16:05:01 +08:00
xfy
8288d16699 chore: update dependencies 2025-02-25 15:32:17 +08:00
xfy
96c0a3e07b chore(depss): bump version 2024-12-30 09:36:16 +08:00
xfy
46094d8e9c feat: add http client
and ssl support with rustls
2024-11-28 10:10:53 +08:00
xfy
0e94da7b31 chore: update dependencies 2024-11-28 09:06:33 +08:00
xfy
487ada0e4f chore: update dependencies 2024-11-22 09:38:23 +08:00
xfy
3f1adcc6f7 chore(deps): bump version 2024-10-30 17:09:12 +08:00
xfy
1798d1c710 chore(deps): update dependencies
change to nightly rustc
2024-09-25 17:24:21 +08:00
xfy
b072a63d52 chore(deps): update dependecies 2024-08-26 09:11:15 +08:00
xfy
3df4b6a087 feat(proxy): add timeout setting 2024-08-08 11:31:22 +08:00
xfy
2dafe040ae build(version): v0.1.1 2024-07-02 11:32:26 +08:00
xfy
c4c598bb82 refactor(hyper): graceful shutdown
handle server with hyper_util
2024-06-27 15:29:44 +08:00
xfy
68bc0273ef chore(dep): bump version 2024-06-13 16:00:26 +08:00
58e9d57f27 add docker in ci 2024-05-16 09:19:11 +00:00
xfy
03fd429d55 ignore heaptack files 2024-05-13 13:25:53 +08:00
xfy
d4c730a665 implment rest compression methods 2024-05-10 08:50:17 +08:00
xfy
d1659b3a68 add gzip 2024-05-09 10:17:39 +08:00
xfy
49ccb9a0fa update docs
update depdencies
2024-05-08 08:43:08 +08:00
xfy
45c7e3afb4 refactor get method 2024-04-30 13:29:52 +08:00
xfy
cc93c7995c update deps 2024-04-29 17:29:09 +08:00
xfy
0564c0c0f2 add async-compression dependency 2024-04-29 17:28:46 +08:00
xfy
0675182407 global cache implementation 2024-04-28 10:36:22 +08:00
xfy
6a9125f759 add handle static file path 2024-04-23 13:45:05 +08:00
xfy
d2adefcab3 init example 2024-04-23 11:23:34 +08:00
xfy
593dc628ed refactor(config): refacotr config reader 2024-04-23 11:03:16 +08:00
xfy
6febdfb534 add init config file 2024-04-23 09:06:19 +08:00
xfy
ef657381f0 add logger 2024-04-23 08:46:42 +08:00
xfy
70fac7a66a init 2024-04-23 08:33:56 +08:00