# 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-compiler" version = "1.8.0" authors = ["Slint Developers "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Internal Slint Compiler Library" homepage = "https://slint.dev" readme = "README.md" 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_compiler" path = "lib.rs" [[test]] name = "consistent_styles" path = "tests/consistent_styles.rs" [[test]] name = "syntax_tests" path = "tests/syntax_tests.rs" [dependencies.by_address] version = "1.0.4" [dependencies.codemap] version = "0.1" optional = true [dependencies.codemap-diagnostic] version = "0.1.1" optional = true [dependencies.derive_more] version = "0.99.17" [dependencies.fontdue] version = "0.9.0" features = ["parallel"] optional = true [dependencies.i-slint-common] version = "=1.8.0" features = ["default"] default-features = false [dependencies.image] version = "0.24" features = [ "png", "jpeg", "default", ] optional = true default-features = false [dependencies.itertools] version = "0.13" [dependencies.linked_hash_set] version = "0.1.4" [dependencies.lyon_extra] version = "1.0.1" [dependencies.lyon_path] version = "1.0" [dependencies.num_enum] version = "0.7" [dependencies.once_cell] version = "1" [dependencies.proc-macro2] version = "1.0.17" optional = true [dependencies.quote] version = "1.0" optional = true [dependencies.resvg] version = "0.42.0" features = ["text"] optional = true default-features = false [dependencies.rowan] version = "0.15" [dependencies.smol_str] version = "0.3.1" [dependencies.strum] version = "0.26.1" features = ["derive"] default-features = false [dependencies.thiserror] version = "1" [dependencies.url] version = "2.2.1" [dev-dependencies.rayon] version = "1.5.3" [dev-dependencies.regex] version = "1.3.7" [dev-dependencies.spin_on] version = "0.1" [features] cpp = [] default = [] display-diagnostics = [ "codemap", "codemap-diagnostic", ] proc_macro_span = [ "quote", "proc-macro2", ] rust = [ "quote", "proc-macro2", ] software-renderer = [ "image", "dep:resvg", "fontdue", "i-slint-common/shared-fontdb", ]