Skip to content

Removed AsMut for *Ciphertext and instead made a from_bytes constructor #14

Removed AsMut for *Ciphertext and instead made a from_bytes constructor

Removed AsMut for *Ciphertext and instead made a from_bytes constructor #14

Workflow file for this run

name: CI
on:
push:
branches: [ '**' ]
paths-ignore: ["README.md"]
pull_request:
branches: [ '**' ]
paths-ignore: ["README.md"]
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: '-D warnings'
jobs:
test:
name: Test on Rust stable
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- run: cargo test
rustfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- run: cargo fmt --all -- --check
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- run: cargo clippy --all-features -- -D warnings
# Test no_std build-only
build-nostd:
name: Build on no_std target (thumbv7em-none-eabi)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
targets: thumbv7em-none-eabi
- uses: taiki-e/install-action@cargo-hack
# No default features build
- name: no_std / no feat
run: cargo build --target thumbv7em-none-eabi --release --no-default-features
- name: no_std / cargo hack
run: cargo hack build --target thumbv7em-none-eabi --release --each-feature --exclude-features default,std