Skip to content

Commit

Permalink
[ucd] Add new segment component
Browse files Browse the repository at this point in the history
Add `unic-ucd-segment` component with initial implementation of three
main segmentation-related properties:
* `Grapheme_Cluster_Break`,
* `Word_Break`, and
* `Sentence_Break`.
  • Loading branch information
behnam committed Oct 2, 2017
1 parent 5acc65d commit bf5a946
Show file tree
Hide file tree
Showing 7 changed files with 1,342 additions and 1 deletion.
3 changes: 2 additions & 1 deletion unic/ucd/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@ unic-ucd-age = { path = "age/", version = "0.6.0" }
unic-ucd-bidi = { path = "bidi/", version = "0.6.0" }
unic-ucd-case = { path = "case/", version = "0.6.0" }
unic-ucd-category = { path = "category/", version = "0.6.0" }
unic-ucd-ident = { path = "ident/", version = "0.6.0" }
unic-ucd-core = { path = "core/", version = "0.6.0" }
unic-ucd-ident = { path = "ident/", version = "0.6.0" }
unic-ucd-name = { path = "name/", version = "0.6.0" }
unic-ucd-normal = { path = "normal/", version = "0.6.0", features = ["unic-ucd-category"] }
unic-ucd-segment = { path = "segment/", version = "0.6.0" }

[dev-dependencies]
unic-utils = { path = "../utils/", version = "0.6.0" }
Expand Down
21 changes: 21 additions & 0 deletions unic/ucd/segment/Cargo.toml
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" }
Loading

0 comments on commit bf5a946

Please sign in to comment.