Skip to content

Commit

Permalink
Fix font-types docs, and bump patch version
Browse files Browse the repository at this point in the history
There is now some unsafe in font-types, which lets us remove unsafe in
crates with more churn.
  • Loading branch information
cmyr committed Mar 20, 2024
1 parent dfbb579 commit 651aa6b
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion font-codegen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ name = "codegen"
path = "src/main.rs"

[dependencies]
font-types = { version = "0.5.0", path = "../font-types" }
font-types = { version = "0.5.1", path = "../font-types" }
rustfmt-wrapper = "0.2"
regex = "1.5"
miette = { version = "5.0", features = ["fancy"] }
Expand Down
2 changes: 1 addition & 1 deletion font-types/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "font-types"
version = "0.5.0"
version = "0.5.1"
edition = "2021"
license = "MIT/Apache-2.0"
description = "Scalar types used in fonts."
Expand Down
4 changes: 0 additions & 4 deletions font-types/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,3 @@ projects that work with font data.

[opentype]: https://docs.microsoft.com/en-us/typography/opentype/

## Safety

Unsafe code is forbidden by a `#![forbid(unsafe_code)]` attribute in the root
of the library.
2 changes: 1 addition & 1 deletion otexplorer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ publish = false
[dependencies]
xflags = "0.3.0"
read-fonts = { path = "../read-fonts",version = "0.18.0" }
font-types = { path = "../font-types",version = "0.5.0" }
font-types = { path = "../font-types",version = "0.5.1" }
ansi_term = "0.12.1"
atty = "0.2"

Expand Down
2 changes: 1 addition & 1 deletion read-fonts/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ default = ["traversal"]
serde = ["dep:serde", "font-types/serde"]

[dependencies]
font-types = { version = "0.5.0", path = "../font-types", features = ["bytemuck"] }
font-types = { version = "0.5.1", path = "../font-types", features = ["bytemuck"] }
serde = { version = "1.0", features = ["derive"], optional = true }
# note: bytemuck version must be available in all deployment environments
bytemuck = "=1.13.1"
Expand Down
2 changes: 1 addition & 1 deletion write-fonts/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ read = []
serde = ["dep:serde", "font-types/serde", "read-fonts/serde"]

[dependencies]
font-types = { version = "0.5.0", path = "../font-types" }
font-types = { version = "0.5.1", path = "../font-types" }
read-fonts = { version = "0.18.0", path = "../read-fonts" }
log = "0.4"
kurbo = "0.11.0"
Expand Down

0 comments on commit 651aa6b

Please sign in to comment.