diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index ce94d8c..801132b 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -22,3 +22,5 @@ jobs: run: cargo build --verbose - name: Run tests run: cargo test --verbose + - name: Generate Docs + run: cargo doc --verbose diff --git a/Cargo.toml b/Cargo.toml index 33bbc2f..767133f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,14 +2,14 @@ name = "ki18n-rs" description = "A crate to use KF5I18n from rust." author = ["Ayush Singh "] -version = "1.0.0" +version = "1.0.1" edition = "2018" links = "KF5I18n" license = "MIT" -license-file = "LICENSE.txt" readme = "README.md" repository = "https://github.com/Ayush1325/ki18n-rs" keywords = ["ki18n", "kde", "localization"] +build = "build.rs" [dependencies] cpp = "0.5" @@ -19,3 +19,6 @@ qttypes = "0.2" [build-dependencies] cpp_build = "0.5" 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"]