Commit graph

80 commits

Author SHA1 Message Date
e5f7d94f77
feat: tune compilation for size
All checks were successful
/ build (push) Successful in 1s
/ check (push) Successful in 8s
/ report-size (push) Successful in 2s
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
All checks were successful
/ build (push) Successful in 1s
/ check (push) Successful in 8s
/ report-size (push) Successful in 2s
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
All checks were successful
/ build (push) Successful in 1s
/ check (push) Successful in 8s
/ report-size (push) Successful in 2s
This ensures both work
2025-01-23 21:06:26 +01:00
70162c83f6
chore(deps): lock file maintenance
All checks were successful
/ build (push) Successful in 1s
/ check (push) Successful in 6s
/ report-size (push) Successful in 1s
2025-01-21 23:00:21 +01:00
0fd9a87907
fix(deps): update rust crate axum to v0.8.2
All checks were successful
/ build (push) Successful in 1s
/ check (push) Successful in 7s
/ report-size (push) Successful in 2s
| 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
All checks were successful
/ build (push) Successful in 2s
/ check (push) Successful in 8s
/ report-size (push) Successful in 2s
2025-01-20 22:30:26 +01:00
40a9d600c9
fix(deps): update rust crate clap to v4.5.27
All checks were successful
/ build (push) Successful in 1s
/ check (push) Successful in 7s
/ report-size (push) Successful in 2s
| 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
All checks were successful
/ build (push) Successful in 1s
/ check (push) Successful in 7s
/ report-size (push) Successful in 1s
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
All checks were successful
/ build (push) Successful in 1s
/ check (push) Successful in 7s
/ report-size (push) Successful in 2s
| 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
All checks were successful
/ build (push) Successful in 1s
/ check (push) Successful in 7s
/ report-size (push) Successful in 2s
| 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
All checks were successful
/ build (push) Successful in 1s
/ check (push) Successful in 7s
/ report-size (push) Successful in 1s
2025-01-08 23:00:22 +01:00
faf1f637ab
fix(deps): update rust crate tokio to v1.43.0
All checks were successful
/ build (push) Successful in 1s
/ check (push) Successful in 7s
/ report-size (push) Successful in 2s
| 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
All checks were successful
/ build (push) Successful in 0s
/ check (push) Successful in 7s
/ report-size (push) Successful in 2s
2025-01-07 18:30:25 +01:00
0685c2601a
fix(deps): update rust crate clap to v4.5.24
All checks were successful
/ build (push) Successful in 1s
/ check (push) Successful in 7s
/ report-size (push) Successful in 2s
| 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
All checks were successful
/ build (push) Successful in 1s
/ check (push) Successful in 7s
/ report-size (push) Successful in 2s
2025-01-06 23:00:38 +01:00
ccc1ccba97
chore(deps): lock file maintenance
All checks were successful
/ build (push) Successful in 1s
/ check (push) Successful in 7s
/ report-size (push) Successful in 2s
2025-01-05 12:20:24 +01:00
a515c5d8df
fix(renovaterc): invalid cron syntax
All checks were successful
/ build (push) Successful in 1s
/ check (push) Successful in 7s
/ report-size (push) Successful in 2s
There was a small mistake in the config.
2025-01-05 12:17:09 +01:00
7fdf322c73
fix(renovate): branch creation before automerge
All checks were successful
/ build (push) Successful in 0s
/ check (push) Successful in 6s
/ report-size (push) Successful in 2s
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
All checks were successful
/ build (push) Successful in 0s
/ check (push) Successful in 6s
/ report-size (push) Successful in 2s
| 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
All checks were successful
/ build (push) Successful in 1s
/ check (push) Successful in 7s
/ report-size (push) Successful in 2s
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
Some checks failed
/ build (push) Successful in 1m4s
/ check (push) Failing after 37s
/ report-size (push) Successful in 7s
2025-01-04 13:20:20 +01:00
dcba690961
fix(ci): remove update workflow
All checks were successful
/ build (push) Successful in 1s
/ check (push) Successful in 7s
/ report-size (push) Successful in 2s
Not needed as renovate fulfills this purpose.
2025-01-04 13:08:55 +01:00
99e887513d
chore(deps): lock file maintenance
All checks were successful
/ build (push) Successful in 1s
/ check (push) Successful in 7s
/ report-size (push) Successful in 2s
2025-01-02 00:00:25 +01:00
4490dfac05
chore: update to axum 0.8
All checks were successful
/ build (push) Successful in 1s
/ check (push) Successful in 7s
/ report-size (push) Successful in 2s
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
All checks were successful
/ build (push) Successful in 1s
/ check (push) Successful in 7s
/ report-size (push) Successful in 2s
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
All checks were successful
/ build (push) Successful in 1s
/ check (push) Successful in 7s
/ report-size (push) Successful in 2s
2025-01-01 00:00:28 +01:00
6a1feb2612
fix(flake): switch to github ref
All checks were successful
/ build (push) Successful in 1s
/ check (push) Successful in 7s
/ report-size (push) Successful in 2s
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
Some checks failed
/ build (push) Successful in 2s
/ check (push) Failing after 13s
/ report-size (push) Successful in 7s
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
All checks were successful
/ build (push) Successful in 1s
/ check (push) Successful in 6s
/ report-size (push) Successful in 1s
This should make it easier to keep the repo up to date.
2024-12-28 10:08:11 +01:00
f6084449fa
Add renovate.json
All checks were successful
/ build (push) Successful in 1s
/ check (push) Successful in 6s
/ report-size (push) Successful in 1s
2024-12-28 01:07:06 +01:00
e9d5b87ecc
fix(main): add more logging and default to info
All checks were successful
/ build (push) Successful in 1s
/ check (push) Successful in 7s
/ report-size (push) Successful in 2s
`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
All checks were successful
/ build (push) Successful in 1s
/ check (push) Successful in 7s
/ report-size (push) Successful in 1s
2024-12-22 14:13:14 +01:00
502f7cbcdf
fix(ci): remove tea
All checks were successful
/ build (push) Successful in 1s
/ check (push) Successful in 7s
/ report-size (push) Successful in 2s
`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
All checks were successful
/ build (push) Successful in 1s
/ check (push) Successful in 7s
/ report-size (push) Successful in 2s
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
All checks were successful
/ build (push) Successful in 1s
/ check (push) Successful in 6s
/ report-size (push) Successful in 1s
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
All checks were successful
/ build (push) Successful in 1s
/ check (push) Successful in 7s
/ report-size (push) Successful in 2s
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
All checks were successful
/ build (push) Successful in 1s
/ check (push) Successful in 7s
/ report-size (push) Successful in 2s
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
All checks were successful
/ build (push) Successful in 1s
/ check (push) Successful in 7s
/ report-size (push) Successful in 2s
We should keep it lean c:
2024-12-22 00:41:52 +01:00
657a877168
chore: bump version to dev
All checks were successful
/ build (push) Successful in 2s
/ check (push) Successful in 7s
preparing for the next dev cycle
2024-11-23 21:26:47 +01:00
ce2692f66d
feat: release new version
All checks were successful
/ build (push) Successful in 1s
/ check (push) Successful in 7s
2024-11-23 21:16:46 +01:00
bea38bc445
fix(clippy): enable more lints and fix issues
All checks were successful
/ build (push) Successful in 3s
/ check (push) Successful in 7s
We also add some more metadata to the Cargo.toml manifest
2024-11-23 21:12:27 +01:00
846a0675d1
refactor: reorganize main.rs
All checks were successful
/ build (push) Successful in 2s
/ check (push) Successful in 8s
2024-11-23 21:01:58 +01:00
750cbbff93
feat: replace axum-auth with tower_http
All checks were successful
/ build (push) Successful in 3s
/ check (push) Successful in 7s
Slightly more involde in the auth code, but it makes the rest of the
application more straight forward.

