mirror of
https://github.com/slint-ui/slint.git
synced 2025-12-23 09:19:32 +00:00
43 lines
1.7 KiB
TOML
43 lines
1.7 KiB
TOML
# Copyright © SixtyFPS GmbH <info@sixtyfps.io>
|
|
# SPDX-License-Identifier: (GPL-3.0-only OR LicenseRef-SixtyFPS-commercial)
|
|
|
|
[package]
|
|
name = "sixtyfps-cpp"
|
|
version = "0.2.0"
|
|
authors = ["SixtyFPS <info@sixtyfps.io>"]
|
|
edition = "2021"
|
|
build = "build.rs"
|
|
license = "(GPL-3.0-only OR LicenseRef-SixtyFPS-commercial)"
|
|
description = "SixtyFPS C++ integration"
|
|
repository = "https://github.com/sixtyfpsui/sixtyfps"
|
|
homepage = "https://sixtyfps.io"
|
|
publish = false
|
|
# prefix used to convey path to generated includes to the C++ test driver
|
|
links = "sixtyfps_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 = ["sixtyfps-rendering-backend-selector/slint-backend-gl-internal"]
|
|
backend-qt = ["sixtyfps-rendering-backend-selector/slint-backend-qt-internal"]
|
|
interpreter = ["sixtyfps-interpreter"]
|
|
testing = ["sixtyfps-rendering-backend-testing"] # Enable some function used by the integration tests
|
|
wayland = ["sixtyfps-rendering-backend-selector/wayland"]
|
|
x11 = ["sixtyfps-rendering-backend-selector/x11"]
|
|
|
|
default = ["backend-gl", "x11", "backend-qt"]
|
|
|
|
[dependencies]
|
|
slint-core-internal = { version = "=0.2.0", path="../../internal/core", features = ["ffi"] }
|
|
sixtyfps-interpreter = { version = "=0.2.0", path="../../internal/interpreter", default-features = false, features = ["ffi", "compat-0-2-0"], optional = true }
|
|
sixtyfps-rendering-backend-selector = { version = "=0.2.0", path="../../internal/backends/selector" }
|
|
sixtyfps-rendering-backend-testing = { version = "=0.2.0", path="../../internal/backends/testing", optional = true }
|
|
|
|
[build-dependencies]
|
|
anyhow = "1.0"
|
|
cbindgen = "0.20"
|
|
proc-macro2 = "1.0.11"
|