Enabled docs-only feature in cpp_build

Can now generate docs inside container. Dunno if it works in actual
crates.io though.
This commit is contained in:
Ayush Singh 2021-11-13 09:13:02 +05:30
parent d61d5bae1f
commit ce6adf77ca

View file

@ -2,7 +2,7 @@
name = "ki18n-rs" name = "ki18n-rs"
description = "A crate to use KF5I18n from rust." description = "A crate to use KF5I18n from rust."
author = ["Ayush Singh <ayushdevel1325@gmail.com>"] author = ["Ayush Singh <ayushdevel1325@gmail.com>"]
version = "1.0.1" version = "1.0.2"
edition = "2018" edition = "2018"
links = "KF5I18n" links = "KF5I18n"
license = "MIT" license = "MIT"
@ -17,7 +17,7 @@ qmetaobject = "0.2"
qttypes = "0.2" qttypes = "0.2"
[build-dependencies] [build-dependencies]
cpp_build = "0.5" cpp_build = {version = "0.5 ", features = ["docs-only"]}
semver = "1.0" semver = "1.0"
[package.metadata.docs.rs] [package.metadata.docs.rs]