Fixes #10
2024-11-23 20:39:06 +01:00
60aed649b1
feat: upgrade clap_verbosity_flag
All checks were successful
/ build (push) Successful in 2s
/ check (push) Successful in 7s
Adds tracing support which simplyfies code.
2024-11-23 13:10:48 +01:00
d98c4202f4
feat(ci): check depends on build
All checks were successful
/ build (push) Successful in 2s
/ check (push) Successful in 7s
Because it depends on build, if build runs afterward, nix uses the cache
and no valuable logs are produced.
2024-11-23 13:02:25 +01:00
68cf43c539
chore: update flake inputs
All checks were successful
/ check (push) Successful in 7s
/ build (push) Successful in 2s
• Updated input 'crane':
    'github:ipetkov/crane/498d9f122c413ee1154e8131ace5a35a80d8fa76' (2024-10-27)
  → 'github:ipetkov/crane/3cb338ce81076ce5e461cf77f7824476addb0e1c' (2024-11-19)
• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/3d04084d54bedc3d6b8b736c70ef449225c361b1' (2024-10-01)
  → 'github:hercules-ci/flake-parts/506278e768c2a08bec68eb62932193e341f55c90' (2024-11-01)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/5633bcff0c6162b9e4b5f1264264611e950c8ec7' (2024-10-09)
  → 'github:NixOS/nixpkgs/23e89b7da85c3640bbc2173fe04f4bd114342367' (2024-11-19)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/aac86347fb5063960eccb19493e0cadcdb4205ca' (2024-10-22)
  → 'github:numtide/treefmt-nix/705df92694af7093dfbb27109ce16d828a79155f' (2024-11-22)
