[package] authors = ["Braden Steffaniak"] categories = ["database"] description = "MoosicBox search package" edition = "2021" keywords = ["api", "database", "search", "tantivy"] license = "MPL-2.0" name = "moosicbox_search" readme = "README.md" repository = "https://github.com/MoosicBox/MoosicBox" version = "0.1.0" [dependencies] moosicbox_config = { version = "0.1.0", path = "../config", default-features = false } moosicbox_core = { version = "0.1.0", path = "../core", default-features = false, features = [ "tantivy", ] } moosicbox_json_utils = { version = "0.1.0", path = "../json_utils", default-features = false, features = [ "tantivy", ] } moosicbox_task = { version = "0.1.0", path = "../task" } # API Dependencies actix-web = { workspace = true, optional = true } utoipa = { workspace = true, optional = true } itertools = { workspace = true } log = { workspace = true } regex = { workspace = true } serde = { workspace = true } tantivy = { workspace = true } thiserror = { workspace = true } tokio = { workspace = true } [features] default = ["api", "db", "openapi"] fail-on-warnings = [] api = ["db", "dep:actix-web"] db = [] openapi = ["dep:utoipa", "moosicbox_core/openapi"]