carbon-core 1.0.0

Core library for Carbon
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! GraphQL feature: pre-wired Juniper schema + Axum router and
//! GraphQL-shaped scalars for Solana primitives.
//!
//! - [`primitives`] — `GraphQLScalar`-derived newtypes (`Pubkey`, `I64`/`I128`,
//!   `U8`/`U32`/`U64`/`U128`, `Json`).
//! - [`server`] (feature-gated) — `build_schema` + `graphql_router` helpers
//!   that mount `/graphql` and `/graphiql` on an Axum `Router`.

pub mod primitives;
#[cfg(feature = "graphql")]
pub mod server;