Skip to content

Commit 021f1bf

Browse files
authored
Refactor repository to use workspaces (#86)
Refactor repository to use workspaces
1 parent b19c24f commit 021f1bf

File tree

13 files changed

+30
-25
lines changed

13 files changed

+30
-25
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,13 @@ jobs:
5050
5151
- name: Run group_events fuzzer and minimize corpus
5252
run: |
53+
cd i18n-helpers
5354
cargo fuzz run group_events -- -only_ascii=1 -max_total_time=30
5455
cargo fuzz cmin group_events
5556
5657
- name: Run normalize fuzzer and minimize corpus
5758
run: |
59+
cd i18n-helpers
5860
cargo fuzz run normalize -- -only_ascii=1 -max_total_time=30
5961
cargo fuzz cmin normalize
6062

Cargo.toml

Lines changed: 3 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,3 @@
1-
[package]
2-
name = "mdbook-i18n-helpers"
3-
version = "0.2.3"
4-
authors = ["Martin Geisler <[email protected]>"]
5-
categories = ["command-line-utilities", "localization"]
6-
edition = "2021"
7-
keywords = ["mdbook", "i18n", "translation", "gettext"]
8-
license = "Apache-2.0"
9-
repository = "https://github.com/google/mdbook-i18n-helpers"
10-
description = "Plugins for a mdbook translation workflow based on Gettext."
11-
12-
[dependencies]
13-
anyhow = "1.0.68"
14-
chrono = { version = "0.4.31", default-features = false, features = ["alloc"] }
15-
mdbook = { version = "0.4.25", default-features = false }
16-
polib = "0.2.0"
17-
pulldown-cmark = { version = "0.9.2", default-features = false }
18-
pulldown-cmark-to-cmark = "11.0.0"
19-
regex = "1.9.4"
20-
semver = "1.0.16"
21-
serde_json = "1.0.91"
22-
23-
[dev-dependencies]
24-
pretty_assertions = "1.3.0"
25-
tempfile = "3.5.0"
1+
[workspace]
2+
members = ["i18n-helpers"]
3+
default-members = ["i18n-helpers"]

i18n-helpers/Cargo.toml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
[package]
2+
name = "mdbook-i18n-helpers"
3+
version = "0.2.3"
4+
authors = ["Martin Geisler <[email protected]>"]
5+
categories = ["command-line-utilities", "localization"]
6+
edition = "2021"
7+
keywords = ["mdbook", "i18n", "translation", "gettext"]
8+
license = "Apache-2.0"
9+
repository = "https://github.com/google/mdbook-i18n-helpers"
10+
description = "Plugins for a mdbook translation workflow based on Gettext."
11+
12+
[dependencies]
13+
anyhow = "1.0.68"
14+
chrono = { version = "0.4.31", default-features = false, features = ["alloc"] }
15+
mdbook = { version = "0.4.25", default-features = false }
16+
polib = "0.2.0"
17+
pulldown-cmark = { version = "0.9.2", default-features = false }
18+
pulldown-cmark-to-cmark = "11.0.0"
19+
regex = "1.9.4"
20+
semver = "1.0.16"
21+
serde_json = "1.0.91"
22+
23+
[dev-dependencies]
24+
pretty_assertions = "1.3.0"
25+
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.

0 commit comments

Comments
 (0)