Commit graph

85 commits

Author SHA1 Message Date
e72e3777b8
chore(deps): lock file maintenance 2025-01-23 23:00:21 +01:00
2473e6edbc
chore(release): prepare for 0.3.5 (docs)
Generate changelog
2025-01-23 22:49:09 +01:00
989ed2a080
chore(release): prepare for 0.3.5 (rust)
Bump version
2025-01-23 22:47:26 +01:00
2e8d20f89d
ci: parallelize checks
If I ever get more runners, this will be a great speedup.
2025-01-23 22:32:15 +01:00
ec27e31336
feat(tests): add nginx integration test
This ensures we can handle IPv4 and IPv6 simultaneously
2025-01-23 22:24:30 +01:00
e5f7d94f77
feat: tune compilation for size
Reduce size by setting `codegen-units = 1` in release mode.
2025-01-23 21:31:27 +01:00
a2735b46b5
feat(webnsupdate): add handling for multiple IPs
Specifically, for when both and IPv6 and and IPv4 addr is provided. This
ensures we can forward both addrs to webnsupdate, instead of only
allowing IPv4.
2025-01-23 21:10:21 +01:00
542336867a
fix(module): test both IPv4 and IPv6
This ensures both work
2025-01-23 21:06:26 +01:00
70162c83f6
chore(deps): lock file maintenance 2025-01-21 23:00:21 +01:00
0fd9a87907
fix(deps): update rust crate axum to v0.8.2
| datasource | package | from  | to    |
| ---------- | ------- | ----- | ----- |
| crate      | axum    | 0.8.1 | 0.8.2 |
2025-01-21 14:20:22 +01:00
880d462e80
chore(deps): lock file maintenance 2025-01-20 22:30:26 +01:00
40a9d600c9
fix(deps): update rust crate clap to v4.5.27
| datasource | package | from   | to     |
| ---------- | ------- | ------ | ------ |
| crate      | clap    | 4.5.26 | 4.5.27 |
2025-01-20 22:20:18 +01:00
8bf62f3ce2
fix(flake): switch overlay to callPackage
This ensures it can be built for any architecture (supported by Rust).
2025-01-10 23:42:40 +01:00
883f6e6ae7
fix(deps): update rust crate clap to v4.5.26
| datasource | package | from   | to     |
| ---------- | ------- | ------ | ------ |
| crate      | clap    | 4.5.25 | 4.5.26 |
2025-01-09 19:30:24 +01:00
4863ebc6df
fix(deps): update rust crate clap to v4.5.25
| datasource | package | from   | to     |
| ---------- | ------- | ------ | ------ |
| crate      | clap    | 4.5.24 | 4.5.25 |
2025-01-09 16:40:31 +01:00
36b4d55ea8
chore(deps): lock file maintenance 2025-01-08 23:00:22 +01:00
faf1f637ab
fix(deps): update rust crate tokio to v1.43.0
| datasource | package | from   | to     |
| ---------- | ------- | ------ | ------ |
| crate      | tokio   | 1.42.0 | 1.43.0 |
2025-01-08 17:10:21 +01:00
9b2880c141
chore(deps): lock file maintenance 2025-01-07 18:30:25 +01:00
0685c2601a
fix(deps): update rust crate clap to v4.5.24
| datasource | package | from   | to     |
| ---------- | ------- | ------ | ------ |
| crate      | clap    | 4.5.23 | 4.5.24 |
2025-01-07 18:20:30 +01:00
5e16700652
chore(deps): lock file maintenance 2025-01-06 23:00:38 +01:00
ccc1ccba97
chore(deps): lock file maintenance 2025-01-05 12:20:24 +01:00
a515c5d8df
fix(renovaterc): invalid cron syntax
There was a small mistake in the config.
2025-01-05 12:17:09 +01:00
7fdf322c73
fix(renovate): branch creation before automerge
Otherwise renovate might miss the merge window QAQ
2025-01-05 11:11:02 +01:00
5d6fd054ee
chore(deps): update rust crate insta to v1.42.0
| datasource | package | from   | to     |
| ---------- | ------- | ------ | ------ |
| crate      | insta   | 1.41.1 | 1.42.0 |
2025-01-05 01:40:22 +01:00
2b953c4b75
fix(typos): typos caught more typos :3
Some typos where not a typo tho, just a test T-T. This fixes it.
2025-01-04 13:43:53 +01:00
c038b68ecb
chore(deps): lock file maintenance 2025-01-04 13:20:20 +01:00
dcba690961
fix(ci): remove update workflow
Not needed as renovate fulfills this purpose.
2025-01-04 13:08:55 +01:00
99e887513d
chore(deps): lock file maintenance 2025-01-02 00:00:25 +01:00
4490dfac05
chore: update to axum 0.8
This requires updating axum-client-ip too as it depends on axum.
2025-01-01 19:32:15 +01:00
22ab037b6f
fix(renovate): switch automergeStrategy to auto
fast-forward triggers a rebase which is not allowed in this repo.
2025-01-01 10:44:48 +01:00
e4451beebf
chore(deps): lock file maintenance 2025-01-01 00:00:28 +01:00
6a1feb2612
fix(flake): switch to github ref
Switch from a flake ref to a github ref as renovate cannot resolve flake
refs, and they are slightly impure.

This shows some issues with the previous patch to the bind module which
we fix.
2024-12-29 18:19:32 +01:00
2ba6277778
feat(renovate): enable lockFileMaintenance
This allows it to update the flake.lock and Cargo.lock files.
2024-12-29 18:07:36 +01:00
69fde96f67
refactor: setup renovate to manage dependencies
This should make it easier to keep the repo up to date.
2024-12-28 10:08:11 +01:00
f6084449fa
Add renovate.json 2024-12-28 01:07:06 +01:00
e9d5b87ecc
fix(main): add more logging and default to info
`leo` fails to run with v0.3.3 so we are adding a bit more logging to
debug the case.

