Skip to content

Commit

Permalink
Cargo.toml update
Browse files Browse the repository at this point in the history
  • Loading branch information
dzhou121 committed Jan 13, 2024
1 parent ff4b9a9 commit e74c4c9
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 21 deletions.
24 changes: 13 additions & 11 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
[workspace]
resolver = "2"
members = ["renderer", "vger", "tiny_skia", "reactive", "examples/*"]

[workspace.package]
license = "MIT"
version = "0.1.1"

[package]
name = "floem"
version = "0.1.0"
version.workspace = true
authors = ["The Floem contributors"]
readme = "README.md"
repository = "https://github.com/lapce/floem"
Expand Down Expand Up @@ -29,19 +37,13 @@ once_cell = "1.17.1"
im = "15.1.0"
im-rc = "15.1.0"
parking_lot = { version = "0.12.1" }
floem_renderer = { path = "renderer" }
floem_vger = { path = "vger" }
floem_tiny_skia = { path = "tiny_skia" }
floem_reactive = { path = "reactive" }
floem_renderer = { path = "renderer", version = "0.1.0" }
floem_vger_renderer = { path = "vger", version = "0.1.0" }
floem_tiny_skia_renderer = { path = "tiny_skia", version = "0.1.0" }
floem_reactive = { path = "reactive", version = "0.1.0" }
floem-winit = { version = "0.29.4", features = ["rwh_05"] }
image = { version = "0.24", features = ["jpeg", "png"] }
copypasta = { version = "0.10.0", default-features = false, features = ["wayland", "x11"] }

[features]
serde = ["floem-winit/serde"]

[workspace]
members = ["renderer", "vger", "tiny_skia", "reactive", "examples/*"]

[workspace.package]
license = "MIT"
4 changes: 3 additions & 1 deletion reactive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[package]
name = "floem_reactive"
version = "0.1.0"
version.workspace = true
edition = "2021"
repository = "https://github.com/lapce/floem"
description = "A native Rust UI library with fine-grained reactivity"
license.workspace = true

[dependencies]
Expand Down
4 changes: 3 additions & 1 deletion renderer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[package]
name = "floem_renderer"
version = "0.1.0"
version.workspace = true
edition = "2021"
repository = "https://github.com/lapce/floem"
description = "A native Rust UI library with fine-grained reactivity"
license.workspace = true

[dependencies]
Expand Down
4 changes: 2 additions & 2 deletions src/renderer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
use crate::cosmic_text::TextLayout;
use floem_peniko::BrushRef;
use floem_renderer::Img;
use floem_tiny_skia::TinySkiaRenderer;
use floem_vger::VgerRenderer;
use floem_tiny_skia_renderer::TinySkiaRenderer;
use floem_vger_renderer::VgerRenderer;
use image::DynamicImage;
use kurbo::{Affine, Rect, Shape, Size};

Expand Down
8 changes: 5 additions & 3 deletions tiny_skia/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[package]
name = "floem_tiny_skia"
version = "0.1.0"
name = "floem_tiny_skia_renderer"
version.workspace = true
edition = "2021"
repository = "https://github.com/lapce/floem"
description = "A native Rust UI library with fine-grained reactivity"
license.workspace = true

[dependencies]
Expand All @@ -11,7 +13,7 @@ futures = "0.3.26"
anyhow = "1.0.69"
floem-peniko = "0.1.0"
swash = "0.1.8"
floem_renderer = { path = "../renderer" }
floem_renderer = { path = "../renderer", version = "0.1.0" }
softbuffer = "0.3.1"
bytemuck = "1.12"
image = { version = "0.24", features = ["jpeg", "png"] }
8 changes: 5 additions & 3 deletions vger/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[package]
name = "floem_vger"
version = "0.1.0"
name = "floem_vger_renderer"
version.workspace = true
edition = "2021"
repository = "https://github.com/lapce/floem"
description = "A native Rust UI library with fine-grained reactivity"
license.workspace = true

[dependencies]
Expand All @@ -14,4 +16,4 @@ floem-peniko = "0.1.0"
swash = "0.1.8"
floem-vger-rs = { package = "floem-vger", version = "0.2.7" } # Alias library to avoid overlap with subcrate
image = { version = "0.24", features = ["jpeg", "png"] }
floem_renderer = { path = "../renderer" }
floem_renderer = { path = "../renderer", version = "0.1.0" }

0 comments on commit e74c4c9

Please sign in to comment.