# 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.80" name = "floem" version = "0.2.0" authors = ["The Floem contributors"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A native Rust UI library with fine-grained reactivity" readme = "README.md" license = "MIT" repository = "https://github.com/lapce/floem" [lib] name = "floem" path = "src/lib.rs" [dependencies.bitflags] version = "2.6.0" [dependencies.copypasta] version = "0.10.0" features = [ "wayland", "x11", ] default-features = false [dependencies.crossbeam] version = "0.8" [dependencies.crossbeam-channel] version = "0.5.6" [dependencies.downcast-rs] version = "1.2.0" optional = true [dependencies.educe] version = "0.5.11" [dependencies.floem-editor-core] version = "0.2.0" optional = true [dependencies.floem-winit] version = "0.29.5" features = ["rwh_05"] [dependencies.floem_reactive] version = "0.2.0" [dependencies.floem_renderer] version = "0.2.0" [dependencies.floem_tiny_skia_renderer] version = "0.2.0" [dependencies.floem_vello_renderer] version = "0.2.0" optional = true [dependencies.floem_vger_renderer] version = "0.2.0" optional = true [dependencies.futures] version = "0.3.30" optional = true [dependencies.im] version = "15.1.0" [dependencies.im-rc] version = "15.1.0" [dependencies.image] version = "0.25" default-features = false [dependencies.indexmap] version = "2" [dependencies.lapce-xi-rope] version = "0.3.2" features = ["serde"] optional = true [dependencies.parking_lot] version = "0.12.1" [dependencies.peniko] version = "0.2.0" features = ["serde"] [dependencies.raw-window-handle] version = "0.6.0" [dependencies.rfd] version = "0.14.0" features = ["xdg-portal"] optional = true default-features = false [dependencies.rustc-hash] version = "1.1.0" [dependencies.serde] version = "1.0" optional = true [dependencies.sha2] version = "0.10.6" [dependencies.slotmap] version = "1.0.7" [dependencies.smallvec] version = "1.10.0" [dependencies.strum] version = "0.26.2" optional = true [dependencies.strum_macros] version = "0.26.2" optional = true [dependencies.taffy] version = "0.4" features = ["grid"] [dependencies.tokio] version = "1" features = [ "sync", "rt", ] optional = true [dependencies.unicode-segmentation] version = "1.10.0" [dependencies.wgpu] version = "22.0.0" [features] default = [ "editor", "default-image-formats", "vger", ] default-image-formats = [ "image-jpeg", "image-ico", "image-png", "image-webp", ] editor = [ "floem-editor-core", "dep:lapce-xi-rope", "dep:strum", "dep:strum_macros", "dep:downcast-rs", ] futures = ["dep:futures"] image-avif = ["image/avif"] image-bmp = ["image/bmp"] image-dds = ["image/dds"] image-exr = ["image/exr"] image-ff = ["image/ff"] image-gif = ["image/gif"] image-hdr = ["image/hdr"] image-ico = ["image/ico"] image-jpeg = ["image/jpeg"] image-png = ["image/png"] image-pnm = ["image/pnm"] image-qoi = ["image/qoi"] image-tga = ["image/tga"] image-tiff = ["image/tiff"] image-webp = ["image/webp"] rfd-async-std = [ "dep:rfd", "rfd/async-std", ] rfd-tokio = [ "dep:rfd", "rfd/tokio", ] serde = [ "floem-winit/serde", "dep:serde", ] tokio = ["dep:tokio"] vello = ["dep:floem_vello_renderer"] vger = ["dep:floem_vger_renderer"] [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures] version = "0.4" [target.'cfg(target_arch = "wasm32")'.dependencies.web-time] version = "1" [target.'cfg(target_os = "windows")'.dependencies.clipboard-win] version = "3.1.1"