[package]
edition = "2021"
name = "stringzilla"
version = "5.0.3"
authors = ["Ash Vardanian <1983160+ashvardanian@users.noreply.github.com>"]
build = "build.rs"
include = [
"rust/**",
"c/**",
"include/**",
"forkunion/include/**",
"probes/**",
"build.rs",
]
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",
"external-ffi-bindings",
]
license = "Apache-2.0"
repository = "https://github.com/ashvardanian/StringZilla"
[features]
cpus = [
"std",
"allocator-api2",
"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