string-offsets 0.2.1

Converts string offsets between UTF-8 bytes, UTF-16 code units, Unicode code points, and lines.
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 = "string-offsets"
version = "0.2.1"
authors = ["The blackbird team <support@github.com>"]
build = false
exclude = ["/js"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Converts string offsets between UTF-8 bytes, UTF-16 code units, Unicode code points, and lines."
readme = "README.md"
keywords = [
    "unicode",
    "positions",
    "utf16",
    "characters",
    "lines",
]
categories = [
    "algorithms",
    "data-structures",
    "text-processing",
    "development-tools::ffi",
]
license = "MIT"
repository = "https://github.com/github/rust-gems"

[features]
wasm = ["wasm-bindgen"]

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

[[bench]]
name = "performance"
path = "benchmarks/performance.rs"
harness = false

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

[dev-dependencies.criterion]
version = "0.8"

[dev-dependencies.rand]
version = "0.10"

[dev-dependencies.rand_chacha]
version = "0.10"