diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2b9198e69..337729a9c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -249,9 +249,8 @@ jobs: if: matrix.deploy run: cargo install --path . --force - - name: Install cross-dev - if: matrix.deploy - run: cargo install --path cross-dev --force + - name: Build cross-dev + run: cargo build --features=dev - uses: ./.github/actions/cargo-install-upload-artifacts if: matrix.deploy diff --git a/docs/crates_io.md b/docs/crates_io.md deleted file mode 100644 index 63663b10e..000000000 --- a/docs/crates_io.md +++ /dev/null @@ -1,11 +0,0 @@ -[![crates.io](https://img.shields.io/crates/v/cross.svg)](https://crates.io/crates/cross) -[![crates.io](https://img.shields.io/crates/d/cross.svg)](https://crates.io/crates/cross) -[![Build Status](https://img.shields.io/azure-devops/build/rust-embedded/c0ce10ee-fd41-4551-b3e3-9612e8ab62f3/2/master)](https://dev.azure.com/rust-embedded/cross/_build?definitionId=2) -[![Docker Pulls](https://img.shields.io/docker/pulls/rustembedded/cross)](https://hub.docker.com/r/rustembedded/cross) -[![Matrix](https://img.shields.io/matrix/cross-rs:matrix.org)](https://matrix.to/#/#cross-rs:matrix.org) - -# `cross` - -

-⚠️ Warning: The cross library is for internal use only: only the command-line interface is stable. The library may change at any point for any reason. For documentation on the CLI, please see the repository README or the wiki. -

diff --git a/src/bin/cross-util.rs b/src/bin/cross-util.rs index fe49efaec..a64731bb5 100644 --- a/src/bin/cross-util.rs +++ b/src/bin/cross-util.rs @@ -136,7 +136,7 @@ fn get_image_target(image: &Image) -> cross::Result { } else if let Some(tag) = image.tag.strip_prefix(DOCKER_IO) { Ok(rustembedded_target(tag)) } else { - eyre::bail!("Cannot get target for image {}", image.name()) + eyre::bail!("cannot get target for image {}", image.name()) } } diff --git a/src/lib.rs b/src/lib.rs index 7a665f122..0faa15d6b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,20 @@ -#![doc = include_str!("../docs/crates_io.md")] +//! [![crates.io](https://img.shields.io/crates/v/cross.svg)](https://crates.io/crates/cross) +//! [![crates.io](https://img.shields.io/crates/d/cross.svg)](https://crates.io/crates/cross) +//! [![Build Status](https://img.shields.io/azure-devops/build/rust-embedded/c0ce10ee-fd41-4551-b3e3-9612e8ab62f3/2/master)](https://dev.azure.com/rust-embedded/cross/_build?definitionId=2) +//! [![Docker Pulls](https://img.shields.io/docker/pulls/rustembedded/cross)](https://hub.docker.com/r/rustembedded/cross) +//! [![Matrix](https://img.shields.io/matrix/cross-rs:matrix.org)](https://matrix.to/#/#cross-rs:matrix.org) +//! +//! # `cross` +//! +//!

+//! ⚠️ Warning: The cross library is for internal +//! use only: only the command-line interface is stable. The library +//! may change at any point for any reason. For documentation on the +//! CLI, please see the repository README +//! or the wiki. +//!

+ + #![deny(missing_debug_implementations, rust_2018_idioms)] #[cfg(test)]