Commit Graph

191 Commits

Author SHA1 Message Date
David Lönnhager
24b2e25455
Merge branch 'add-pub-header-constant' 2024-10-22 10:28:48 +02:00
David Lönnhager
c4c839bd11 Make HEADER_LEN public 2024-10-21 15:39:12 +02:00
David Lönnhager
59913ab0f7
Merge branch 'fix-ci' 2024-10-21 15:37:42 +02:00
David Lönnhager
a521fbe7ae Fix permissions for lint CI job 2024-10-21 15:36:08 +02:00
Joakim Hulthe
cb7226cc55
Merge branch 'update-futures' 2024-10-21 15:34:05 +02:00
Joakim Hulthe
b8d8d37ac1
Bump futures dep and run cargo update 2024-10-21 15:20:33 +02:00
Linus Färnstrand
f3708b069b
Merge branch 'use-split_at_checked' 2024-07-26 15:53:47 +02:00
Linus Färnstrand
f9cc1b42ff Bump MSRV/rust-version to 1.80.0 2024-07-26 04:27:26 +02:00
Linus Färnstrand
6d5b9d34b0 Use <[T]>::split_at_checked instead of two separate get calls
Simplifies the code. Probably allows for more optimized code when
compiling without optimizations. For opt-level=3 the result is the same
as before
2024-07-26 04:21:42 +02:00
David Lönnhager
a3b1bf9d0e
Merge remote-tracking branch 'hamirmahal/ci/update-actions-checkout' 2024-05-29 14:08:35 +02:00
Hamir Mahal
d2f5229210
ci: update actions/checkout to v4 2024-05-22 00:26:22 -07:00
Hamir Mahal
cb4f154be4
chore: changes from formatting on save 2024-05-22 00:25:14 -07:00
Linus Färnstrand
75eb1fd638
Merge branch 'hide-error-impl-details' 2024-04-11 13:41:52 +02:00
Linus Färnstrand
77ee39d477 Add error restructure to changelog 2024-04-11 13:41:01 +02:00
Linus Färnstrand
f1f122572d Hide implementation details of ApplyTcpOptionsError 2024-04-11 13:41:01 +02:00
Linus Färnstrand
ccad8d9555
Merge branch 'add-license' 2024-04-04 12:45:28 +02:00
Linus Färnstrand
3888f44758 Add license files for MIT and Apache 2.0 2024-04-04 10:32:29 +02:00
Linus Färnstrand
3f20ac7a3d
Merge branch 'upgrade-dependencies' 2024-04-03 14:09:25 +02:00
Linus Färnstrand
85629047c0
Upgrade env_logger to 0.11 2024-04-02 18:18:33 +02:00
Linus Färnstrand
70c1f599d3
Upgrade mio to avoid RUSTSEC-2024-0019
This vulnerability does not affect us, since this project does not use
named pipes. But still good to make cargo audit happy
2024-04-02 18:18:30 +02:00
Linus Färnstrand
f368645c17
Merge branch 'use-split_first_chunk' 2024-04-02 18:16:41 +02:00
Linus Färnstrand
d5e72088bc Use let-else to simplify one match 2024-04-02 17:07:53 +02:00
Linus Färnstrand
0fb79511fb Add rust-version = 1.77 to Cargo.toml
Since we know what the lowest Rust version is
2024-04-02 15:56:32 +02:00
Linus Färnstrand
582af12935 Fix "byte" -> "bytes" for plural 2024-04-02 15:52:40 +02:00
Linus Färnstrand
4b937189c5 Implement forward_datagrams_in_buffer with split_first_chunk 2024-04-02 15:52:40 +02:00
Linus Färnstrand
458100e8ab
Bump version to 0.4.0 2024-01-02 15:15:35 +01:00
Linus Färnstrand
517b9707a0
Merge branch 'make-growing-types-non_exhaustive' 2024-01-02 15:08:29 +01:00
Linus Färnstrand
c60b3e901f Make TcpOptions non_exhaustive 2024-01-02 14:51:22 +01:00
Linus Färnstrand
c4c2528ffb Make tcp2udp::Options non_exhaustive to not have API breakage later 2024-01-02 14:51:22 +01:00
Linus Färnstrand
c9ef29e4a6 Make statsd_host field public 2024-01-02 14:43:42 +01:00
Linus Färnstrand
52013c113f Make all error enums non_exhaustive
Allows adding more error variants without it being a breaking change
2024-01-02 14:43:25 +01:00
Linus Färnstrand
39f8796c1c
Merge branch 'add-statsd-stats-to-tcp2udp-des-392' 2024-01-02 10:53:13 +01:00
Linus Färnstrand
d0405fd1d8 Add statsd argument to example tcp2udp systemd service file 2023-12-20 10:43:48 +01:00
Linus Färnstrand
29ac80fe5a Enable statsd in build-static-bins.sh 2023-12-20 10:43:43 +01:00
Linus Färnstrand
3bb6a2b2df Relax atomic ordering on connection counter
Ordering not required. No other data depends on this counter
2023-12-20 10:43:43 +01:00
Linus Färnstrand
c04c4bcacc Add initial statsd reporting 2023-12-20 10:43:43 +01:00
Linus Färnstrand
104ccafcc0
Bump version to 0.3.1 and prepare for release 2023-10-25 09:26:57 +02:00
Linus Färnstrand
c11ca5e2b6
Merge branch 'upgrade-dependencies' 2023-10-10 13:33:16 +02:00
Linus Färnstrand
9a26ad15d9 Upgrade nix dependency to 0.27 2023-10-05 14:21:47 +02:00
Linus Färnstrand
751166b62d Upgrade all dependencies in semver compatible way (cargo update) 2023-10-05 14:18:31 +02:00
Linus Färnstrand
233f170455
Merge branch 'add-exponential-backoff-to-socket-accept' 2023-10-05 14:15:26 +02:00
Linus Färnstrand
62e96944ab Add unit tests to ExponentialBackoff 2023-10-03 17:15:49 +02:00
Odd Stranne
0e38a3cc6a Use cool down period if TCP accept fails 2023-10-03 17:15:49 +02:00
Linus Färnstrand
5d7c1feff6
Merge branch 'fix-ci' 2023-10-03 16:25:27 +02:00
Linus Färnstrand
4f599dcafe Bump oldest tested Rust to 1.70 due to cargo-all-features requirement 2023-10-03 16:09:47 +02:00
Linus Färnstrand
f7f300a3b7 Upgrade proc-macro2 to fix nightly 2023-10-03 15:16:57 +02:00
Linus Färnstrand
c0497224ca Upgrade hermit-abi to non-yanked version 2023-10-03 15:12:56 +02:00
Linus Färnstrand
87936ac29b
Bump version to 0.3.0 and add to changelog 2023-02-28 15:31:48 +01:00
Linus Färnstrand
ab6b617be1
Merge branch 'add-version-to-cli' 2023-02-27 17:45:52 +01:00
Linus Färnstrand
d513ff811d Allow getting the crate version from the CLI 2023-02-27 17:41:04 +01:00