From c3e9d4441f4bffd1f374bff8173db89d51becaa3 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Mon, 12 Feb 2024 16:55:19 +0100 Subject: [PATCH] prepare sat-rs release --- automation/Dockerfile | 4 +++- automation/Jenkinsfile | 2 +- satrs/CHANGELOG.md | 4 ++++ satrs/Cargo.toml | 14 ++++---------- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/automation/Dockerfile b/automation/Dockerfile index 73e9bb6..323d8c2 100644 --- a/automation/Dockerfile +++ b/automation/Dockerfile @@ -15,7 +15,9 @@ RUN rustup install nightly && \ rustup component add rustfmt clippy WORKDIR "/tmp" -# RUN cargo install mdbook --no-default-features --features search --vers "^0.4" --locked +# Install cargo-nextest +RUN curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin +# Install mdbook and mdbook-linkcheck RUN curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.37/mdbook-v0.4.37-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory /usr/local/bin RUN curl -sSL https://github.com/Michael-F-Bryan/mdbook-linkcheck/releases/latest/download/mdbook-linkcheck.x86_64-unknown-linux-gnu.zip -o mdbook-linkcheck.zip && \ unzip mdbook-linkcheck.zip && \ diff --git a/automation/Jenkinsfile b/automation/Jenkinsfile index 507dee0..7aafe26 100644 --- a/automation/Jenkinsfile +++ b/automation/Jenkinsfile @@ -32,7 +32,7 @@ pipeline { } stage('Test') { steps { - sh 'cargo test --all-features' + sh 'cargo nextest r --all-features' } } stage('Check with all features') { diff --git a/satrs/CHANGELOG.md b/satrs/CHANGELOG.md index 68e54a2..4418e68 100644 --- a/satrs/CHANGELOG.md +++ b/satrs/CHANGELOG.md @@ -7,3 +7,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). # [unreleased] + +# [v0.1.0] 2024-02-12 + +Initial release. diff --git a/satrs/Cargo.toml b/satrs/Cargo.toml index 81b194f..55b9ba0 100644 --- a/satrs/Cargo.toml +++ b/satrs/Cargo.toml @@ -15,17 +15,14 @@ categories = ["aerospace", "aerospace::space-protocols", "no-std", "hardware-sup [dependencies] delegate = ">0.7, <=0.10" paste = "1" - -[dependencies.smallvec] -version = "1" +smallvec = "1" +crc = "3" +satrs-shared = "0.1.1" [dependencies.num_enum] version = ">0.5, <=0.7" default-features = false -[dependencies.crc] -version = "3" - [dependencies.dyn-clone] version = "1" optional = true @@ -70,9 +67,6 @@ version = "0.5.4" features = ["all"] optional = true -[dependencies.satrs-shared] -version = "0.1.1" - [dependencies.spacepackets] version = "0.9" default-features = false @@ -115,7 +109,7 @@ alloc = [ "dyn-clone", "downcast-rs" ] -serde = ["dep:serde", "spacepackets/serde"] +serde = ["dep:serde", "spacepackets/serde", "satrs-shared/serde"] crossbeam = ["crossbeam-channel"] heapless = ["dep:heapless"] doc-images = []