-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add `unic-ucd-segment` component with initial implementation of three main segmentation-related properties: * `Grapheme_Cluster_Break`, * `Word_Break`, and * `Sentence_Break`. Current implementation uses `char_property!()` macro for `EnumeratedCharProperty` implementation, which only supports `TotalCharProperty`. Since the `Other` (abbr: `XX`) value in all these properties are notions of non-existance of breaking property, we want to switch to `PartialCharProperty` domain type and use `Option<enum>`. This is left as a separate step because it needs changes to the macro.
- Loading branch information
Showing
7 changed files
with
1,402 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[package] | ||
name = "unic-ucd-segment" | ||
version = "0.6.0" | ||
authors = ["The UNIC Project Developers"] | ||
repository = "https://github.com/behnam/rust-unic/" | ||
license = "MIT/Apache-2.0" | ||
description = "UNIC - Unicode Character Database - Segmentation Properties" | ||
keywords = ["text", "unicode", "character-property", "segmentation", "grapheme"] | ||
categories = ["internationalization", "text-processing", "parsing", "rendering"] | ||
|
||
# No tests/benches that depends on /data/ | ||
exclude = [] | ||
|
||
[badges] | ||
travis-ci = { repository = "behnam/rust-unic", branch = "master" } | ||
|
||
[dependencies] | ||
unic-char-property = { path = "../../char/property/", version = "0.6.0" } | ||
unic-char-range = { path = "../../char/range", version = "0.6.0" } | ||
unic-ucd-core = { path = "../core/", version = "0.6.0" } | ||
unic-utils = { path = "../../utils/", version = "0.6.0" } |
Oops, something went wrong.