[package]
edition = "2021"
rust-version = "1.83"
name = "stringzilla"
version = "5.1.0"
authors = ["Ash Vardanian <1983160+ashvardanian@users.noreply.github.com>"]
build = "build.rs"
links = "stringzilla"
include = [
"/rust/**",
"/c/**",
"/include/**",
"/probes/**",
"/build.rs",
"/LICENSE",
]
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Search, hash, sort, fingerprint, and fuzzy-match strings faster via SWAR, SIMD, and GPGPU"
homepage = "https://ashvardanian.com/posts/stringzilla/"
documentation = "https://docs.rs/stringzilla"
readme = "README.md"
keywords = [
"simd",
"search",
"retrieval",
"hash",
"sort",
]
categories = [
"text-processing",
"hardware-support",
"no-std",
"wasm",
]
license = "Apache-2.0"
repository = "https://github.com/ashvardanian/StringZilla"
[features]
cpus = [
"std",
"dep:allocator-api2",
"dep:stringtape",
"dep:forkunion",
]
cuda = [
"std",
"cpus",
]
default = [
"std",
"dynamic-dispatch",
]
dynamic-dispatch = []
rocm = [
"std",
"cpus",
]
std = []
[lib]
name = "stringzilla"
path = "rust/lib.rs"
[dependencies.allocator-api2]
version = "0.4"
optional = true
[dependencies.forkunion]
version = "3.0"
optional = true
[dependencies.stringtape]
version = "2.4.2"
optional = true
[build-dependencies.cc]
version = "1.2.47"
[lints.clippy]
cast-sign-loss = "warn"
invalid_null_ptr_usage = "warn"
not-unsafe-ptr-arg-deref = "warn"
transmute_ptr_to_ptr = "warn"
[lints.rust]
improper_ctypes = "warn"
unexpected_cfgs = "warn"
[profile.release]
opt-level = 2