As part of this, change default log level to `info`.
2024-12-26 17:21:27 +01:00
63a7505724
chore(release): prepare for v0.3.3 2024-12-22 14:13:14 +01:00
502f7cbcdf
fix(ci): remove tea
`tea` doesn't like the forgejo GITHUB_TOKENs and doesn't work.
2024-12-22 13:40:12 +01:00
7bc103e861
chore: generate base changelog 2024-12-22 13:21:11 +01:00
2a52e66bc0
feat: add git-cliff to generate changelogs
This should make the project a bit more "official" c:
2024-12-22 13:12:52 +01:00
bd8badac23
fix(webnsupdate): reduce binary size
There is no need to compile for speed of execution, this is not a
contested component.
2024-12-22 00:52:01 +01:00
forgejo-actions
6b4c0c4865 chore: cargo update
Locking 31 packages to latest compatible versions
    Updating bytes v1.8.0 -> v1.9.0
    Updating cc v1.2.1 -> v1.2.5
    Updating clap v4.5.21 -> v4.5.23
    Updating clap-verbosity-flag v3.0.0 -> v3.0.2
    Updating clap_builder v4.5.21 -> v4.5.23
    Updating clap_lex v0.7.3 -> v0.7.4
    Updating console v0.15.8 -> v0.15.10
    Updating encode_unicode v0.3.6 -> v1.0.0
    Updating errno v0.3.9 -> v0.3.10
    Removing hermit-abi v0.3.9
    Updating http v1.1.0 -> v1.2.0
    Updating hyper v1.5.1 -> v1.5.2
    Updating itoa v1.0.13 -> v1.0.14
    Updating libc v0.2.164 -> v0.2.169
    Updating miette v7.2.0 -> v7.4.0
    Updating miette-derive v7.2.0 -> v7.4.0
    Updating miniz_oxide v0.8.0 -> v0.8.2
    Updating mio v1.0.2 -> v1.0.3
    Updating rustix v0.38.41 -> v0.38.42
    Updating serde v1.0.215 -> v1.0.216
    Updating serde_derive v1.0.215 -> v1.0.216
    Removing smawk v0.3.2
    Updating socket2 v0.5.7 -> v0.5.8
    Updating supports-color v3.0.1 -> v3.0.2
    Updating supports-hyperlinks v3.0.0 -> v3.1.0
    Updating syn v2.0.89 -> v2.0.90
    Removing sync_wrapper v0.1.2
    Updating terminal_size v0.3.0 -> v0.4.1
    Updating tokio v1.41.1 -> v1.42.0
    Updating tower v0.5.1 -> v0.5.2
    Updating tracing v0.1.40 -> v0.1.41
    Updating tracing-attributes v0.1.27 -> v0.1.28
    Updating tracing-core v0.1.32 -> v0.1.33
    Updating tracing-subscriber v0.3.18 -> v0.3.19
    Removing windows-sys v0.48.0
    Removing windows-targets v0.48.5
    Removing windows_aarch64_gnullvm v0.48.5
    Removing windows_aarch64_msvc v0.48.5
    Removing windows_i686_gnu v0.48.5
    Removing windows_i686_msvc v0.48.5
    Removing windows_x86_64_gnu v0.48.5
    Removing windows_x86_64_gnullvm v0.48.5
    Removing windows_x86_64_msvc v0.48.5
note: pass `--verbose` to see 12 unchanged dependencies behind latest
2024-12-22 00:46:26 +01:00
9f40444846
chore(flake.lock): update inputs
Flake lock file updates:

• Updated input 'crane':
    'github:ipetkov/crane/3cb338ce81076ce5e461cf77f7824476addb0e1c' (2024-11-19)
  → 'github:ipetkov/crane/72e2d02dbac80c8c86bf6bf3e785536acf8ee926' (2024-12-21)
• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/506278e768c2a08bec68eb62932193e341f55c90' (2024-11-01)
  → 'github:hercules-ci/flake-parts/205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9' (2024-12-04)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/23e89b7da85c3640bbc2173fe04f4bd114342367' (2024-11-19)
  → 'github:NixOS/nixpkgs/d3c42f187194c26d9f0309a8ecc469d6c878ce33' (2024-12-17)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/705df92694af7093dfbb27109ce16d828a79155f' (2024-11-22)
  → 'github:numtide/treefmt-nix/65712f5af67234dad91a5a4baee986a8b62dbf8f' (2024-12-20)
2024-12-22 00:43:41 +01:00
faf09c7de1
feat(ci): generate package size report
We should keep it lean c:
2024-12-22 00:41:52 +01:00
657a877168
chore: bump version to dev
preparing for the next dev cycle
2024-11-23 21:26:47 +01:00
ce2692f66d
feat: release new version 2024-11-23 21:16:46 +01:00
bea38bc445
fix(clippy): enable more lints and fix issues
We also add some more metadata to the Cargo.toml manifest
2024-11-23 21:12:27 +01:00
846a0675d1
refactor: reorganize main.rs 2024-11-23 21:01:58 +01:00
750cbbff93
feat: replace axum-auth with tower_http
Slightly more involde in the auth code, but it makes the rest of the
application more straight forward.

Fixes 
2024-11-23 20:39:06 +01:00
60aed649b1
feat: upgrade clap_verbosity_flag
Adds tracing support which simplyfies code.
2024-11-23 13:10:48 +01:00