From 51dfa4d25f54705b2a7efb7fca08062b00bb1891 Mon Sep 17 00:00:00 2001 From: Hugues de Valon Date: Sun, 23 Aug 2020 14:15:50 +0100 Subject: [PATCH] Add embedded targets to docs.rs Signed-off-by: Hugues de Valon --- Cargo.toml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 6bdb11a9..e995d82e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,6 +20,17 @@ bare-metal = { version = "0.2.0", features = ["const-fn"] } volatile-register = "0.2.0" bitfield = "0.13.2" +[package.metadata.docs.rs] +targets = [ + "thumbv8m.main-none-eabihf", + "thumbv6m-none-eabi", + "thumbv7em-none-eabi", + "thumbv7em-none-eabihf", + "thumbv7m-none-eabi", + "thumbv8m.base-none-eabi", + "thumbv8m.main-none-eabi" +] + [features] cm7-r0p1 = [] inline-asm = []