2024-11-23 12:56:55 +01:00
forgejo-actions
82b1078a94 chore: cargo update
All checks were successful
/ check (push) Successful in 7s
/ build (push) Successful in 2s
Locking 25 packages to latest compatible versions
    Updating anstream v0.6.17 -> v0.6.18
    Updating anstyle v1.0.9 -> v1.0.10
    Updating axum v0.7.7 -> v0.7.9
    Updating cc v1.1.31 -> v1.2.1
    Updating clap v4.5.20 -> v4.5.21
    Updating clap-verbosity-flag v2.2.2 -> v2.2.3 (latest: v3.0.0)
    Updating clap_builder v4.5.20 -> v4.5.21
    Updating clap_lex v0.7.2 -> v0.7.3
    Updating hyper v1.5.0 -> v1.5.1
    Updating hyper-util v0.1.9 -> v0.1.10
    Updating insta v1.40.0 -> v1.41.1
    Updating itoa v1.0.11 -> v1.0.13
    Updating libc v0.2.161 -> v0.2.164
    Updating proc-macro2 v1.0.89 -> v1.0.92
    Updating regex-automata v0.4.8 -> v0.4.9
    Updating rustix v0.38.37 -> v0.38.41
    Updating serde v1.0.213 -> v1.0.215
    Updating serde_derive v1.0.213 -> v1.0.215
    Updating serde_json v1.0.132 -> v1.0.133
    Updating syn v2.0.85 -> v2.0.89
    Updating sync_wrapper v1.0.1 -> v1.0.2
    Updating thiserror v1.0.65 -> v1.0.69 (latest: v2.0.3)
    Updating thiserror-impl v1.0.65 -> v1.0.69 (latest: v2.0.3)
    Updating tokio v1.41.0 -> v1.41.1
    Updating unicode-ident v1.0.13 -> v1.0.14
2024-11-23 12:55:08 +01:00
5a9b09bc7e
chore: bump version
All checks were successful
/ check (push) Successful in 7s
/ build (push) Successful in 2s
New dev version
2024-10-28 22:44:51 +01:00
618670512e
fix: overlay was broken T-T
All checks were successful
/ check (push) Successful in 1m22s
/ build (push) Successful in 2s
2024-10-28 22:41:12 +01:00