Update readme
This commit is contained in:
parent
c350d182ce
commit
44a1869112
15
README.md
15
README.md
|
@ -53,6 +53,21 @@ This crate uses `#![forbid(unsafe_code)]` to ensure everything is implemented in
|
||||||
* Apollo Federation
|
* Apollo Federation
|
||||||
* Batch Queries
|
* Batch Queries
|
||||||
|
|
||||||
|
# Crate features
|
||||||
|
|
||||||
|
This crate offers the following features, all of which are activated by default:
|
||||||
|
|
||||||
|
- `apollo_tracing`: Enable the [Apollo tracing extension](extensions/struct.ApolloTracing.html).
|
||||||
|
- `log`: Enable the [logger extension](extensions/struct.Logger.html).
|
||||||
|
- `tracing`: Enable the [tracing extension](extensions/struct.Tracing.html).
|
||||||
|
- `multipart`: Support [sending files over HTTP multipart](http/fn.receive_body.html).
|
||||||
|
- `unblock`: Support [asynchronous reader for Upload](types/struct.Upload.html)
|
||||||
|
- `bson`: Integrate with the [`bson` crate](https://crates.io/crates/bson).
|
||||||
|
- `chrono`: Integrate with the [`chrono` crate](https://crates.io/crates/chrono).
|
||||||
|
- `chrono-tz`: Integrate with the [`chrono-tz` crate](https://crates.io/crates/chrono-tz).
|
||||||
|
- `url`: Integrate with the [`url` crate](https://crates.io/crates/url).
|
||||||
|
- `uuid`: Integrate with the [`uuid` crate](https://crates.io/crates/uuid).
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
If you are just getting started, we recommend checking out our examples at: https://github.com/async-graphql/examples
|
If you are just getting started, we recommend checking out our examples at: https://github.com/async-graphql/examples
|
||||||
|
|
30
src/lib.rs
30
src/lib.rs
|
@ -49,6 +49,21 @@
|
||||||
//! * Apollo Federation
|
//! * Apollo Federation
|
||||||
//! * Batch Queries
|
//! * Batch Queries
|
||||||
//!
|
//!
|
||||||
|
//! # Crate features
|
||||||
|
//!
|
||||||
|
//! This crate offers the following features, all of which are activated by default:
|
||||||
|
//!
|
||||||
|
//! - `apollo_tracing`: Enable the [Apollo tracing extension](extensions/struct.ApolloTracing.html).
|
||||||
|
//! - `log`: Enable the [logger extension](extensions/struct.Logger.html).
|
||||||
|
//! - `tracing`: Enable the [tracing extension](extensions/struct.Tracing.html).
|
||||||
|
//! - `multipart`: Support [sending files over HTTP multipart](http/fn.receive_body.html).
|
||||||
|
//! - `unblock`: Support [asynchronous reader for Upload](types/struct.Upload.html)
|
||||||
|
//! - `bson`: Integrate with the [`bson` crate](https://crates.io/crates/bson).
|
||||||
|
//! - `chrono`: Integrate with the [`chrono` crate](https://crates.io/crates/chrono).
|
||||||
|
//! - `chrono-tz`: Integrate with the [`chrono-tz` crate](https://crates.io/crates/chrono-tz).
|
||||||
|
//! - `url`: Integrate with the [`url` crate](https://crates.io/crates/url).
|
||||||
|
//! - `uuid`: Integrate with the [`uuid` crate](https://crates.io/crates/uuid).
|
||||||
|
//!
|
||||||
//! ## Integrations
|
//! ## Integrations
|
||||||
//!
|
//!
|
||||||
//! * Actix-web [async-graphql-actix_web](https://crates.io/crates/async-graphql-actix-web)
|
//! * Actix-web [async-graphql-actix_web](https://crates.io/crates/async-graphql-actix-web)
|
||||||
|
@ -92,21 +107,6 @@
|
||||||
//!
|
//!
|
||||||
//! Now a HTML report is available at `benchmark/target/criterion/report`.
|
//! Now a HTML report is available at `benchmark/target/criterion/report`.
|
||||||
//!
|
//!
|
||||||
//! # Crate features
|
|
||||||
//!
|
|
||||||
//! This crate offers the following features, all of which are activated by default:
|
|
||||||
//!
|
|
||||||
//! - `apollo_tracing`: Enable the [Apollo tracing
|
|
||||||
//! extension](extensions/struct.ApolloTracing.html).
|
|
||||||
//! - `log`: Enable the [logger extension](extensions/struct.Logger.html).
|
|
||||||
//! - `tracing`: Enable the [tracing extension](extensions/struct.Tracing.html).
|
|
||||||
//! - `multipart`: Support [sending files over HTTP multipart](http/fn.receive_body.html).
|
|
||||||
//! - `unblock`: Support [asynchronous reader for Upload](types/struct.Upload.html)
|
|
||||||
//! - `bson`: Integrate with the [`bson` crate](https://crates.io/crates/bson).
|
|
||||||
//! - `chrono`: Integrate with the [`chrono` crate](https://crates.io/crates/chrono).
|
|
||||||
//! - `chrono-tz`: Integrate with the [`chrono-tz` crate](https://crates.io/crates/chrono-tz).
|
|
||||||
//! - `url`: Integrate with the [`url` crate](https://crates.io/crates/url).
|
|
||||||
//! - `uuid`: Integrate with the [`uuid` crate](https://crates.io/crates/uuid).
|
|
||||||
|
|
||||||
#![warn(missing_docs)]
|
#![warn(missing_docs)]
|
||||||
#![allow(clippy::trivially_copy_pass_by_ref)]
|
#![allow(clippy::trivially_copy_pass_by_ref)]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user