Files
slint/api/cpp/Cargo.toml
Olivier Goffart 1425ef63de Change the Url from sixtyfps.io to slint-ui.com
Also, change the URL of the logo in the docs
2022-02-08 08:52:46 +01:00

44 lines
1.6 KiB
TOML

# Copyright © SixtyFPS GmbH <info@sixtyfps.io>
# SPDX-License-Identifier: (GPL-3.0-only OR LicenseRef-SixtyFPS-commercial)
[package]
name = "slint-cpp"
version = "0.2.0"
authors = ["Slint Developers <info@slint-ui.com>"]
edition = "2021"
build = "build.rs"
license = "(GPL-3.0-only OR LicenseRef-SixtyFPS-commercial)"
description = "Slint C++ integration"
repository = "https://github.com/slint-ui/slint"
homepage = "https://slint-ui.com"
publish = false
# prefix used to convey path to generated includes to the C++ test driver
links = "slint_cpp"
[lib]
path = "lib.rs"
crate-type = ["lib", "cdylib"]
# Note, these features need to be kept in sync (along with their defaults) in
# the C++ crate's CMakeLists.txt
[features]
backend-gl = ["i-slint-backend-selector/i-slint-backend-gl"]
backend-qt = ["i-slint-backend-selector/i-slint-backend-qt"]
interpreter = ["slint-interpreter"]
testing = ["i-slint-backend-testing"] # Enable some function used by the integration tests
wayland = ["i-slint-backend-selector/wayland"]
x11 = ["i-slint-backend-selector/x11"]
default = ["backend-gl", "x11", "backend-qt"]
[dependencies]
i-slint-backend-selector = { version = "=0.2.0", path="../../internal/backends/selector" }
i-slint-backend-testing = { version = "=0.2.0", path="../../internal/backends/testing", optional = true }
i-slint-core = { version = "=0.2.0", path="../../internal/core", features = ["ffi"] }
slint-interpreter = { version = "=0.2.0", path="../../internal/interpreter", default-features = false, features = ["ffi", "compat-0-2-0"], optional = true }
[build-dependencies]
anyhow = "1.0"
cbindgen = "0.20"
proc-macro2 = "1.0.11"