We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1877e62 commit 9b6ee8dCopy full SHA for 9b6ee8d
build.rs
@@ -6,6 +6,10 @@ use std::{
6
};
7
8
fn main() -> Result<(), Box<dyn Error>> {
9
+ // Skip building from docs.rs.
10
+ if std::env::var_os("DOCS_RS").is_some() {
11
+ return Ok(());
12
+ }
13
// Retrieve a live version of the reports.proto file
14
let proto_url = "https://usage-reporting.api.apollographql.com/proto/reports.proto";
15
let response = reqwest::blocking::get(proto_url)?;
0 commit comments