[package]
authors = ["Ash Vardanian <1983160+ashvardanian@users.noreply.github.com>"]
categories = [
"text-processing",
"hardware-support",
"no-std",
"wasm",
"external-ffi-bindings",
]
description = "Search, hash, sort, fingerprint, and fuzzy-match strings faster via SWAR, SIMD, and GPGPU"
documentation = "https://docs.rs/stringzilla"
edition = "2021"
homepage = "https://ashvardanian.com/posts/stringzilla/"
include = [
"rust/**",
"c/**",
"include/**",
"forkunion/include/**",
"probes/**",
"build.rs",
]
keywords = ["simd", "search", "retrieval", "hash", "sort"]
license = "Apache-2.0"
name = "stringzilla"
publish = true
repository = "https://github.com/ashvardanian/StringZilla"
version = "5.0.2"
[lib]
name = "stringzilla"
path = "rust/lib.rs"
[features]
default = ["std", "dynamic-dispatch"]
std = []
cpus = [
"std",
"allocator-api2",
"stringtape",
"dep:forkunion",
]
cuda = ["std", "cpus"]
dynamic-dispatch = []
rocm = ["std", "cpus"]
[dependencies]
allocator-api2 = { version = "0.4", optional = true }
forkunion = { version = "3.0", optional = true }
stringtape = { version = "2.4.2", 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"
[profile.release]
opt-level = 2