this/server/
mod.rs

1//! Server module for building HTTP servers with auto-registered routes
2//!
3//! This module provides a `ServerBuilder` that automatically registers:
4//! - CRUD routes for all entities declared in modules
5//! - Link routes for bidirectional entity relationships
6//! - Introspection routes for API discovery
7//!
8//! The server architecture is modular and supports multiple exposure types:
9//! - REST (implemented)
10//! - GraphQL (available with 'graphql' feature)
11//! - gRPC (planned)
12//! - OpenAPI (planned)
13
14pub mod builder;
15pub mod entity_registry;
16pub mod exposure;
17pub mod host;
18pub mod router;
19
20pub use builder::ServerBuilder;
21pub use entity_registry::{EntityDescriptor, EntityRegistry};
22pub use exposure::RestExposure;
23pub use host::ServerHost;
24
25#[cfg(feature = "graphql")]
26pub use exposure::GraphQLExposure;