-
Notifications
You must be signed in to change notification settings - Fork 77
/
Cargo.toml
62 lines (55 loc) · 2.17 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# SPDX-FileCopyrightText: 2022 Klarälvdalens Datakonsult AB, a KDAB Group company <[email protected]>
# SPDX-FileContributor: Be Wilson <[email protected]>
#
# SPDX-License-Identifier: MIT OR Apache-2.0
[workspace]
members = [
"crates/cxx-qt",
"crates/cxx-qt-build",
"crates/cxx-qt-gen",
"crates/cxx-qt-lib",
"crates/qt-build-utils",
"crates/cxx-qt-lib-extras",
"examples/cargo_without_cmake",
"examples/demo_threading/rust",
"examples/qml_features/rust",
"examples/qml_minimal/rust",
"tests/basic_cxx_only/rust",
"tests/basic_cxx_qt/rust",
"tests/qt_types_standalone/rust",
]
resolver = "2"
[workspace.package]
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/KDAB/cxx-qt/"
version = "0.7.0"
rust-version = "1.77.2" # Clippy needs to >= 1.78.0 for a lint, but the package can be 1.77.2
# Note a version needs to be specified on dependencies of packages
# we publish, otherwise crates.io complains as it doesn't know the version.
[workspace.dependencies]
cxx-qt = { path = "crates/cxx-qt", version = "0.7.0" }
cxx-qt-macro = { path = "crates/cxx-qt-macro", version = "0.7.0" }
cxx-qt-build = { path = "crates/cxx-qt-build", version = "0.7.0" }
cxx-qt-gen = { path = "crates/cxx-qt-gen", version = "0.7.0" }
cxx-qt-lib = { path = "crates/cxx-qt-lib", version = "0.7.0" }
qt-build-utils = { path = "crates/qt-build-utils", version = "0.7.0" }
cxx-qt-lib-extras = { path = "crates/cxx-qt-lib-extras", version = "0.7.0" }
cc = { version = "1.0.100", features = ["parallel"] }
# Ensure that the example comments are kept in sync
# ./examples/cargo_without_cmake/Cargo.toml
# ./examples/qml_minimal/rust/Cargo.toml
# ./book/src/getting-started/4-cargo-executable.md
# ./book/src/getting-started/5-cmake-integration.md
# TODO: Can we re-export cxx from cxx-qt, so people don't need to manually add this anymore?
cxx = "1.0.95"
cxx-build = { version = "1.0.95", features = [ "parallel" ] }
cxx-gen = "0.7.121"
proc-macro2 = "1.0"
syn = { version = "2.0", features = ["extra-traits", "full"] }
quote = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
thiserror = "1.0"
[workspace.lints.clippy]
incompatible_msrv = "deny"