From 1b72a48870a49ecb66dff91b6053086ee94d11ec Mon Sep 17 00:00:00 2001 From: icedrocket <114203630+icedrocket@users.noreply.github.com> Date: Sat, 12 Nov 2022 22:26:32 +0900 Subject: [PATCH] build: add docs.rs metadata --- rp2040-hal/Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rp2040-hal/Cargo.toml b/rp2040-hal/Cargo.toml index b61c064..4c39e79 100644 --- a/rp2040-hal/Cargo.toml +++ b/rp2040-hal/Cargo.toml @@ -7,6 +7,10 @@ homepage = "https://github.com/rp-rs/rp-hal" description = "A Rust Embeded-HAL impl for the rp2040 microcontroller" license = "MIT OR Apache-2.0" +[package.metadata.docs.rs] +features = ["rt", "rom-v2-intrinsics", "defmt", "rtic-monotonic"] +targets = ["thumbv6m-none-eabi"] + # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies]