[package]
edition = "2021"
name = "stringzilla"
version = "4.6.1"
authors = ["Ash Vardanian <1983160+ashvardanian@users.noreply.github.com>"]
build = "build.rs"
include = [
"rust/**",
"c/**",
"include/**",
"fork_union/include/**",
"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",
]
cuda = [
"std",
"cpus",
]
default = ["std"]
rocm = [
"std",
"cpus",
]
std = []
[lib]
name = "stringzilla"
path = "rust/lib.rs"
[dependencies.allocator-api2]
version = "0.3.0"
optional = true
[dependencies.stringtape]
version = "2.4.1"
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"