23 Commits

Author SHA1 Message Date
35ccc235c8
♻️ Renamed .github to .gitea, Short description in README,
Some checks failed
Build & test / build (push) Failing after 12m1s
refactor uses
2025-03-08 17:58:07 +01:00
5a77407297
Replaced async_trait with async in traits from 2024 edition 2025-03-07 22:40:10 +01:00
2f1eb4df3a
Updated dependencies, nix shell, justfile
- Updated all dependencies
- Updated Rust edition to 2024
- Nix shell from flake
- Added justfile
- Mirgrate all changes to various packages
2025-03-07 18:21:23 +01:00
Martin Berg Alstad
80f4af9087 Moved more code from hotel_service to lib
Some checks failed
Build & test / build (push) Failing after 6s
2024-09-08 17:27:20 +02:00
Martin Berg Alstad
7e2df67fee Comments.
Coverage to Makefile.toml.

Added branch to map! to allow for instantiating with default values.
2024-08-31 17:49:27 +02:00
Martin Berg Alstad
ce770e9c6f Comments 2024-08-27 00:21:25 +02:00
Martin Berg Alstad
cd99466266 Added dependency on mime 2024-08-27 00:04:21 +02:00
Martin Berg Alstad
93fe1e0cda Build method to AppBuilder that returns a Router of all settings.
Updated router! to allow for generic types
2024-08-26 17:14:39 +02:00
Martin Berg Alstad
762330189d More derives for types.
Addee new_safe constructor for Interval type
2024-08-25 00:55:14 +02:00
Martin Berg Alstad
00e894140f Added Wrapper types and DateTimeInterval 2024-08-19 23:15:55 +02:00
Martin Berg Alstad
2c8577a11d Added layer to builder. Comments 2024-08-19 16:43:31 +02:00
Martin Berg Alstad
7a0cf00cbc Accept IpAddr or Ipv6Addr as socket.
Added port in builder for only specifying port
2024-07-07 15:13:13 +02:00
Martin Berg Alstad
f40c87aa8e Changed router visibility to pub 2024-07-06 13:27:24 +02:00
Martin Berg Alstad
732eaafec0 Fixed Multipartfiles only accepting a single file.
Added som standard derives on File struct, and extractors
2024-07-01 18:27:47 +02:00
Martin Berg Alstad
963c0610e5 Removed tokio feature and added tokio to axum feature 2024-06-30 23:39:25 +02:00
Martin Berg Alstad
0898a50166 Added MultipartFile extractors.
Moved cfg macro to lib where possible.

Changed some features, and made some deps optional
2024-06-30 20:17:44 +02:00
Martin Berg Alstad
e0baff8625 Added state type to router macro 2024-06-28 19:28:57 +02:00
Martin Berg Alstad
173bbc2ca5 Adde route method to builder for single route.
Removed state () from Router
2024-06-28 19:16:40 +02:00
Martin Berg Alstad
aba28d1612 Changed param from array slice to implInterator on routes in builder 2024-06-27 00:12:47 +02:00
Martin Berg Alstad
752d1a9d10 Fixed tracing message not showing in AppBuilder 2024-06-26 10:31:20 +02:00
Martin Berg Alstad
83f85f1938 AppBuilder for Axum 2024-06-26 10:20:52 +02:00
Martin Berg Alstad
d5974dda20 Initial commit 2024-06-22 17:19:55 +02:00
Martin Berg Alstad
9eb7c2883e Initial commit 2024-06-22 17:18:29 +02:00