Skip to content

Commit

Permalink
Fix CI failures and cargo test by bumping font-kit version
Browse files Browse the repository at this point in the history
  • Loading branch information
fotonick committed Sep 28, 2024
1 parent 65de107 commit edd467c
Showing 1 changed file with 29 additions and 18 deletions.
47 changes: 29 additions & 18 deletions plotters/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ path = "../plotters-svg"
ttf-parser = { version = "0.15.0", optional = true }
lazy_static = { version = "1.4.0", optional = true }
pathfinder_geometry = { version = "0.5.1", optional = true }
font-kit = { version = "0.11.0", optional = true }
font-kit = { version = "0.14.2", optional = true }

[target.'cfg(not(all(target_arch = "wasm32", not(target_os = "wasi"))))'.dependencies.image]
version = "0.24.2"
Expand All @@ -46,27 +46,37 @@ version = "0.2.62"
[target.'cfg(all(target_arch = "wasm32", not(target_os = "wasi")))'.dependencies.web-sys]
version = "0.3.51"
features = [
"Document",
"DomRect",
"Element",
"HtmlElement",
"Node",
"Window",
"HtmlCanvasElement",
"CanvasRenderingContext2d",
"Document",
"DomRect",
"Element",
"HtmlElement",
"Node",
"Window",
"HtmlCanvasElement",
"CanvasRenderingContext2d",
]

[features]
default = [
"bitmap_backend", "bitmap_encoder", "bitmap_gif",
"svg_backend",
"chrono",
"ttf",
"image",
"deprecated_items", "all_series", "all_elements",
"full_palette"
"bitmap_backend",
"bitmap_encoder",
"bitmap_gif",
"svg_backend",
"chrono",
"ttf",
"image",
"deprecated_items",
"all_series",
"all_elements",
"full_palette",
]
all_series = [
"area_series",
"line_series",
"point_series",
"surface_series",
"histogram",
]
all_series = ["area_series", "line_series", "point_series", "surface_series", "histogram"]
all_elements = ["errorbar", "candlestick", "boxplot"]

# Tier 1 Backends
Expand Down Expand Up @@ -99,7 +109,8 @@ fontconfig-dlopen = ["font-kit/source-fontconfig-dlopen"]
# Misc
datetime = ["chrono"]
evcxr = ["svg_backend"]
deprecated_items = [] # Keep some of the deprecated items for backward compatibility
deprecated_items = [
] # Keep some of the deprecated items for backward compatibility

[dev-dependencies]
itertools = "0.10.0"
Expand Down

0 comments on commit edd467c

Please sign in to comment.