Skip to content

Commit

Permalink
Refactor repository to use workspaces (#86)
Browse files Browse the repository at this point in the history
Refactor repository to use workspaces
  • Loading branch information
sakex authored Sep 25, 2023
1 parent b19c24f commit 021f1bf
Show file tree
Hide file tree
Showing 13 changed files with 30 additions and 25 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,13 @@ jobs:
- name: Run group_events fuzzer and minimize corpus
run: |
cd i18n-helpers
cargo fuzz run group_events -- -only_ascii=1 -max_total_time=30
cargo fuzz cmin group_events
- name: Run normalize fuzzer and minimize corpus
run: |
cd i18n-helpers
cargo fuzz run normalize -- -only_ascii=1 -max_total_time=30
cargo fuzz cmin normalize
Expand Down
28 changes: 3 additions & 25 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,25 +1,3 @@
[package]
name = "mdbook-i18n-helpers"
version = "0.2.3"
authors = ["Martin Geisler <mgeisler@google.com>"]
categories = ["command-line-utilities", "localization"]
edition = "2021"
keywords = ["mdbook", "i18n", "translation", "gettext"]
license = "Apache-2.0"
repository = "https://github.com/google/mdbook-i18n-helpers"
description = "Plugins for a mdbook translation workflow based on Gettext."

[dependencies]
anyhow = "1.0.68"
chrono = { version = "0.4.31", default-features = false, features = ["alloc"] }
mdbook = { version = "0.4.25", default-features = false }
polib = "0.2.0"
pulldown-cmark = { version = "0.9.2", default-features = false }
pulldown-cmark-to-cmark = "11.0.0"
regex = "1.9.4"
semver = "1.0.16"
serde_json = "1.0.91"

[dev-dependencies]
pretty_assertions = "1.3.0"
tempfile = "3.5.0"
[workspace]
members = ["i18n-helpers"]
default-members = ["i18n-helpers"]
25 changes: 25 additions & 0 deletions i18n-helpers/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[package]
name = "mdbook-i18n-helpers"
version = "0.2.3"
authors = ["Martin Geisler <mgeisler@google.com>"]
categories = ["command-line-utilities", "localization"]
edition = "2021"
keywords = ["mdbook", "i18n", "translation", "gettext"]
license = "Apache-2.0"
repository = "https://github.com/google/mdbook-i18n-helpers"
description = "Plugins for a mdbook translation workflow based on Gettext."

[dependencies]
anyhow = "1.0.68"
chrono = { version = "0.4.31", default-features = false, features = ["alloc"] }
mdbook = { version = "0.4.25", default-features = false }
polib = "0.2.0"
pulldown-cmark = { version = "0.9.2", default-features = false }
pulldown-cmark-to-cmark = "11.0.0"
regex = "1.9.4"
semver = "1.0.16"
serde_json = "1.0.91"

[dev-dependencies]
pretty_assertions = "1.3.0"
tempfile = "3.5.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.

0 comments on commit 021f1bf

Please sign in to comment.