46 Commits

Author SHA1 Message Date
d84078d6c3
💚 Removed unused duplicated function
Some checks failed
Build & test / build (push) Failing after 10m43s
2025-03-08 19:18:16 +01:00
f14543af6b
♻️ Removed Makefile, refactored schema in tests
Some checks failed
Build & test / build (push) Has been cancelled
2025-03-08 19:09:43 +01:00
d260b2d676
💚 Added multi_thread flavor to tokio::test
Some checks failed
Build & test / build (push) Failing after 10m42s
2025-03-08 18:11:14 +01:00
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
7a46101b42
♻️ Replace diesel_async_migrations with diesel_migrations, refactor
diesel test init
2025-03-08 17:46:45 +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
8fb89e0459 Makefile.toml
TestContainers and diesel test database
2024-08-31 12:21:59 +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
eeab1257e3 InsertMany function for create trait.
Changed path to DateTimeInterval.

Changed lifetimes on derives with async_trait
2024-08-25 17:56:56 +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
17c81f4da1 Rewritten diesel_crud to be more flexible 2024-08-24 19:29:54 +02:00
Martin Berg Alstad
3318aacf7c Added more derives to DateTimeInterval 2024-08-24 19:29:19 +02:00
Martin Berg Alstad
00e894140f Added Wrapper types and DateTimeInterval 2024-08-19 23:15:55 +02:00
Martin Berg Alstad
ae775f4e9e DieselCrud traits and derives 2024-08-19 19:55:01 +02:00
Martin Berg Alstad
2c8577a11d Added layer to builder. Comments 2024-08-19 16:43:31 +02:00
Martin Berg Alstad
7eb675c210 Updated dependencies. Tower from 0.4 -> 0.5 2024-08-19 14:18:51 +02:00
Martin Berg Alstad
10d8535b27 Replaced From<T> with from! for BaseResponse 2024-08-19 14:15:29 +02:00
Martin Berg Alstad
cd558eebfa Added From<T> for BaseResponse 1.4.3 2024-08-14 20:37:10 +02:00
Martin Berg Alstad
347314460a Sanitize impl in macro 1.4.2-hotfix 2024-08-05 01:49:28 +02:00
Martin Berg Alstad
ee487540ac Sanitize returntype in macro 1.4.2 2024-08-05 01:46:35 +02:00
Martin Berg Alstad
865cc6ddb9 Fix version requirement for regex 1.4.1-hotfix-hotfix-2 2024-07-21 19:47:15 +02:00
Martin Berg Alstad
15de73dad4 Fix cfg for external crate 1.4.1-hotfix-hotfix 2024-07-21 19:43:58 +02:00
Martin Berg Alstad
8cbb2757a5 Fixed version requirement 1.4.1-hotfix 2024-07-17 13:02:09 +02:00
Martin Berg Alstad
3389b2264e Removed trim fron inner parenthesized 1.4.1 2024-07-17 12:48:09 +02:00
Martin Berg Alstad
5cd1c075a5 Read files macro for loading reading files to string at compile-time
Makefile for formatting and linting

Workspace for subcrates.

Moved crates to subdir and moved subcrate configs to workspace.*
1.4.0
2024-07-16 18:29:32 +02:00
Martin Berg Alstad
7a0cf00cbc Accept IpAddr or Ipv6Addr as socket.
Added port in builder for only specifying port
1.3.5
2024-07-07 15:13:13 +02:00
Martin Berg Alstad
971556af64 Merge remote-tracking branch 'origin/master' 2024-07-06 13:27:38 +02:00
Martin Berg Alstad
f40c87aa8e Changed router visibility to pub 1.3.4 2024-07-06 13:27:24 +02:00
Martin Berg Alstad
b685d81e00 comment 2024-07-03 11:24:28 +02:00
Martin Berg Alstad
284ee73ffd Changed parsers to FnMut 1.3.3 2024-07-02 13:24:37 +02:00
Martin Berg Alstad
732eaafec0 Fixed Multipartfiles only accepting a single file.
Added som standard derives on File struct, and extractors
1.3.2
2024-07-01 18:27:47 +02:00
Martin Berg Alstad
963c0610e5 Removed tokio feature and added tokio to axum feature 1.3.1 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
1.3.0
2024-06-30 20:17:44 +02:00
Martin Berg Alstad
e0baff8625 Added state type to router macro 1.2.1 2024-06-28 19:28:57 +02:00
Martin Berg Alstad
173bbc2ca5 Adde route method to builder for single route.
Removed state () from Router
1.2.0
2024-06-28 19:16:40 +02:00
Martin Berg Alstad
cdc8f5e463 Moved IntoResult trait to own file outside feature 2024-06-27 11:49:41 +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 1.1.1 2024-06-26 10:31:20 +02:00
Martin Berg Alstad
83f85f1938 AppBuilder for Axum 1.1.0 2024-06-26 10:20:52 +02:00
Martin Berg Alstad
d5974dda20 Initial commit 1.0.0 list 2024-06-22 17:19:55 +02:00
Martin Berg Alstad
9eb7c2883e Initial commit 2024-06-22 17:18:29 +02:00