Skip to content

Commit

Permalink
chore: Get rid of common crate, flatten from workspace to single pr…
Browse files Browse the repository at this point in the history
…oject

Closes #13
  • Loading branch information
alexpovel committed Aug 27, 2023
1 parent 7916ed7 commit 14fbe3b
Show file tree
Hide file tree
Showing 97 changed files with 52 additions and 84 deletions.
11 changes: 0 additions & 11 deletions Cargo.lock

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

54 changes: 52 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,48 @@
[workspace]
[package]
name = "betterletters"
version = "0.1.0"
edition = "2021"
authors = ["Alex Povel <[email protected]>"]
description = "Substitute alternative, ASCII-only spellings of special characters with their Unicode equivalents."
license-file = "LICENSE"
repository = "https://github.com/alexpovel/betterletters"
readme = "README.md"
documentation = "https://docs.rs/betterletters"
keywords = ["spelling", "umlaut", "substitute", "unicode", "alternative"]
categories = [
"accessibility",
"internationalization",
"localization",
"text-processing",
"value-formatting",
]

members = ["core", "common"]
[dependencies]
cached = "0.43.0"
clap = { version = "4.2.7", features = ["derive"] }
env_logger = "0.10.0"
itertools = "0.10.5"
log = "0.4.17"
unicode_titlecase = "2.0.0"
fst = "0.4.7"
once_cell = "1.18.0"
decompound = "0.3.0"

[features]
default = ["all"]
all = ["de", "symbols"]
de = []
symbols = []

[dev-dependencies]
assert_cmd = "2.0.11"
criterion = { version = "0.5.1", features = ["html_reports"] }
insta = { version = "1.29.0", features = ["yaml"] }
paste = "1.0.12"
rstest = "0.17.0"
serde = { version = "1.0.163", features = ["derive"] }
glob = "0.3.1"
num_cpus = "1.15.0"

[profile.dev.package.insta]
# https://insta.rs/docs/quickstart/#optional-faster-runs
Expand All @@ -9,3 +51,11 @@ opt-level = 3
[profile.dev.package.similar]
# https://insta.rs/docs/quickstart/#optional-faster-runs
opt-level = 3

[build-dependencies]
decompound = "0.3.0"
fst = "0.4.7"

[[bench]]
name = "threading"
harness = false
File renamed without changes.
File renamed without changes.
File renamed without changes.
15 changes: 0 additions & 15 deletions common/Cargo.toml

This file was deleted.

1 change: 0 additions & 1 deletion common/src/lib.rs

This file was deleted.

Loading

0 comments on commit 14fbe3b

Please sign in to comment.