Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,11 +195,6 @@ jobs:
command: test
args: --manifest-path=piet-common/Cargo.toml --features=png --no-run --target wasm32-unknown-unknown

test-wasm-pack:
runs-on: ubuntu-latest
name: wasm-pack test
steps:
- uses: actions/checkout@v2
- name: Install wasm-pack
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- name: test chrome
Expand Down
12 changes: 6 additions & 6 deletions piet-cairo/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "piet-cairo"
version = "0.5.0"
version = "0.6.0"
authors = ["Raph Levien <raph.levien@gmail.com>"]
description = "Cairo backend for piet 2D graphics abstraction."
license = "MIT/Apache-2.0"
Expand All @@ -11,18 +11,18 @@ keywords = ["graphics", "2d"]
categories = ["rendering::graphics-api"]

[dependencies]
piet = { version = "=0.5.0", path = "../piet" }
piet = { version = "=0.6.0", path = "../piet" }

cairo-rs = { version = "0.16.3", default-features = false } # We don't need glib
pango = { version = "0.16.3", features = ["v1_44"] }
pangocairo = "0.16.3"
unicode-segmentation = "1.3.0"
unicode-segmentation = "1.9.0"
xi-unicode = "0.3.0"

[dev-dependencies]
piet = { version = "=0.5.0", path = "../piet", features = ["samples"] }
piet-common = { version = "=0.5.0", path = "../piet-common", features = ["png"] }
criterion = "0.3"
piet = { version = "=0.6.0", path = "../piet", features = ["samples"] }
piet-common = { version = "=0.6.0", path = "../piet-common", features = ["png"] }
criterion = "0.3.5"

[[bench]]
name = "make_image"
Expand Down
32 changes: 16 additions & 16 deletions piet-common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "piet-common"
version = "0.5.0"
version = "0.6.0"
authors = ["Raph Levien <raph.levien@gmail.com>"]
description = "Selection of a single preferred back-end for piet"
license = "MIT/Apache-2.0"
Expand Down Expand Up @@ -33,33 +33,33 @@ hdr = ["piet/hdr"]
serde = ["piet/serde"]

[dependencies]
piet = { version = "=0.5.0", path = "../piet" }
piet-web = { version = "=0.5.0", path = "../piet-web", optional = true }
cfg-if = "1.0"
png = { version = "0.17", optional = true }
piet = { version = "=0.6.0", path = "../piet" }
piet-web = { version = "=0.6.0", path = "../piet-web", optional = true }
cfg-if = "1.0.0"
png = { version = "0.17.5", optional = true }

[target.'cfg(any(target_os="linux", target_os="openbsd", target_os="freebsd", target_os="netbsd"))'.dependencies]
piet-cairo = { version = "=0.5.0", path = "../piet-cairo" }
piet-cairo = { version = "=0.6.0", path = "../piet-cairo" }
cairo-rs = { version = "0.16.3", default_features = false }
cairo-sys-rs = { version = "0.16.3" }

[target.'cfg(any(target_os="macos", target_os="ios"))'.dependencies]
piet-coregraphics = { version = "=0.5.0", path = "../piet-coregraphics" }
core-graphics = { version = "0.22.2" }
piet-coregraphics = { version = "=0.6.0", path = "../piet-coregraphics" }
core-graphics = { version = "0.22.3" }

[target.'cfg(target_os="windows")'.dependencies]
piet-direct2d = { version = "=0.5.0", path = "../piet-direct2d" }
piet-direct2d = { version = "=0.6.0", path = "../piet-direct2d" }

[target.'cfg(target_arch="wasm32")'.dependencies]
piet-web = { version = "=0.5.0", path = "../piet-web" }
wasm-bindgen = "0.2.59"
piet-web = { version = "=0.6.0", path = "../piet-web" }
wasm-bindgen = "0.2.80"

