Skip to content

Commit

Permalink
Make tiny_skia_render example it's own crate
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoburns committed May 22, 2024
1 parent 877ac29 commit 03a93f5
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 5 deletions.
11 changes: 10 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[workspace]
resolver = "2"
members = [
"fontique"
"fontique",
"examples/tiny_skia_render",
]

[workspace.package]
Expand Down Expand Up @@ -44,9 +45,6 @@ skrifa = { workspace = true }
peniko = { workspace = true }
fontique = { workspace = true }

[dev-dependencies]
tiny-skia = "0.11.4"

[workspace.dependencies]
fontique = { version = "0.1.0", default-features = false, path = "fontique" }
skrifa = { version = "0.19.1", default-features = false }
Expand Down
20 changes: 20 additions & 0 deletions examples/tiny_skia_render/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[package]
name = "tiny_skia_render"
version = "0.1.0"
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]
parley = { path = "../.." }
skrifa = { workspace = true }
peniko = { workspace = true }
tiny-skia = "0.11"

[[bin]]
name = "tiny-skia"
path = "main.rs"

[lints]
workspace = true
File renamed without changes.

0 comments on commit 03a93f5

Please sign in to comment.