Skip to content
Open
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
17 changes: 16 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,15 @@ env:
RUST_MIN_VER: "1.88"
# List of packages that will be checked with the minimum supported Rust version.
# This should be limited to packages that are intended for publishing.
RUST_MIN_VER_PKGS: "-p parley -p parley_core -p parley_data -p parlance -p fontique -p attributed_text"
RUST_MIN_VER_PKGS: >-
-p parley
-p parley_core
-p parley_data
-p parlance
-p fontique
-p attributed_text
-p styled_text
-p styled_text_parley
# List of features that depend on the standard library and will be excluded from no_std checks.
FEATURES_DEPENDING_ON_STD: "std,default,png,system,vello_hybrid"
# List of packages that can not target Wasm.
Expand Down Expand Up @@ -106,6 +114,13 @@ jobs:
- name: Run cargo rdme (parlance)
run: cargo rdme --check --heading-base-level=0 --workspace-project=parlance

- name: Run cargo rdme (styled_text)
run: cargo rdme --check --heading-base-level=0 --workspace-project=styled_text

- name: Run cargo rdme (styled_text_parley)
run: cargo rdme --check --heading-base-level=0 --workspace-project=styled_text_parley


clippy-stable:
name: cargo clippy
runs-on: ${{ matrix.os }}
Expand Down
28 changes: 28 additions & 0 deletions Cargo.lock

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

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,13 @@ members = [
"parley_data_gen",
"parley_dev",
"parley_tests",
"styled_text",
"styled_text_parley",
"examples/common",
"examples/swash_render",
"examples/tiny_skia_render",
"examples/vello_cpu_render",
"examples/vello_cpu_render_styled_text",
"examples/vello_editor",
"examples/vello_hybrid_render",
"xtask",
Expand Down
24 changes: 24 additions & 0 deletions examples/vello_cpu_render_styled_text/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[package]
name = "vello_cpu_render_styled_text"
version = "0.1.0"
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
publish = false

[dependencies]
glifo = { workspace = true, default-features = false, features = ["std", "png", "vello_cpu"] }
parley = { workspace = true, default-features = true }
parley_examples_common = { path = "../common" }
peniko = { workspace = true }
styled_text = { path = "../../styled_text" }
styled_text_parley = { path = "../../styled_text_parley" }
vello_cpu = { workspace = true, default-features = false, features = ["std", "png"] }

[features]
default = ["png"]
png = []

[lints]
workspace = true
Loading
Loading