Skip to content

Commit

Permalink
Use workspace dep for swash, disable default features. (#113)
Browse files Browse the repository at this point in the history
The example needs the default features, so enable them there, but the
`parley` crate does not, so leave them disabled there.
  • Loading branch information
waywardmonkeys authored Sep 9, 2024
1 parent 14070d5 commit 5958c92
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@ rust.unused_qualifications = "warn"
[workspace.dependencies]
fontique = { version = "0.1.0", default-features = false, path = "fontique" }
parley = { version = "0.1.0", default-features = false, path = "parley" }
skrifa = { version = "0.19.1", default-features = false }
peniko = { version = "0.1.0", default-features = false }
skrifa = { version = "0.19.1", default-features = false }
swash = { version = "0.1.16", default-features = false }
2 changes: 1 addition & 1 deletion examples/swash_render/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ parley = { workspace = true, default-features = true }
skrifa = { workspace = true }
peniko = { workspace = true }
image = { version = "0.25.1", default-features = false, features = ["png"] }
swash = "0.1.16"
swash = { workspace = true, default-features = true }

[lints]
workspace = true
2 changes: 1 addition & 1 deletion parley/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ libm = ["fontique/libm", "skrifa/libm", "peniko/libm"]
system = ["std", "fontique/system"]

[dependencies]
swash = "0.1.16"
swash = { workspace = true }
skrifa = { workspace = true }
peniko = { workspace = true }
fontique = { workspace = true }

0 comments on commit 5958c92

Please sign in to comment.