# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.73" name = "i-slint-core" version = "1.8.0" authors = ["Slint Developers "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Internal Slint Runtime Library." homepage = "https://slint.dev" documentation = "https://slint.dev/docs" readme = "README.md" keywords = [ "gui", "toolkit", "graphics", "design", "ui", ] categories = [ "gui", "development-tools", "no-std", ] license = "GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0" repository = "https://github.com/slint-ui/slint" [lib] name = "i_slint_core" path = "lib.rs" [dependencies.auto_enums] version = "0.8.0" [dependencies.bitflags] version = "2.4.2" [dependencies.bytemuck] version = "1.13.1" features = ["derive"] optional = true [dependencies.cfg-if] version = "1" [dependencies.chrono] version = "0.4" features = ["alloc"] default-features = false [dependencies.clru] version = "0.6.0" optional = true [dependencies.const-field-offset] version = "0.1.5" [dependencies.derive_more] version = "0.99.17" [dependencies.euclid] version = "0.22.1" default-features = false [dependencies.fontdb] version = "0.18.0" optional = true default-features = false [dependencies.i-slint-common] version = "=1.8.0" features = ["default"] default-features = false [dependencies.i-slint-core-macros] version = "=1.8.0" features = ["default"] default-features = false [dependencies.image] version = "0.24" features = [ "png", "jpeg", ] optional = true default-features = false [dependencies.integer-sqrt] version = "0.1.5" [dependencies.lyon_algorithms] version = "1.0" optional = true [dependencies.lyon_extra] version = "1.0.1" optional = true [dependencies.lyon_geom] version = "1.0" optional = true [dependencies.lyon_path] version = "1.0" optional = true [dependencies.num-traits] version = "0.2" default-features = false [dependencies.once_cell] version = "1.5" features = ["critical-section"] default-features = false [dependencies.pin-project] version = "1" [dependencies.pin-weak] version = "1.1" default-features = false [dependencies.portable-atomic] version = "1" features = ["critical-section"] [dependencies.raw-window-handle-06] version = "0.6" features = ["alloc"] optional = true package = "raw-window-handle" [dependencies.resvg] version = "0.42.0" features = ["text"] optional = true default-features = false [dependencies.rgb] version = "0.8.27" [dependencies.scoped-tls-hkt] version = "0.1" optional = true [dependencies.scopeguard] version = "1.1.0" default-features = false [dependencies.serde] version = "1.0.163" features = ["derive"] optional = true default-features = false [dependencies.slab] version = "0.4.3" default-features = false [dependencies.static_assertions] version = "1.1" [dependencies.strum] version = "0.26.1" features = ["derive"] default-features = false [dependencies.unicode-linebreak] version = "0.1.2" optional = true [dependencies.unicode-script] version = "0.5.3" optional = true [dependencies.unicode-segmentation] version = "1.8.0" [dependencies.vtable] version = "0.2" default-features = false [dev-dependencies.async-compat] version = "0.2.4" [dev-dependencies.fontdb] version = "0.18.0" default-features = true [dev-dependencies.rustybuzz] version = "0.14.0" [dev-dependencies.serde_json] version = "1.0.96" [dev-dependencies.tempfile] version = "3.12.0" [dev-dependencies.tiny-skia] version = "0.11.0" [dev-dependencies.tokio] version = "1.35" features = [ "rt-multi-thread", "macros", "time", "net", "io-util", ] [dev-dependencies.ttf-parser] version = "0.21" [features] box-shadow-cache = [] default = [ "std", "unicode", ] ffi = [] image-decoders = [ "dep:image", "dep:clru", ] libm = [ "num-traits/libm", "euclid/libm", ] raw-window-handle-06 = ["dep:raw-window-handle-06"] rtti = [] shared-fontdb = ["i-slint-common/shared-fontdb"] software-renderer = ["bytemuck"] software-renderer-systemfonts = [ "shared-fontdb", "rustybuzz", "fontdue", "software-renderer", ] std = [ "euclid/std", "once_cell/std", "scoped-tls-hkt", "lyon_path", "lyon_algorithms", "lyon_geom", "lyon_extra", "dep:web-time", "image-decoders", "svg", "raw-window-handle-06?/std", "chrono/std", "chrono/wasmbind", "chrono/clock", ] svg = [ "dep:resvg", "shared-fontdb", ] unicode = [ "unicode-script", "unicode-linebreak", ] unsafe-single-threaded = [] [target.'cfg(not(target_arch = "wasm32"))'.dependencies.fontdb] version = "0.18.0" optional = true default-features = true [target.'cfg(not(target_arch = "wasm32"))'.dependencies.fontdue] version = "0.9.0" optional = true [target.'cfg(not(target_arch = "wasm32"))'.dependencies.rustybuzz] version = "0.14.0" optional = true [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen] version = "0.2" [target.'cfg(target_arch = "wasm32")'.dependencies.web-sys] version = "0.3" features = ["HtmlImageElement"] [target.'cfg(target_arch = "wasm32")'.dependencies.web-time] version = "1.0" optional = true [target.'cfg(target_family = "unix")'.dependencies.gettext-rs] version = "0.7" features = ["gettext-system"] optional = true [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = [ "cfg(slint_debug_property)", "cfg(cbindgen)", "cfg(slint_int_coord)", ]