-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathCargo.toml
More file actions
30 lines (25 loc) · 779 Bytes
/
Cargo.toml
File metadata and controls
30 lines (25 loc) · 779 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[package]
name = "string-offsets"
authors = ["The blackbird team <support@github.com>"]
version = "0.2.0"
edition = "2021"
description = "Converts string offsets between UTF-8 bytes, UTF-16 code units, Unicode code points, and lines."
repository = "https://github.com/github/rust-gems"
license = "MIT"
keywords = ["unicode", "positions", "utf16", "characters", "lines"]
categories = ["algorithms", "data-structures", "text-processing", "development-tools::ffi"]
exclude = ["/js"]
[lib]
crate-type = ["cdylib", "rlib"]
[features]
wasm = ["wasm-bindgen"]
[dependencies]
wasm-bindgen = { version = "0.2", optional = true }
[dev-dependencies]
rand = "0.10"
rand_chacha = "0.10"
criterion = "0.8"
[[bench]]
name = "performance"
path = "benchmarks/performance.rs"
harness = false