Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
814 commits
Select commit Hold shift + click to select a range
092aba1
Also rename socket-dhcpv4 in error message.
Dirbaio Sep 21, 2022
edbcbff
Merge #671
bors[bot] Sep 21, 2022
1f25195
Change egress error handling
thvdveld Aug 18, 2022
02535a7
Merge #667
bors[bot] Sep 21, 2022
f5fa089
Adds one-shot mDNS resolution
benbrittain Aug 22, 2022
2d8f6c1
Cleans up some clippy lints
benbrittain Aug 22, 2022
35cea49
Adds DNS query type to example
benbrittain Aug 22, 2022
c6e2d8a
Don't overwrite the DNS servers list permanently
benbrittain Aug 30, 2022
e4af711
Fix 6LoWPAN fragmentation
thvdveld Sep 22, 2022
58fb0cb
Use renewal time from DHCP server ACK, if given
JarredAllen Sep 23, 2022
6a4c549
Fix failing tests
JarredAllen Sep 23, 2022
8775de6
Merge #683
bors[bot] Sep 25, 2022
ab49e56
Fix 6LoWPAN fragmentation
thvdveld Sep 22, 2022
23f618e
Merge #684
bors[bot] Sep 26, 2022
23cb8bd
Move mDNS implementation behind feature flag
benbrittain Sep 26, 2022
c127421
Merge #669
bors[bot] Sep 26, 2022
b88021e
DHCP indicate new config if there's a packet buffer provided
JarredAllen Sep 23, 2022
ba1d4db
Changes egress functions to pass up Err(Exhausted)
benbrittain Sep 26, 2022
64ce56b
remove redundant check and add docs
thvdveld Sep 28, 2022
fc69cdb
Merge #686
bors[bot] Sep 28, 2022
bd220eb
fix boundary case of assembler::remove_contig_at
Oct 8, 2022
d2e8e99
add addr resolv with context
thvdveld Sep 30, 2022
e66cdf4
Merge #687
bors[bot] Oct 10, 2022
82faba2
Use process_udp for UDP handling in 6LoWPAN
thvdveld Sep 22, 2022
c294ce5
Move 6LoWPAN frag handling to own function
thvdveld Sep 22, 2022
18e26c7
Remove cfg_if in src/iface/interface
thvdveld Sep 22, 2022
3a0568c
Merge #681
bors[bot] Oct 10, 2022
7633e48
Increase version (for making patches work)
thvdveld Oct 10, 2022
16d13ea
Merge #690
bors[bot] Oct 10, 2022
5ab74b3
use same version number as released
thvdveld Oct 10, 2022
6dca806
Make public Ipv6RoutingType
Oct 10, 2022
26b2eae
Merge #691
bors[bot] Oct 10, 2022
5b3d6fc
Merge #692
bors[bot] Oct 10, 2022
185a008
First pass constification of the wire module
Oct 12, 2022
0b17cba
Bump MSRV to 1.61
Oct 12, 2022
a99c059
Set rust-version = 1.61 in Cargo.toml
Oct 12, 2022
20a4ca7
Split interface into multiple files
thvdveld Oct 23, 2022
5451ecc
Fix missing `#[test]`
Dirbaio Oct 23, 2022
eaf01ca
Merge #699
bors[bot] Oct 23, 2022
ef59b94
Merge #698
bors[bot] Oct 23, 2022
93b4c82
Merge #693
bors[bot] Oct 23, 2022
a794133
Merge #689
bors[bot] Oct 23, 2022
a55c00f
assembler: do not return whether there was an overlap.
Dirbaio Oct 23, 2022
6c2352b
Merge #700
bors[bot] Oct 23, 2022
b66e140
Merge #685
bors[bot] Oct 23, 2022
09d64b0
Fix how `Instant` is displayed
thvdveld Oct 26, 2022
202e9b4
Merge #701
bors[bot] Oct 26, 2022
4300e7c
GAT-based Device trait.
Dirbaio Nov 24, 2021
9d86fb9
Bump MSRV to 1.65
Dirbaio Nov 6, 2022
13cc7f8
Clippy fixes.
Dirbaio Nov 6, 2022
f403862
Merge #572
bors[bot] Nov 6, 2022
c53e668
Fix medium-ip not compiling complaining of needing EthernetAddress
Oct 29, 2022
54a73b0
Merge #706
bors[bot] Nov 6, 2022
5084250
add icmp tests for 6LoWPAN (also with frags)
thvdveld Sep 23, 2022
3057e73
Add changelog for v0.8.2
Dirbaio Nov 27, 2022
9323781
Merge #682
bors[bot] Nov 27, 2022
160ceb9
Make `std` imply `alloc` feature.
Dirbaio Nov 27, 2022
5c6ce3d
Merge #709
bors[bot] Nov 27, 2022
ef0d413
Add printing of the needed size of fragmentation buffer.
KOLANICH Nov 28, 2022
656bf35
Merge #711
bors[bot] Nov 29, 2022
d235b3a
add more tests in CI
thvdveld Nov 29, 2022
ae428c1
Merge #712
bors[bot] Nov 29, 2022
6fbde4f
Fix panic when using IPv4 fragmentation with Layer 3 networks.
KOLANICH Nov 28, 2022
b7a7c4b
Merge #710
bors[bot] Nov 29, 2022
5206a87
Fix PacketBuffer contig_window check when empty
mkeeter Dec 7, 2022
0e614bc
Merge #714
bors[bot] Dec 7, 2022
0fe0ec8
fix reversed udp server example in README
overheat Dec 13, 2022
df6d09c
Merge pull request #717 from overheat/reversed_udp_readme
Dirbaio Dec 13, 2022
24af392
Make `AnySocket` object safe
tsoutsman Dec 16, 2022
8cf7625
ip_addrs field of an interface is now a heapless::Vec (one test still…
davidedellagiustina Dec 20, 2022
aec718a
Fix clippy and rustfmt errors
davidedellagiustina Dec 20, 2022
eb811cf
Use constant for vec size instead of hardcoded usize
davidedellagiustina Dec 20, 2022
4ddb96b
Increased max number of IPs from 4 to 5 because some test use 5
davidedellagiustina Dec 20, 2022
bf82753
Fixed problem with doc test
davidedellagiustina Dec 20, 2022
66325a1
Remove `Sized` bound from `Socket` methods
tsoutsman Dec 21, 2022
119759b
Merge #718
bors[bot] Dec 21, 2022
3455acb
Merge #719
bors[bot] Dec 21, 2022
3349607
Make `AnySocket` object safe
tsoutsman Dec 22, 2022
769630f
Merge #721
bors[bot] Dec 23, 2022
9beb57a
iface: use heapless Vec for routes.
Dirbaio Dec 22, 2022
4eb49b8
iface: use heapless LinearMap for neighbor cache.
Dirbaio Dec 22, 2022
e9016e7
iface: add PhantomData to avoid unused lifetime errors.
Dirbaio Dec 22, 2022
d9f5b4b
clippy: allow new_without_default.
Dirbaio Dec 22, 2022
94a52d8
iface: use heapless LinearMap for ipv4_multicast_groups
Dirbaio Dec 23, 2022
8b92e20
Remove feature rust-1_28
Dirbaio Dec 23, 2022
25a8c46
Merge #725
bors[bot] Dec 23, 2022
19c7cba
Merge pull request #722 from smoltcp-rs/heapless
Dirbaio Dec 24, 2022
9183ca7
Fix pretty print and tcp socket connect tests
thvdveld Dec 22, 2022
92ea948
Merge #724
bors[bot] Dec 27, 2022
3395454
Clippy fixes.
Dirbaio Dec 30, 2022
b07707d
Merge #728
bors[bot] Dec 30, 2022
38094d9
Switch to Rust 2021.
Dirbaio Jan 1, 2023
3a080d8
Clippy fixes
Dirbaio Jan 1, 2023
fdeec58
Merge #729
bors[bot] Jan 1, 2023
19a0389
assembler: don't return Option.
Dirbaio Dec 23, 2022
274260c
assembler: refactor algorithm to not care about total buffer size.
Dirbaio Dec 24, 2022
027ec16
packet assembler: remove NotInit state.
Dirbaio Dec 24, 2022
4026982
packet assembler: remove unused Error::PacketAssemblerOverlap
Dirbaio Dec 24, 2022
af115a5
packet assembler: simplify data structure and api.
Dirbaio Dec 24, 2022
93d5d8a
Refactor reassembly for 6LoWPAN
thvdveld Dec 27, 2022
9a5e7e5
sixlowpan: do not use assembler for decompressing non-fragmented pack…
Dirbaio Dec 30, 2022
413b205
assembler: remove offset correction.
Dirbaio Dec 30, 2022
1dc1451
Make IpEndpoints parse unspecified IPv6 IPs
fluxchief Jan 4, 2023
5cd0022
Add peek and peek_slice functions to RawSocket
Jan 13, 2023
af73ab6
Appease rustfmt
Jan 13, 2023
512bba4
Change rawsocket peek to look more like recv
Jan 13, 2023
6197033
Add tests for raw socket peek
Jan 13, 2023
fe77138
Merge #734
bors[bot] Jan 13, 2023
8f52dab
Merge #732
bors[bot] Jan 14, 2023
7143833
wire/udp: make `emit_header` not able to calculate checksum.
Dirbaio Jan 14, 2023
df3556e
wire/sixlowpan: use wire error everywhere.
Dirbaio Dec 30, 2022
e782ada
iface/route: use own error type.
Dirbaio Dec 30, 2022
0102a4b
phy: make consume infallible, move timestamp to receive/transmit.
Dirbaio Jan 1, 2023
836082c
Remove some self destructurings, not needed anymore in Rust 2021.
Dirbaio Jan 1, 2023
4a8cd44
wire: remove all uses of crate::{Error, Result};
Dirbaio Jan 1, 2023
0e1ba69
socket: remove all uses of crate::{Error, Result};
Dirbaio Jan 1, 2023
f4a823a
iface: move igmp code to a separate mod.
Dirbaio Jan 1, 2023
050731b
iface: remove all uses of crate::{Error, Result};
Dirbaio Jan 1, 2023
84cea13
Remove crate::{Error, Result}.
Dirbaio Jan 1, 2023
1f7e1fa
Merge #730
bors[bot] Jan 14, 2023
6da8854
assembler: fix shift left when coalescing multiple contigs.
Dirbaio Jan 16, 2023
8bd28ab
tcp: ensure we always accept the segment at offset=0 even if the asse…
Dirbaio Jan 16, 2023
9913564
assembler: fix comments
Dirbaio Jan 16, 2023
4033a7c
Merge #735
bors[bot] Jan 16, 2023
c9f3a1c
wire/ndisc: do not error on unrecognized options.
Dirbaio Jan 15, 2023
fcac25c
Merge #737
bors[bot] Jan 16, 2023
4fd767e
Allow specifying different server/client DHCP ports
czocher Jan 16, 2023
7b631c2
Merge #738
bors[bot] Jan 16, 2023
0af56fa
dhcpv4: use let-else to get eth addr.
Dirbaio Jan 15, 2023
c015cc3
iface: use owned frag buffer, remove frag from builder.
Dirbaio Jan 16, 2023
bc7fe74
sixlowpan: make address context owned.
Dirbaio Jan 16, 2023
b73c943
iface: remove lifetimes.
Dirbaio Jan 16, 2023
5740b76
iface: remove builder.
Dirbaio Jan 19, 2023
80b0756
Merge pull request #736 from smoltcp-rs/fixes
Dirbaio Jan 19, 2023
9a28858
Instant is microseconds, not milliseconds
datdenkikniet Jan 28, 2023
98deb41
Merge #739
bors[bot] Jan 28, 2023
3a9d017
Remove unneeded ref patterns and destructures.
Dirbaio Feb 5, 2023
f5398a2
Merge #741
bors[bot] Feb 5, 2023
7bc1d4e
Fix clippy.
Dirbaio Feb 6, 2023
c900ffd
Merge #743
bors[bot] Feb 6, 2023
f428a50
iface: rename sixlowpan_fragments_cache_timeout -> sixlowpan_reassemb…
Dirbaio Feb 5, 2023
12fd816
iface: unify ipv4/6lowpan packet assemblers.
Dirbaio Feb 5, 2023
d13db8b
iface: unify ipv4/6lowpan fragmenters.
Dirbaio Feb 5, 2023
a656ab0
iface: use reassembly timeout setting for both ipv4 and 6lowpan.
Dirbaio Feb 6, 2023
3fbef82
Merge pull request #740 from smoltcp-rs/fragmentation-unify
Dirbaio Feb 6, 2023
b047cbe
Add compile-time configuration options for counts and buffer sizes.
Dirbaio Feb 6, 2023
739e7a5
Merge pull request #742 from smoltcp-rs/size-configs
Dirbaio Feb 6, 2023
20e5455
Release v0.9.0
Dirbaio Feb 6, 2023
46cca50
Fix parsing of link layer address for ndiscoptions
thvdveld Feb 8, 2023
c978b36
Merge #746
bors[bot] Feb 8, 2023
51af32e
iface: make MulticastError public.
Dirbaio Feb 8, 2023
c924393
Merge #747
bors[bot] Feb 8, 2023
9027825
Release v0.9.1
Dirbaio Feb 8, 2023
cce9ae7
tcp: do not count window updates as duplicate acks.
Dirbaio Feb 20, 2023
61e7d44
Add support for rebinding to DHCP implementation
JarredAllen Feb 2, 2023
f65351a
implement Display and Error for error types
mhils Mar 2, 2023
b3816e1
Merge pull request #750 from mhils/error-impl
Dirbaio Mar 2, 2023
dc3c444
Remove extern crate calls
rubdos Mar 7, 2023
4e4567d
Bump env_logger dev-dependency
rubdos Mar 7, 2023
bc12398
Merge #751
bors[bot] Mar 7, 2023
ed0a770
Better defmt of Instant, Duration and Ipv6Address
thvdveld Mar 20, 2023
80a7e18
modify defmt formatting for Cidr
thvdveld Mar 20, 2023
91fc759
Change defmt formatting for IEEE802154 address
thvdveld Mar 20, 2023
9eb8292
Merge #754
bors[bot] Mar 20, 2023
d7d6294
Add Hash trait for enum_with_unknown macro
ssrlive Mar 23, 2023
9b525ae
add Error trait for some struct
ssrlive Mar 24, 2023
4c82a9f
Merge #756
bors[bot] Mar 24, 2023
fbafffc
Merge #755
bors[bot] Mar 24, 2023
bf1132d
implement Display and Error for error types
ssrlive Mar 26, 2023
2b90103
Update fragmentation.rs
ssrlive Mar 26, 2023
e51d227
Merge #757
bors[bot] Mar 26, 2023
4b1e8b1
Better impls defmt for some structs
thvdveld Mar 29, 2023
1549a5e
Merge #758
bors[bot] Mar 29, 2023
f95fbca
Put IEEE802154 in separate iface module
thvdveld Mar 29, 2023
d2fd7ff
Bump minor version of heapless
GrantM11235 Mar 29, 2023
65c318e
Merge #760
bors[bot] Mar 29, 2023
bd20865
Merge #759
bors[bot] Mar 30, 2023
27c6f61
added opcode and flag enums to dns export
wmcleish Apr 3, 2023
f7e4993
formatting
wmcleish Apr 3, 2023
e9ce9e5
formatting
wmcleish Apr 3, 2023
9182324
formatting
wmcleish Apr 3, 2023
3f4210c
Update from comments
wmcleish Apr 4, 2023
0254454
Merge #763
bors[bot] Apr 4, 2023
dcac7ad
Merge #744
bors[bot] Apr 4, 2023
4aaab35
Merge #748
bors[bot] Apr 4, 2023
099f5f7
Don't use Option for neighbor cache anymore
thvdveld Feb 8, 2023
572b22b
Clippy fix.
Dirbaio Apr 4, 2023
8fca439
Merge #745
bors[bot] Apr 4, 2023
99adcf7
Fix incorrect test packet
thvdveld Apr 7, 2023
2ccf297
Merge #764
bors[bot] Apr 7, 2023
af1d94a
Add wire representation for the RPL protocol.
thvdveld Apr 7, 2023
5aca9f2
Merge #766
bors[bot] Apr 7, 2023
68a67fa
use shell script for CI tasks
thvdveld Apr 14, 2023
1d3e7f9
Merge #771
bors[bot] Apr 16, 2023
42dd475
Add code coverage using llvm-cov and codecov.io
thvdveld Apr 16, 2023
56d329b
Merge pull request #774 from thvdveld/ci-code-coverage
Dirbaio Apr 17, 2023
a45a39e
Add RPL Hop-by-Hop option to IPv6Option
thvdveld Apr 7, 2023
be7bd72
Implement the sequence counter from RFC6550 7.2
thvdveld Apr 14, 2023
8681d66
Implement the Trickle algorithm defined in RFC6206
thvdveld Apr 14, 2023
5f34813
Add codecov.io badge on the README
thvdveld Apr 17, 2023
8aecdeb
Merge pull request #775 from thvdveld/coverage-badge
Dirbaio Apr 17, 2023
d1d1d23
Add file descriptor support for tuntap devices
blechschmidt Apr 17, 2023
9f69242
Merge #776
bors[bot] Apr 17, 2023
35b6fec
disable codecov diff annotations
Dirbaio Apr 17, 2023
8b0c521
Merge #767
bors[bot] Apr 23, 2023
29abfa3
fix: check length field of NDISC redirected head
thvdveld May 10, 2023
dda1566
Merge #784
bors[bot] May 25, 2023
480051c
Merge #772 #773
bors[bot] May 25, 2023
6513c94
Add RPL Rank logic
thvdveld Apr 18, 2023
391e762
Add `proto-rpl` to CI tests
thvdveld Apr 18, 2023
54eeb4c
Merge #777
bors[bot] May 25, 2023
838c138
fix: make codecov informational
thvdveld May 25, 2023
16d10d0
Merge #789
bors[bot] May 25, 2023
4ea8354
Rewrite IPv6 extension headers
thvdveld Apr 24, 2023
23d0754
Add tests for 6LoWPAN extension headers.
thvdveld Apr 24, 2023
e4e39ac
Merge #781
bors[bot] May 25, 2023
74fd2ae
IPv4: Don't discard from unspecified src addresses
bjoernQ May 12, 2023
6687745
Merge #787
bors[bot] May 25, 2023
7e12265
tcp: Wake tx waker after abort()
mkj May 25, 2023
88aa133
Merge pull request #788 from mkj/abort-wake
Dirbaio May 25, 2023
d02d002
add(rpl): relations table
thvdveld May 30, 2023
5c6475a
fix(791): wrong payload length of first IPv4 frag
thvdveld Jun 5, 2023
1f9b9f0
Merge #792
bors[bot] Jun 5, 2023
8065502
Switch from bors to github merge queue.
Dirbaio Jun 5, 2023
a080c82
Merge pull request #793 from smoltcp-rs/gha-merge-queue
Dirbaio Jun 5, 2023
7b4246d
Merge pull request #790 from thvdveld/rpl-relations-buffer
thvdveld Jun 6, 2023
f68603d
Add objective function and parent set
thvdveld Jun 5, 2023
8f4820f
Merge pull request #798 from thvdveld/rpl-objective-function
thvdveld Jun 12, 2023
533f103
pass the now time when creating the iface
thvdveld Jun 12, 2023
7d78370
iface: add support for sending to subnet-local broadcast addrs (like …
Dirbaio Jun 14, 2023
047d6a8
Merge pull request #801 from smoltcp-rs/broadcast-egress
Dirbaio Jun 16, 2023
81fbe91
Merge pull request #799 from thvdveld/iface-with-instant-now
Dirbaio Jun 16, 2023
2741503
iface: fix outdated docs on Interface::new
elenaf9 Jun 22, 2023
fd6f71f
rpl: use LinearMap for the ParentSet
thvdveld Jun 23, 2023
6831e86
Merge pull request #804 from thvdveld/rpl-parents-use-linear-map
thvdveld Jun 23, 2023
97afe68
iface: doc panic if hardware addr doesn't match
elenaf9 Jun 23, 2023
6139bc8
Merge pull request #803 from elenaf9/iface/fix-comment
thvdveld Jun 23, 2023
78b4f39
Device-level packet metadata identifiers
datdenkikniet Jun 24, 2023
409ad14
Rename PacketId to PacketMeta, make id field public.
Dirbaio Jun 24, 2023
2e40ed0
udp: use UdpMetadata for send/recv fns, add Into impl so you can stil…
Dirbaio Jun 24, 2023
efa7897
Rename feature `packet-id` -> `packetmeta-id`.
Dirbaio Jun 25, 2023
942ec6d
Add PacketMeta docs.
Dirbaio Jun 25, 2023
2b0ad1a
Don't use option in PacketMeta.id.
Dirbaio Jun 25, 2023
a4cee91
Merge pull request #628 from datdenkikniet/unique_packet_id
Dirbaio Jun 25, 2023
3a8f133
Pass PacketMeta separately, not within IpPacket.
Dirbaio Jun 25, 2023
c7e1a51
Merge pull request #805 from smoltcp-rs/packetmeta-no-ippacket
Dirbaio Jun 25, 2023
6239609
Improve tests using rstest, move into own files, add more tests
thvdveld Jun 25, 2023
803840b
Merge pull request #796 from thvdveld/improve-tests
Dirbaio Jun 25, 2023
9cfd5cf
wire: Reexport DnsRcode
Dirbaio Jun 26, 2023
9c903a8
Merge pull request #806 from smoltcp-rs/reexport-rcode
Dirbaio Jun 26, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
github_checks:
annotations: false

coverage:
status:
project:
default:
informational: true
patch:
default:
informational: true
21 changes: 21 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
on:
pull_request:
merge_group:

name: Coverage

jobs:
coverage:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Install `cargo llvm-cov`
uses: taiki-e/install-action@cargo-llvm-cov
- name: Run Coverage
run: ./ci.sh coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
#token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
files: lcov.info
fail_ci_if_error: false
17 changes: 17 additions & 0 deletions .github/workflows/fuzz.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
on:
pull_request:
merge_group:

name: Fuzz

jobs:
fuzz:
runs-on: ubuntu-22.04
env:
RUSTUP_TOOLCHAIN: nightly
steps:
- uses: actions/checkout@v2
- name: Install cargo-fuzz
run: cargo install cargo-fuzz
- name: Fuzz
run: cargo fuzz run packet_parser -- -max_len=1536 -max_total_time=30
44 changes: 44 additions & 0 deletions .github/workflows/matrix-bot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Matrix bot
on:
pull_request_target:
types: [opened, closed]

jobs:
new-pr:
if: github.event.action == 'opened' && github.repository == 'smoltcp-rs/smoltcp'
runs-on: ubuntu-latest
continue-on-error: true
steps:
- name: send message
uses: s3krit/matrix-message-action@v0.0.3
with:
room_id: ${{ secrets.MATRIX_ROOM_ID }}
access_token: ${{ secrets.MATRIX_ACCESS_TOKEN }}
message: "New PR: [${{ github.event.pull_request.title }}](${{ github.event.pull_request.html_url }})"
server: "matrix.org"

merged-pr:
if: github.event.action == 'closed' && github.event.pull_request.merged == true && github.repository == 'smoltcp-rs/smoltcp'
runs-on: ubuntu-latest
continue-on-error: true
steps:
- name: send message
uses: s3krit/matrix-message-action@v0.0.3
with:
room_id: ${{ secrets.MATRIX_ROOM_ID }}
access_token: ${{ secrets.MATRIX_ACCESS_TOKEN }}
message: "PR merged: [${{ github.event.pull_request.title }}](${{ github.event.pull_request.html_url }})"
server: "matrix.org"

abandoned-pr:
if: github.event.action == 'closed' && github.event.pull_request.merged == false && github.repository == 'smoltcp-rs/smoltcp'
runs-on: ubuntu-latest
continue-on-error: true
steps:
- name: send message
uses: s3krit/matrix-message-action@v0.0.3
with:
room_id: ${{ secrets.MATRIX_ROOM_ID }}
access_token: ${{ secrets.MATRIX_ACCESS_TOKEN }}
message: "PR closed without merging: [${{ github.event.pull_request.title }}](${{ github.event.pull_request.html_url }})"
server: "matrix.org"
12 changes: 12 additions & 0 deletions .github/workflows/rustfmt.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
on:
pull_request:
merge_group:

name: Rustfmt check
jobs:
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Check fmt
run: cargo fmt -- --check
64 changes: 64 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
on:
pull_request:
merge_group:

name: Test

jobs:
tests:
runs-on: ubuntu-22.04
needs: [check-msrv, test-msrv, test-stable, clippy]
steps:
- name: Done
run: exit 0

check-msrv:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Run Checks MSRV
run: ./ci.sh check msrv

test-msrv:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Run Tests MSRV
run: ./ci.sh test msrv

clippy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Run Clippy
run: ./ci.sh clippy

test-stable:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Run Tests stable
run: ./ci.sh test stable

test-nightly:
runs-on: ubuntu-22.04
continue-on-error: true
steps:
- uses: actions/checkout@v2
- name: Run Tests nightly
run: ./ci.sh test nightly

#check-stable:
#runs-on: ubuntu-22.04
#steps:
#- uses: actions/checkout@v2
#- name: Run Tests
#run: ./ci.sh check stable

#check-nightly:
#runs-on: ubuntu-22.04
#continue-on-error: true
#steps:
#- uses: actions/checkout@v2
#- name: Run Tests
#run: ./ci.sh check nightly
19 changes: 0 additions & 19 deletions .test_like_travis.rb

This file was deleted.

69 changes: 0 additions & 69 deletions .travis.yml

This file was deleted.

Loading