Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update from upstream #1

Closed
wants to merge 4 commits into from
Closed
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
58 changes: 58 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: CI

on: [push, pull_request]

jobs:
build:
name: Build library
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Check library
run: cargo check

test:
name: Run tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Run tests
run: cargo test

clippy:
name: Run clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: "clippy"
- name: Run clippy
run: cargo clippy -- -D warnings

fmt:
name: Run rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: "rustfmt"
- name: Run rustfmt
run: cargo fmt -- --check
35 changes: 35 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Changelog

## Unreleased

-

[All Changes](https://github.com/trussed-dev/cosey/compare/v0.3.1...HEAD)

## [v0.3.1](https://github.com/trussed-dev/cosey/releases/tag/v0.3.1) (2024-06-03)

### Fixed

- Accept keys without algorithm field ([#3](https://github.com/trussed-dev/cosey/issues/3))

[All Changes](https://github.com/trussed-dev/cosey/compare/v0.3.0...v0.3.1)

## [v0.3.0](https://github.com/trussed-dev/cosey/releases/tag/v0.3.0) (2021-06-10)

### Changed

- Update `heapless-bytes` to v0.3.0

[All Changes](https://github.com/trussed-dev/cosey/compare/v0.2.0...v0.3.0)

## [v0.2.0](https://github.com/trussed-dev/cosey/releases/tag/v0.2.0) (2021-02-26)

### Changed

- Update `heapless-bytes` to v0.2.0

[All Changes](https://github.com/trussed-dev/cosey/compare/v0.1.0...v0.2.0)

## [v0.1.0](https://github.com/trussed-dev/cosey/releases/tag/v0.1.0) (2021-01-31)

Initial release with support for EcdhEsHkdf256, Ed25519, P256, Totp and X255.
12 changes: 10 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "cosey"
version = "0.3.0"
version = "0.3.1"
authors = ["Nicolas Stalder <[email protected]>"]
license = "Apache-2.0 OR MIT"
description = "Data types and serde for public COSE_Keys"
categories = ["embedded", "encoding", "no-std"]
keywords = ["cose", "cbor", "rust", "no-std"]
repository = "https://github.com/ycrypto/cosey"
readme = "README.md"
edition = "2018"
edition = "2021"

[dependencies]
heapless-bytes = "0.3.0"
Expand All @@ -18,3 +18,11 @@ serde_repr = "0.1"
version = "1.0"
default-features = false
features = ["derive"]

[dev-dependencies]
cbor-smol = "0.4"
ciborium = "0.2.1"
hex = "0.4.3"
itertools = "0.12.0"
quickcheck = "1.0.3"
serde = "1"
Loading