[package]
name = "stringzilla"
version = "4.6.1"
authors = ["Ash Vardanian <1983160+ashvardanian@users.noreply.github.com>"]
description = "Search, hash, sort, fingerprint, and fuzzy-match strings faster via SWAR, SIMD, and GPGPU"
edition = "2021"
license = "Apache-2.0"
publish = true
repository = "https://github.com/ashvardanian/stringzilla"
documentation = "https://docs.rs/stringzilla"
homepage = "https://ashvardanian.com/posts/stringzilla/"
keywords = ["simd", "search", "retrieval", "hash", "sort"]
categories = [
"text-processing",
"hardware-support",
"no-std",
"wasm",
"external-ffi-bindings",
]
include = ["rust/**", "c/**", "include/**", "fork_union/include/**", "build.rs"]
[lib]
name = "stringzilla"
path = "rust/lib.rs"
[features]
default = ["std"]
std = []
cpus = [
"std",
"allocator-api2",
"stringtape",
]
cuda = ["std", "cpus"]
rocm = ["std", "cpus"]
[dependencies]
allocator-api2 = { version = "0.3.0", optional = true }
stringtape = { version = "2.4.1", optional = true }
[build-dependencies]
cc = "1.2.47"
[lints.clippy]
cast-sign-loss = "warn"
not-unsafe-ptr-arg-deref = "warn"
invalid_null_ptr_usage = "warn"
transmute_ptr_to_ptr = "warn"
[lints.rust]
improper_ctypes = "warn"
unexpected_cfgs = "warn"