1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#![cfg_attr(
feature = "client",
doc = "
```rust,no_run
fn main() {
let string = \"Hello this grammarly world!\";
let mut r = grammarly::Request::from(string);
// With an API key:
println!(\"Response: {:#?}\", r.api_key(\"99999999\").send());
// Without an API key:
println!(\"Response: {:#?}\", r.send());
}
```"
)]
#![deny(missing_docs)]
#![deny(warnings)]
#[cfg(feature = "client")]
pub mod client;
pub mod request;
pub mod response;
pub use request::{HttpRequest, Request};
pub use response::Response;