From 4a91e4c4eb7c7a1324fc575e29f215c6c0144c15 Mon Sep 17 00:00:00 2001 From: Martin Hoffmann Date: Mon, 4 Apr 2022 11:00:42 +0200 Subject: [PATCH] Exclude ui feature for docs.rs. (#742) --- Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 944ad7f..75c5f32 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -66,6 +66,11 @@ ui = [ "routinator-ui" ] [profile.release] panic = "abort" +[package.metadata.docs.rs] +# Building the UI breaks docs.rs, so let’s not. +no-default-features = true +features = [ "socks" ] + [package.metadata.deb] name = "routinator" maintainer = "The NLnet Labs RPKI Team " @@ -128,3 +133,4 @@ post_uninstall_script = "/usr/share/routinator/rpm/postuninst $*" [package.metadata.generate-rpm.requires] shadow-utils = "*" rsync = "*" +