obadh_engine 0.6.1

A linguistically accurate Roman to Bengali transliteration engine
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.82"
name = "obadh_engine"
version = "0.6.1"
authors = ["NSS Sayom"]
build = false
exclude = [
    "/data/autocorrect/**",
    "/data/autosuggest/**",
    "/docs/**",
    "/tools/**",
    "/www/**",
    "/.gitmodules",
    "/Makefile",
    "/build.sh",
    "/init.sh",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A linguistically accurate Roman to Bengali transliteration engine"
readme = "README.md"
keywords = [
    "bengali",
    "transliteration",
    "linguistics",
    "i18n",
]
categories = [
    "text-processing",
    "internationalization",
]
license = "MIT"
repository = "https://github.com/nsssayom/obadh_engine"

[features]
cli = [
    "dep:clap",
    "dep:unicode-normalization",
    "dep:zip",
]
default = []
wasm = [
    "dep:console_error_panic_hook",
    "dep:serde-wasm-bindgen",
    "dep:wasm-bindgen",
    "dep:web-sys",
]

[lib]
name = "obadh_engine"
crate-type = [
    "rlib",
    "cdylib",
]
path = "src/lib.rs"
bench = false

[[bin]]
name = "obadh"
path = "src/bin/obadh.rs"
bench = false
required-features = ["cli"]

[[bin]]
name = "obadh-autocorrect"
path = "src/bin/obadh-autocorrect.rs"
bench = false
required-features = ["cli"]

[[bin]]
name = "obadh-autosuggest"
path = "src/bin/obadh-autosuggest.rs"
bench = false
required-features = ["cli"]

[[bin]]
name = "tokenizer"
path = "src/bin/tokenizer.rs"
bench = false
required-features = ["cli"]

[[test]]
name = "autocorrect_cli_tests"
path = "tests/autocorrect_cli_tests.rs"

[[test]]
name = "autocorrect_tests"
path = "tests/autocorrect_tests.rs"

[[test]]
name = "basic_tests"
path = "tests/basic_tests.rs"

[[test]]
name = "conjunct_tests"
path = "tests/conjunct_tests.rs"

[[test]]
name = "hasant_tests"
path = "tests/hasant_tests.rs"

[[test]]
name = "orthography_tests"
path = "tests/orthography_tests.rs"

[[test]]
name = "phola_tests"
path = "tests/phola_tests.rs"

[[test]]
name = "rule_source_tests"
path = "tests/rule_source_tests.rs"

[[test]]
name = "sanitizer_tests"
path = "tests/sanitizer_tests.rs"

[[test]]
name = "tokenizer_tests"
path = "tests/tokenizer_tests.rs"

[[test]]
name = "valid_conjunct_tests"
path = "tests/valid_conjunct_tests.rs"

[[bench]]
name = "hot_path"
path = "benches/hot_path.rs"
harness = false

[dependencies.clap]
version = "=4.5.32"
features = ["derive"]
optional = true

[dependencies.console_error_panic_hook]
version = "0.1.7"
optional = true

[dependencies.fst]
version = "0.4.7"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde-wasm-bindgen]
version = "0.5"
optional = true

[dependencies.serde_json]
version = "1.0"

[dependencies.wasm-bindgen]
version = "0.2.87"
optional = true

[dependencies.web-sys]
version = "0.3.64"
features = [
    "Window",
    "Performance",
]
optional = true

[dev-dependencies.criterion]
version = "0.5"
features = [
    "cargo_bench_support",
    "rayon",
]
default-features = false

[dev-dependencies.wasm-bindgen-test]
version = "0.3.37"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.memmap2]
version = "0.9"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.sha2]
version = "0.10"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.unicode-normalization]
version = "=0.1.25"
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.zip]
version = "=5.1.1"
features = ["deflate-flate2-zlib-rs"]
optional = true
default-features = false

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true

[profile.wasm-release]
opt-level = "z"
lto = true
panic = "abort"
inherits = "release"