[package] name = "gn-search-engine" description = "The GeneNetwork search engine: the xapian reader moved out of GN4." # Spelled out, not inherited: this crate is consumed as a vendored directory # (GN4 builds it from a guix store with no network), and a directory source has # no workspace root above it to inherit from. version = "0.1.0" edition = "2021" license = "AGPL-3.0-or-later" [dependencies] # By path, so a consumer's cargo resolves it inside this checkout: by version # alone it would look for gn-search-schema on crates.io, where it is not # published, and fall over at resolve time. gn-search-schema = { version = "0.1.0", path = "../schema" } xapian-rs = { git = "https://github.com/Alexanderlacuna/xapian-rs", rev = "70c5eace78dbca29c434cb103cb8b2c5d4246f0d" } serde_json = "1.0.151" tokio = { version = "1", features = ["rt"] } [features] default = [] # Forward the OpenAPI derive to the schema crate: GN4's `Envelope` # makes it a type-formation requirement there, so the CONSUMER turns it on. schema = ["gn-search-schema/schema"] # The in-memory fixture index and the parity corpus runner's document set. # A TEST DOUBLE: off by default, because a build that answered a real index path # with its five recorded hits would fabricate search results. fixture = [] # The development HTTP server in `src/bin/gn-search.rs`. serve = []