[package] name = "xapian" version = "0.1.5" edition = "2021" description = "Rust bindings to Xapian" documentation = "https://ttys3.github.io/xapian-rs/xapian/" homepage = "https://github.com/ttys3/xapian-rs" repository = "https://github.com/ttys3/xapian-rs.git" readme = "README.md" authors = ["Valeriy Bushenev ", "David Tolnay "] license = "MIT" exclude = ["xapian", ".*"] links = "xapian-rs" [lib] path = "src/lib.rs" [dependencies] cxx = { version = "1.0.95", features = ["c++17"] } [build-dependencies] cxx-build = "1.0.95" pkg-config = "0.3.27" miette = { version = "5", features = ["fancy"] } # optional but gives nicer error messages! [dev-dependencies] anyhow = "1.0.71" chrono = "0.4.26" log = "0.4.18" serde = { version = "1.0.163", features = ["derive"] } serde_json = "1.0.96" [features] # Note: crates.io imposes additional constraints on feature name syntax that # they must only be ASCII alphanumeric characters or _, -, or +. default = ["xapian-1_5"] vendored-xapian = [] xapian-1_5 = [] xapian-1_4 = [] 64bit = [ "64bit-docid", "64bit-termcount", "64bit-termpos" ] 64bit-docid = [] 64bit-termcount = [] 64bit-termpos = []