linkrs_wire/lib.rs
1//! Wire contract crate: DTOs shared between the network service
2//! (`linkrs-server`) and the CLI.
3//!
4//! The HTTP contract has a single source of truth here: the server
5//! serializes these types and the CLI deserializes them (and vice versa for
6//! requests), eliminating field-by-field mirror DTOs in both crates.
7//!
8//! Dependency surface is deliberately minimal (`serde` + `serde_json` +
9//! `utoipa` schema derives) so the crate stays usable from both sides
10//! without dragging in axum/tonic.
11
12pub mod batch;
13pub mod fulltext;
14pub mod meta;
15pub mod migration;
16pub mod query;
17pub mod schema;
18pub mod vector;