From ce6adf77caaa96dad0f81d8c78e771a9b1687af5 Mon Sep 17 00:00:00 2001 From: Ayush Singh Date: Sat, 13 Nov 2021 09:13:02 +0530 Subject: [PATCH] Enabled docs-only feature in cpp_build Can now generate docs inside container. Dunno if it works in actual crates.io though. --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 767133f..6403ee7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "ki18n-rs" description = "A crate to use KF5I18n from rust." author = ["Ayush Singh "] -version = "1.0.1" +version = "1.0.2" edition = "2018" links = "KF5I18n" license = "MIT" @@ -17,7 +17,7 @@ qmetaobject = "0.2" qttypes = "0.2" [build-dependencies] -cpp_build = "0.5" +cpp_build = {version = "0.5 ", features = ["docs-only"]} semver = "1.0" [package.metadata.docs.rs]