Commit Graph
11 Commits
Author SHA1 Message Date
Martin HoffmannandGitHub 2210e6f84e Code improvements suggested by Clippy 1.88. (#1303) 2025-06-30 14:24:45 +02:00
Martin HoffmannandGitHub 35cd5d0bb2 Redesign the HTTP service. (#1264)
Initially, this PR was intended to more clearly separate code between Krill
“business logic” – now bundled in a KrillManager –, and the HTTP server code
that serves the API. The former now lives in the server module, the latter
in the daemon module together with all the code to spin up a Krill daemon
driving the HTTP server.

However, along the way it turned into a complete redesign of how the HTTP
server code works. Request handling has been split into three stages that
forces implementers to check for permissions (or actively choose to not
check), and read the body (or check that there isn’t one). Dispatching of
the request has been restructured which should make it easier to follow what
goes on where.

This PR increases the minimum Rust version to 1.81.
2025-04-14 11:17:08 +02:00
Ximon EighteenandTim Bruijnzeels 6788576e84 Use new cargo toml rust version field. (#866) 2022-08-29 16:51:39 +02:00
Ximon EighteenandTim Bruijnzeels b5b2c24a92 Bump MSRV due to pulled in version of impl-trait-for-tuples dependency needing support for the 2021 Rust edition. 2022-02-23 14:17:18 +01:00
Tim BruijnzeelsandGitHub 8be620b606 Update dependencies: rpki-rs, bytes, tokio, hyper, reqwest (#584)
* Update dependencies: rpki-rs, and therefore bytes, tokio, hyper, reqwest
* Rust 1.51 clippy
* Update minimal rust version to 1.47
    socket2 requires improved const fn support.
    exponential compile-time and type_length_limit and async in 1.46.

See PR #586
2021-07-02 10:20:24 +02:00
Ximon Eighteen 3a4d4374fc FIX: We require Rust 1.45.0 due to use of strip_prefix() from the Rust str_strip feature. 2021-01-08 12:34:36 +01:00
Ximon Eighteen 394e325b7c cargo fmt 2021-01-06 14:27:59 +01:00
Ximon Eighteen 472a0e4751 Merge multi-user branch. Uses Lagosta master branch commit a7e73cba which includes multi-user support. 2020-12-07 16:55:40 +01:00
Tim Bruijnzeels 98aea3b743 Add build.rs which is used to check the Rust version before building. 2020-10-06 14:06:15 +02:00
Tim Bruijnzeels 0bbfebfbb6 Use workspaces in project. 2019-04-11 16:36:33 +02:00
Tim Bruijnzeels 37ca5bae6e Added build step to run "yarn run build" before rust is compiled when cargo builds. 2019-02-19 14:57:17 +01:00