[package]
authors = ["Thomas Krause <thomaskrause@posteo.de>"]
build = "build.rs"
description = "This is a new backend implementation of the ANNIS linguistic search and visualization system."
edition = "2021"
license = "Apache-2.0"
name = "graphannis"
readme = "../README.md"
repository = "https://github.com/korpling/graphANNIS"
version = "3.5.1"

[lib]
crate-type = ["lib"]

[build-dependencies]
csv = "1.1"
file_diff = "1"
lalrpop = { version = "0.20", default-features = false, features = [
    "lexer",
    "unicode",
] }
regex = "1"

[dependencies]
boolean_expression = "0.4"
csv = "1"
fs2 = "0.4"
graphannis-core = { path = "../core/", version = "^3" }
itertools = "0.10"
lalrpop-util = { version = "0.20", features = ["lexer"] }
lazy_static = "1.4"
libc = "0.2"
linked-hash-map = "0.5"
log = "0.4"
lru = "0.7"
memory-stats = "1.1.0"
page_size = "0.4"
percent-encoding = "2.1"
rand = { version = "0.8", features = ["small_rng"] }
rayon = { version = "1.3", default-features = false }
regex = "1"
regex-syntax = "0.8"
rustc-hash = "1.0"
serde = { version = "1.0", features = ["rc"] }
serde_derive = "1.0"
smallvec = "1.6"
smartstring = { version = "1", features = ["serde"] }
strum = "0.21"
strum_macros = "0.21"
sys-info = "0.9"
tempfile = "3"
thiserror = "1"
toml = "0.8"
transient-btree-index = "0.5"
zip = "0.6.4"

[dev-dependencies]
assert_matches = "1.5.0"
criterion = "0.5"
fake = "2.2"
insta = "1.34.0"
pretty_assertions = "1.3"
same-file = "1.0.6"
serial_test = "2"

[[bench]]
harness = false
name = "graphannis"
