Skip to content

Commit

Permalink
move everything to pbf_font_tools member workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
nyurik committed Jul 5, 2023
1 parent 675fc36 commit 42c8cbe
Show file tree
Hide file tree
Showing 16 changed files with 36 additions and 34 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ jobs:
- name: Test
run: |
cargo test --all-features
cargo test --release --all-features
cargo test --workspace --all-features
cargo test --workspace --release --all-features
- name: Lint
run: |
cargo fmt --all -- --check
cargo clippy --all-targets --all-features -- -D warnings
cargo clippy --workspace --all-targets --all-features -- -D warnings
- name: Publish
if: github.event.release.published == true
run: cargo publish --all-features
run: cargo publish -p pbf_font_tools --all-features
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
32 changes: 2 additions & 30 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,30 +1,2 @@
[package]
name = "pbf_font_tools"
version = "2.3.0"
authors = ["Ian Wagner <ian@stadiamaps.com>", "Luke Seelenbinder <luke@stadiamaps.com>"]
license = "BSD-3-Clause"
repository = "https://github.com/stadiamaps/pbf_font_tools"
readme = "README.md"
description = "Tools for working with SDF font glyphs encoded in protobuf format."
keywords = ["sdf", "protobuf", "fonts"]
categories = ["encoding", "parsing", "rendering::data-formats"]
edition = "2021"
exclude = [".github/"]

[features]
freetype = ["freetype-rs", "sdf_glyph_renderer/freetype"]

[dependencies]
freetype-rs = { version = "0.32.0", optional = true }
futures = "0.3.28"
protobuf = "3.2.0"
sdf_glyph_renderer = { version = "0.5.1", optional = true }
tokio = { version = "1.28.2", features = ["rt"] }

[dev-dependencies]
tokio = { version = "1.28.2", features = ["rt", "fs", "io-util", "macros"] }

[build-dependencies]
glob = "0.3.1"
protobuf-codegen = "3.2.0"
protoc-bin-vendored = "3.0.0"
[workspace]
members = ["pbf_font_tools"]
30 changes: 30 additions & 0 deletions pbf_font_tools/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[package]
name = "pbf_font_tools"
version = "2.3.0"
authors = ["Ian Wagner <ian@stadiamaps.com>", "Luke Seelenbinder <luke@stadiamaps.com>"]
license = "BSD-3-Clause"
repository = "https://github.com/stadiamaps/pbf_font_tools"
readme = "README.md"
description = "Tools for working with SDF font glyphs encoded in protobuf format."
keywords = ["sdf", "protobuf", "fonts"]
categories = ["encoding", "parsing", "rendering::data-formats"]
edition = "2021"
exclude = [".github/"]

[features]
freetype = ["freetype-rs", "sdf_glyph_renderer/freetype"]

[dependencies]
freetype-rs = { version = "0.32.0", optional = true }
futures = "0.3.28"
protobuf = "3.2.0"
sdf_glyph_renderer = { version = "0.5.1", optional = true }
tokio = { version = "1.28.2", features = ["rt"] }

[dev-dependencies]
tokio = { version = "1.28.2", features = ["rt", "fs", "io-util", "macros"] }

[build-dependencies]
glob = "0.3.1"
protobuf-codegen = "3.2.0"
protoc-bin-vendored = "3.0.0"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 42c8cbe

Please sign in to comment.