Skip to content

Commit

Permalink
Remove the unicode-linebreak / unicode-width dependencies
Browse files Browse the repository at this point in the history
Docstrings rarely have unicode characters so these are not adding much
value.  They present an issue for the downstream moz-central crate
(https://bugzilla.mozilla.org/show_bug.cgi?id=1894888), so let's remove
them.
  • Loading branch information
bendk authored and badboy committed May 6, 2024
1 parent a82487f commit 8a6948d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 16 deletions.
14 changes: 0 additions & 14 deletions Cargo.lock

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

4 changes: 3 additions & 1 deletion uniffi_bindgen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,6 @@ uniffi_meta = { path = "../uniffi_meta", version = "=0.27.1" }
uniffi_testing = { path = "../uniffi_testing", version = "=0.27.1" }
uniffi_udl = { path = "../uniffi_udl", version = "=0.27.1" }
clap = { version = "4", default-features = false, features = ["std", "derive"], optional = true }
textwrap = "0.16"
# Don't include the `unicode-linebreak` or `unicode-width` since that functionality isn't needed for
# docstrings.
textwrap = { version = "0.16", features=["smawk"], default-features = false }
4 changes: 3 additions & 1 deletion uniffi_udl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ readme = "../README.md"
[dependencies]
anyhow = "1"
weedle2 = { version = "5.0.0", path = "../weedle2" }
textwrap = "0.16"
# Don't include the `unicode-linebreak` or `unicode-width` since that functionality isn't needed for
# docstrings.
textwrap = { version = "0.16", features=["smawk"], default-features = false }
uniffi_meta = { path = "../uniffi_meta", version = "=0.27.1" }
uniffi_testing = { path = "../uniffi_testing", version = "=0.27.1" }

0 comments on commit 8a6948d

Please sign in to comment.