content: [workspace]
  members = [".", "hyperscan-tokio-sys", "fuzz"]
  resolver = "2"
  
  [workspace.package]
  version = "0.1.0"
  authors = ["Mikey Saxton <mikey@mikeyasaservice.com>"]
  license = "Apache-2.0"
  repository = "https://github.com/mikeyasaservice/hyperscan-tokio"
  edition = "2021"
  
  [package]
  name = "hyperscan-tokio"
  version = "0.1.0"
  edition = "2021"
  authors = ["Mikey Saxton <mikey@mikeyasaservice.com>"]
  license = "Apache-2.0"
  description = "High-performance async regex scanning with VectorScan"
  repository = "https://github.com/mikeyasaservice/hyperscan-tokio"
  homepage = "https://github.com/mikeyasaservice/hyperscan-tokio"
  documentation = "https://docs.rs/hyperscan-tokio"
  readme = "README.md"
  keywords = ["regex", "vectorscan", "hyperscan", "async", "tokio"]
  categories = ["text-processing", "asynchronous", "parsing"]
  exclude = ["/.github", "/benches", "/fuzz", "/tests", "*.sh"]
  rust-version = "1.70"
  
  [dependencies]
  hyperscan-tokio-sys = { path = "hyperscan-tokio-sys", version = "0.1.0", default-features = false }
  libc = "0.2.174"
  bitflags = "2.4"
  tokio = { version = "1.35", features = ["rt", "rt-multi-thread", "macros", "sync", "fs"] }
  tokio-stream = "0.1"
  bytes = "1.5"
  thiserror = "2.0.12"
  anyhow = "1.0"
  arc-swap = "1.6"
  crossbeam = { version = "0.8", features = ["crossbeam-queue"] }
  core_affinity = "0.8"
  parking_lot = "0.12"
  tracing = "0.1"
  pin-project = "1.1"
  futures = "0.3"
  once_cell = "1.19"
  dashmap = "6.1.0"
  ahash = "0.8"
  num_cpus = "1.16"
  regex = { version = "1.10", optional = true }
  regex-syntax = { version = "0.8", optional = true }
  
  [dependencies.tikv-jemallocator]
  version = "0.6.0"
  optional = true
  
  [dependencies.mimalloc]
  version = "0.1"
  optional = true
  
  [dependencies.arrow-array]
  version = "55.1.0"
  optional = true
  
  [dependencies.arrow-buffer]
  version = "55.1.0"
  optional = true
  
  [dependencies.serde]
  version = "1.0"
  optional = true
  
  [dependencies.serde_json]
  version = "1.0"
  optional = true
  
  [dev-dependencies]
  criterion = { version = "0.6.0", features = ["async_tokio"] }
  proptest = "1.4"
  tokio-test = "0.4"
  regex = "1.10"
  pcre2 = "0.2"
  tracing-subscriber = "0.3"
  rand = "0.8"
  quicksort = "1.0"
  
  [features]
  default = ["jemalloc", "simd-accel", "system"]
  
  # VectorScan/Hyperscan linking options (choose one)
  vendored = ["hyperscan-tokio-sys/vendored"]  # Build from source (default)
  system = ["hyperscan-tokio-sys/system"]      # Use system library
  hyperscan = ["hyperscan-tokio-sys/hyperscan"] # Use Intel Hyperscan (x86_64 only)
  
  # Enable FFI-based Chimera (requires VectorScan built with PCRE)
  chimera-ffi = ["hyperscan-tokio-sys/chimera"]
  
  # Enable Rust-native Chimera implementation (PCRE-compatible patterns with capture groups)
  chimera = ["regex", "regex-syntax"]
  
  # Memory allocators (choose one)
  jemalloc = ["tikv-jemallocator"]
  mimalloc = ["dep:mimalloc"]
  
  # Optional features
  arrow = ["arrow-array", "arrow-buffer"]
  arrow-scan = ["arrow-array", "arrow-buffer"]
  metrics = ["serde", "serde_json"]
  simd-accel = []
  avx2 = []
  avx512 = []
  neon = []
  bench = []
  
  [[bench]]
  name = "throughput"
  harness = false
  
  [[bench]]
  name = "real_world"
  harness = false
  
  [profile.release]
  lto = true
  codegen-units = 1
  opt-level = 3
  panic = "abort"
  strip = "symbols"
  
  [profile.release-with-debug]
  inherits = "release"
  debug = true
  strip = "none"
  
  [profile.pgo]
  inherits = "release"
  lto = "fat"
  
  