Dario Nieuwenhuis
17e0ddcee3
Add rand module.
...
On `std` targets, `OsRng` is used by default. The user can supply a custom impl
by enabling the `rand-custom-impl` Cargo feature and using the `rand_custom_impl!()` macro.
Specifying a custom impl is mandatory when `std` is not enabled.
2021-10-11 20:53:04 +02:00
Emil Gardström
28c6dc6faf
make bors checks much simpler
2021-10-05 21:50:50 +02:00
Dario Nieuwenhuis
df53707dad
Fix fuzz on latest nightly.
...
See https://github.com/rust-fuzz/cargo-fuzz/issues/276
2021-09-26 22:09:48 +02:00
Dario Nieuwenhuis
9317cb0ede
Add bors.toml
2021-09-17 00:59:45 +02:00
Dario Nieuwenhuis
4187fc3a5c
Add bors
2021-09-16 19:39:23 +02:00
Thibaut Vandervelden
cebd9d38f4
Update MSV of Rust
2021-09-10 14:41:03 +02:00
Dario Nieuwenhuis
a94f1b231c
Bump MSRV to 1.46
2021-08-18 15:19:38 +02:00
Dario Nieuwenhuis
2d49b64182
Fix typo in rustfmt ci
2021-06-28 20:22:18 +02:00
Dario Nieuwenhuis
68ec69d411
Enforce rustfmt in CI
2021-06-28 20:13:06 +02:00
Dario Nieuwenhuis
32311b23dc
Add Context struct.
2021-06-17 03:20:58 +02:00
Dario Nieuwenhuis
8f1e547b67
Test with defmt-trace
2021-05-28 18:49:07 +02:00
Dario Nieuwenhuis
77c46220a6
Document MSRV with the defmt exception, don't test defmt with 1.40
2021-04-01 02:15:35 +02:00
Dario Nieuwenhuis
e57ec1e5c8
Add test with defmt feature.
2021-04-01 01:42:17 +02:00
Dario Nieuwenhuis
9e3b373e36
Add support for TUN interfaces.
2021-03-31 17:05:09 +02:00
Dario Nieuwenhuis
af4a1e6436
Add medium-ip, medium-ethernet feature flags.
2021-03-31 17:05:09 +02:00
Dario Nieuwenhuis
857c012f14
Fix build when with no socket features
2021-02-01 16:45:32 +01:00
Niclas Hoyer
ad7795f996
Use #[non_exhaustive] instead of manual variant
2021-01-09 02:06:00 +01:00
Alex Crawford
1ca765230d
Pin clippy check to 1.49.0
...
It can be rather surprising when new lints pop up when a new stable
toolchain is released. Let's pin this check to a specific version to
avoid those surprises.
2021-01-04 10:42:26 -08:00
Alex Crawford
bcd78bbb1b
Enable clippy on tests and examples
...
Might as well run the lints on our tests and examples. When I first
started doing this cleanup, I thought this was the default, but I must
have run `cargo clippy --all-targets` at some point in there.
2021-01-04 10:39:33 -08:00
Alex Crawford
a7e6970103
Enforce that there are no warnings in clippy check
2020-12-28 23:31:17 -08:00
Dario Nieuwenhuis
4e11070ff4
Async/await waker support.
2020-12-27 17:31:49 +01:00
Adam Greig
8fb34901a7
Add Github Actions for CI
2020-12-22 13:11:35 +00:00