[target.'cfg(target_arch="wasm32")'.dev-dependencies]
getrandom = { version = "0.2.3", features = ["js"] }
wasm-bindgen-test = "0.3.13"
getrandom = { version = "0.2.6", features = ["js"] }
wasm-bindgen-test = "0.3.30"

[target.'cfg(target_arch="wasm32")'.dependencies.web-sys]
version = "0.3.36"
version = "0.3.57"
features = [
"console",
"Window",
Expand All @@ -76,5 +76,5 @@ features = [

[dev-dependencies]
static_assertions = "1.1.0"
rand = "0.8.4"
rand_distr = "0.4.1"
rand = "0.8.5"
rand_distr = "0.4.3"
18 changes: 9 additions & 9 deletions piet-coregraphics/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "piet-coregraphics"
version = "0.5.0"
version = "0.6.0"
authors = ["Jeff Muizelaar <jrmuizel@gmail.com>, Raph Levien <raph.levien@gmail.com>, Colin Rofls <colin.rofls@gmail.com>"]
description = "CoreGraphics backend for piet 2D graphics abstraction."
license = "MIT/Apache-2.0"
Expand All @@ -11,15 +11,15 @@ keywords = ["graphics", "2d"]
categories = ["rendering::graphics-api"]

[dependencies]
piet = { version = "=0.5.0", path = "../piet" }
piet = { version = "=0.6.0", path = "../piet" }

foreign-types = "0.3.2"
core-graphics = "0.22.2"
core-text = "19.0.0"
core-foundation = "0.9"
core-foundation-sys = "0.8"
associative-cache = "1.0"
core-graphics = "0.22.3"
core-text = "19.2.0"
core-foundation = "0.9.3"
core-foundation-sys = "0.8.3"
associative-cache = "1.0.1"

[dev-dependencies]
piet = { version = "=0.5.0", path = "../piet", features = ["samples"] }
piet-common = { version = "=0.5.0", path = "../piet-common", features = ["png"] }
piet = { version = "=0.6.0", path = "../piet", features = ["samples"] }
piet-common = { version = "=0.6.0", path = "../piet-common", features = ["png"] }
14 changes: 7 additions & 7 deletions piet-direct2d/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "piet-direct2d"
version = "0.5.0"
version = "0.6.0"
authors = ["Raph Levien <raph.levien@gmail.com>"]
description = "Direct2D backend for piet 2D graphics abstraction."
license = "MIT/Apache-2.0"
Expand All @@ -11,14 +11,14 @@ keywords = ["graphics", "2d"]
categories = ["rendering::graphics-api"]

[dependencies]
piet = { version = "=0.5.0", path = "../piet" }
utf16_lit = "2.0"
associative-cache = "1.0"
piet = { version = "=0.6.0", path = "../piet" }
utf16_lit = "2.0.2"
associative-cache = "1.0.1"

wio = "0.2.2"
winapi = { version = "0.3.8", features = ["d2d1", "d2d1_1", "d2d1effects", "d2dbasetypes", "dcommon", "d3d11", "dxgi", "winnls"] }
winapi = { version = "0.3.9", features = ["d2d1", "d2d1_1", "d2d1effects", "d2dbasetypes", "dcommon", "d3d11", "dxgi", "winnls"] }
dwrote = { version = "0.11.0", default_features = false }

[dev-dependencies]
piet = { version = "=0.5.0", path = "../piet", features = ["samples"] }
piet-common = { version = "=0.5.0", path = "../piet-common", features = ["png"] }
piet = { version = "=0.6.0", path = "../piet", features = ["samples"] }
piet-common = { version = "=0.6.0", path = "../piet-common", features = ["png"] }
8 changes: 4 additions & 4 deletions piet-svg/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "piet-svg"
version = "0.5.0"
version = "0.6.0"
authors = ["Benjamin Saunders <ben.e.saunders@gmail.com>"]
description = "SVG backend for piet 2D graphics abstraction."
edition = "2018"
Expand All @@ -17,10 +17,10 @@ evcxr = ["evcxr_runtime"]
base64 = "0.13.0"
evcxr_runtime = { version = "1.1.0", optional = true }
font-kit = "0.10.1"
image = { version = "0.24.0", default-features = false, features = ["png"] }
piet = { version = "=0.5.0", path = "../piet" }
image = { version = "0.24.2", default-features = false, features = ["png"] }
piet = { version = "=0.6.0", path = "../piet" }
rustybuzz = "0.4.0"
svg = "0.10.0"

[dev-dependencies]
piet = { version = "=0.5.0", path = "../piet", features = ["samples"] }
piet = { version = "=0.6.0", path = "../piet", features = ["samples"] }
16 changes: 8 additions & 8 deletions piet-web/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "piet-web"
version = "0.5.0"
version = "0.6.0"
authors = ["Raph Levien <raph.levien@gmail.com>"]
description = "Web canvas backend for piet 2D graphics abstraction."
license = "MIT/Apache-2.0"
Expand All @@ -14,24 +14,24 @@ categories = ["rendering::graphics-api", "wasm"]
crate-type = ["cdylib", "rlib"]

[dependencies]
piet = { version = "=0.5.0", path = "../piet" }
piet = { version = "=0.6.0", path = "../piet" }

unicode-segmentation = "1.6.0"
unicode-segmentation = "1.9.0"
xi-unicode = "0.3.0"
wasm-bindgen = "0.2.70"
js-sys = "0.3.47"
wasm-bindgen = "0.2.80"
js-sys = "0.3.57"

[dependencies.web-sys]
version = "0.3.47"
version = "0.3.57"
features = ["Window", "CanvasGradient", "CanvasRenderingContext2d", "CanvasWindingRule",
"Document", "DomMatrix", "Element", "HtmlCanvasElement", "ImageBitmap",
"ImageData", "TextMetrics"]

[dev-dependencies]
wasm-bindgen-test = "0.3.0"
wasm-bindgen-test = "0.3.30"

[dev-dependencies.web-sys]
version = "0.3.47"
version = "0.3.57"
features = ["console", "Window", "CanvasGradient", "CanvasRenderingContext2d", "CanvasWindingRule",
"Document", "DomMatrix", "Element", "HtmlCanvasElement", "ImageBitmap", "ImageData",
"TextMetrics"]
6 changes: 3 additions & 3 deletions piet-web/examples/basic/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ default = ["console_error_panic_hook"]
piet = { path = "../../../piet", features = ["samples"] }
piet-web = { path = "../.." }

wasm-bindgen = "0.2.30"
console_error_panic_hook = { version = "0.1.6", optional = true }
wasm-bindgen = "0.2.80"
console_error_panic_hook = { version = "0.1.7", optional = true }

[dependencies.web-sys]
version = "0.3.10"
version = "0.3.57"
features = ["console", "CanvasRenderingContext2d", "Window", "Document", "Element", "HtmlElement", "HtmlCanvasElement"]
14 changes: 7 additions & 7 deletions piet/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "piet"
version = "0.5.0"
version = "0.6.0"
authors = ["Raph Levien <raph.levien@gmail.com>"]
description = "An abstraction for 2D graphics."
license = "MIT/Apache-2.0"
Expand All @@ -12,12 +12,12 @@ categories = ["rendering::graphics-api"]
include = ["src/**/*", "Cargo.toml", "snapshots/resources/*"]

[dependencies]
image = { version = "0.24.0", optional = true, default-features = false }
kurbo = "0.8.2"
pico-args = { version = "0.4.0", optional = true }
png = { version = "0.17", optional = true }
os_info = { version = "3.0.0", optional = true, default-features = false }
unic-bidi = "0.9"
image = { version = "0.24.2", optional = true, default-features = false }
kurbo = "0.9"
pico-args = { version = "0.4.2", optional = true }
png = { version = "0.17.5", optional = true }
os_info = { version = "3.4.0", optional = true, default-features = false }
unic-bidi = "0.9.0"

[features]
samples = ["pico-args", "png", "os_info"]
Expand Down