Skip to content

Commit

Permalink
Apply requested changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexhuszagh committed Jun 8, 2022
1 parent 5a22603 commit 24c2410
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 16 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 0 additions & 11 deletions docs/crates_io.md

This file was deleted.

2 changes: 1 addition & 1 deletion src/bin/cross-util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ fn get_image_target(image: &Image) -> cross::Result<String> {
} 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())
}
}

Expand Down
18 changes: 17 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -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`
//!
//! <p style="background:rgba(148,192,255,0.1);padding:0.5em;border-radius:0.2em">
//! <strong>⚠️ Warning:</strong> 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 <a href="https://github.com/cross-rs/cross">README</a>
//! or the <a href="https://github.com/cross-rs/cross/wiki">wiki</a>.
//! </p>


#![deny(missing_debug_implementations, rust_2018_idioms)]

#[cfg(test)]
Expand Down

0 comments on commit 24c2410

Please sign in to comment.