forked from bradlarsen/vectorscan-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
44 lines (36 loc) · 1.24 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[package]
name = "vectorscan-rs-sys"
description = "Native bindings to the Vectorscan high-performance regex library"
readme = "README.md"
build = "build.rs"
links = "hs"
version.workspace = true
authors.workspace = true
categories.workspace = true
edition.workspace = true
keywords.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
[features]
# This feature causes `bindgen` to run to produce the raw Rust bindings to Vectorscan.
gen = ["bindgen"]
# This feature causes Vectorscan to build using available SIMD
# microarchitecture support from the build system CPU, such as AVX2, AVX512,
# SVE, and SVE2. The resulting binary will not be portable to CPUs that lack
# SIMD support that the build system has.
simd_specialization = []
# This feature causes Vectorscan to build with code tuned for the
# microarchitecture of the build system's CPU. The resulting binary will not be
# portable to CPUs that lack SIMD support that the build system has.
cpu_native = []
# This feature causes the Vectorscan unit test suite to be built and run at
# crate build time.
unit_hyperscan = []
[build-dependencies]
bindgen = { version = "0.69", optional = true }
cmake = "0.1"
flate2 = "1.0"
tar = "0.4"
[lib]
doctest = false