66[package ]
77name = " cxx-qt-lib"
88version.workspace = true
9- authors = [" Andrew Hayzen <andrew.hayzen@kdab.com>" , " Gerhard de Clercq <gerhard.declercq@kdab.com>" , " Leon Matthes <leon.matthes@kdab.com>" ]
9+ authors = [
10+ " Andrew Hayzen <andrew.hayzen@kdab.com>" ,
11+ " Gerhard de Clercq <gerhard.declercq@kdab.com>" ,
12+ " Leon Matthes <leon.matthes@kdab.com>" ,
13+ ]
1014edition.workspace = true
1115license.workspace = true
1216description = " Qt types for integrating `cxx-qt` crate with `cxx`"
1317repository.workspace = true
14- exclude = [ " **/generate.sh" ]
18+ exclude = [" **/generate.sh" ]
1519
1620# When creating a library with cxx-qt-build, we need to set a fake "links" key
1721# to make sure the build scripts are run in the correct order and the build scripts
@@ -20,6 +24,10 @@ exclude = [ "**/generate.sh" ]
2024links = " cxx-qt-lib"
2125rust-version.workspace = true
2226
27+ [package .metadata .docs .rs ]
28+ all-features = true
29+ rustdoc-args = [" --cfg" , " docsrs" ]
30+
2331[dependencies ]
2432cxx.workspace = true
2533cxx-qt.workspace = true
@@ -30,7 +38,7 @@ rgb = { version = "0.8", optional = true }
3038time = { version = " 0.3.20" , optional = true }
3139url = { version = " 2.3" , optional = true }
3240uuid = { version = " 1.1.0" , optional = true }
33- serde = { version = " 1" , features = [" derive" ], optional = true }
41+ serde = { version = " 1" , features = [" derive" ], optional = true }
3442# Note: The image crate is not yet at 1.0 and a new version is released regularly.
3543# To avoid a breaking change at each update, we don't specify a default version, and make the versions explicit.
3644# Once 1.0 is released, we can add a dependency on `image`, which would then be `image = "1"`
@@ -46,7 +54,19 @@ qt-build-utils.workspace = true
4654serde_json = " 1.0.135"
4755
4856[features ]
49- full = [" qt_full" , " serde" , " url" , " uuid" , " time" , " rgb" , " http" , " chrono" , " bytes" , " image-v0-24" , " image-v0-25" ]
57+ full = [
58+ " qt_full" ,
59+ " serde" ,
60+ " url" ,
61+ " uuid" ,
62+ " time" ,
63+ " rgb" ,
64+ " http" ,
65+ " chrono" ,
66+ " bytes" ,
67+ " image-v0-24" ,
68+ " image-v0-25" ,
69+ ]
5070default = []
5171
5272qt_full = [" qt_gui" , " qt_qml" , " qt_quickcontrols" ]
0 commit comments