glossia 0.2.0

Encode binary data (BIP39 mnemonics, keys, arbitrary payloads) into grammatically correct, human-readable natural language
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"
name = "glossia"
version = "0.2.0"
build = "build.rs"
include = [
    "src/**/*",
    "/build.rs",
    "languages/**/*.yaml",
    "examples/**/*.rs",
    "/README.md",
    "/LICENSE",
    "/LICENSE-MIT",
    "/LICENSE-APACHE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Encode binary data (BIP39 mnemonics, keys, arbitrary payloads) into grammatically correct, human-readable natural language"
homepage = "https://github.com/asherp/glossia"
documentation = "https://docs.rs/glossia"
readme = "README.md"
keywords = [
    "encoding",
    "bip39",
    "grammar",
    "codec",
    "linguistics",
]
categories = [
    "encoding",
    "text-processing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/asherp/glossia"

[package.metadata.wasm-pack.profile.release]
wasm-opt = [
    "-Oz",
    "--strip-debug",
    "--strip-producers",
    "--enable-bulk-memory",
    "--enable-nontrapping-float-to-int",
    "--enable-sign-ext",
    "--enable-mutable-globals",
    "--enable-multivalue",
    "--enable-reference-types",
]

[features]
default = ["native"]
native = [
    "dep:nlprule",
    "dep:image",
]
wasm = [
    "dep:wasm-bindgen",
    "dep:js-sys",
    "dep:getrandom",
]

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

[[example]]
name = "merkle_example"
path = "examples/merkle_example.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.bincode]
version = "1.3"

[dependencies.getrandom]
version = "0.2"
features = ["js"]
optional = true

[dependencies.image]
version = "0.25"
optional = true

[dependencies.js-sys]
version = "0.3"
optional = true

[dependencies.moniker]
version = "0.5"

[dependencies.nlprule]
version = "0.6"
optional = true

[dependencies.num-bigint]
version = "0.4"

[dependencies.num-traits]
version = "0.2"

[dependencies.pest]
version = "2.7"

[dependencies.pest_derive]
version = "2.7"

[dependencies.rand]
version = "0.8"

[dependencies.reed-solomon]
version = "0.2"

[dependencies.regex]
version = "1.10"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml]
version = "0.9"

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

[build-dependencies.serde_yaml]
version = "0.9"

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