Trying to fix docs in docs.rs.

This commit is contained in:
Ayush Singh 2021-11-13 08:56:39 +05:30
parent 73e070aa27
commit d61d5bae1f
2 changed files with 7 additions and 2 deletions

View file

@ -22,3 +22,5 @@ jobs:
run: cargo build --verbose run: cargo build --verbose
- name: Run tests - name: Run tests
run: cargo test --verbose run: cargo test --verbose
- name: Generate Docs
run: cargo doc --verbose

View file

@ -2,14 +2,14 @@
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.0" version = "1.0.1"
edition = "2018" edition = "2018"
links = "KF5I18n" links = "KF5I18n"
license = "MIT" license = "MIT"
license-file = "LICENSE.txt"
readme = "README.md" readme = "README.md"
repository = "https://github.com/Ayush1325/ki18n-rs" repository = "https://github.com/Ayush1325/ki18n-rs"
keywords = ["ki18n", "kde", "localization"] keywords = ["ki18n", "kde", "localization"]
build = "build.rs"
[dependencies] [dependencies]
cpp = "0.5" cpp = "0.5"
@ -19,3 +19,6 @@ qttypes = "0.2"
[build-dependencies] [build-dependencies]
cpp_build = "0.5" cpp_build = "0.5"
semver = "1.0" semver = "1.0"
[package.metadata.docs.rs]
dependencies = ["qtbase5-dev", "qtdeclarative5-dev", "libqt5svg5-dev", "qtquickcontrols2-5-dev", "qml-module-org-kde-kirigami2", "kirigami2-dev", "libkf5i18n-dev", "gettext", "libkf5coreaddons-dev", "qml-module-qtquick-layouts"]