Files
slint/examples/plotter/Cargo.toml
Olivier Goffart 78a3757b7f Remormat all the toml file again to fix npm upload
Commit cd6f2e2 reformated the .toml, but the 80 char width column is
judged too small to be practical

Add a .taplo.toml file

Also do not split feature array
2025-04-09 15:06:00 +02:00

36 lines
1.0 KiB
TOML

# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: MIT
[package]
name = "plotter"
version = "1.11.0"
authors = ["Slint Developers <info@slint.dev>"]
edition = "2021"
publish = false
license = "MIT"
[[bin]]
path = "main.rs"
name = "plotter"
[dependencies]
slint = { path = "../../api/rs/slint" }
plotters = { version = "0.3.5", default-features = false, features = ["bitmap_backend", "surface_series", "fontconfig-dlopen", "ttf"] }
[build-dependencies]
slint-build = { path = "../../api/rs/build" }
# Remove the `#wasm#` to uncomment the wasm build.
# This is commented out by default because we don't want to build it as a library by default
# The CI has a script that does sed "s/#wasm# //" to generate the wasm build.
#wasm# [lib]
#wasm# path = "main.rs"
#wasm# crate-type = ["cdylib"]
#wasm# [target.'cfg(target_arch = "wasm32")'.dependencies]
#wasm# wasm-bindgen = { version = "0.2" }
#wasm# web-sys = { version = "0.3", features=["console"] }
#wasm# console_error_panic_hook = "0.1.5"
#wasm# plotters-backend = { version = "0.3.1" }