Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
14 changes: 14 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "cargo"
directory: "/"
schedule:
interval: "weekly"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
19 changes: 19 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Publish to crates.io
on:
push:
tags: ['v*']
jobs:
publish:
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write # Required for OIDC token exchange
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- uses: rust-lang/crates-io-auth-action@b7e9a28eded4986ec6b1fa40eeee8f8f165559ec # v1.0.3
id: auth
- run: cargo publish
env:
CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}
21 changes: 15 additions & 6 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,40 @@ on:
pull_request:
branches: [ "main" ]

permissions:
contents: read

env:
CARGO_TERM_COLOR: always

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: sensorfu/setup-rust-action@85940738c5db112e81788a1903deb48f51a8f8c5
- uses: actions/checkout@v6
with:
persist-credentials: false
- uses: sensorfu/setup-rust-action@v1
with:
components: rustfmt
- run: cargo fmt --verbose --check

clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: sensorfu/setup-rust-action@85940738c5db112e81788a1903deb48f51a8f8c5
- uses: actions/checkout@v6
with:
persist-credentials: false
- uses: sensorfu/setup-rust-action@v1
with:
components: clippy
- run: cargo clippy --verbose

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: sensorfu/setup-rust-action@85940738c5db112e81788a1903deb48f51a8f8c5
- uses: actions/checkout@v6
with:
persist-credentials: false
- uses: sensorfu/setup-rust-action@v1
- run: cargo test --verbose
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.1.2] — 2026-02-09

### Added

- Add support for 48, 64 and 128 bit integers ([#3](https://github.com/sensorfu/pktbuilder/pull/3))

## [0.1.1] — 2025-04-15

### Added
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pktbuilder"
version = "0.1.1"
version = "0.1.2"
authors = [ "Jukka Taimisto <jtaimisto@gmail.com>", "Ossi Herrala <oherrala@iki.fi>" ]
edition = "2021"
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright 2025 SensorFu Ltd.
Copyright 2025–2026 SensorFu Ltd.

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the “Software”), to deal in
Expand Down