Skip to content

Commit

Permalink
cloudflair added a feature for blocking api as it is no longer in the…
Browse files Browse the repository at this point in the history
… default build.
  • Loading branch information
jpoisso committed Oct 12, 2023
1 parent 9c35e41 commit 71a83fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dotenv = "0.15.0"
log = "0.4.20"
env_logger = "0.10.0"
anyhow = "1.0.75"
cloudflare = { version = "0.11.0" , features = ["rustls-tls"], default-features=false }
cloudflare = { version = "0.11.0" , features = ["rustls-tls", "blocking"], default-features=false }
reqwest = { version = "0.11.22", features = ["rustls-tls", "json", "blocking"], default-features=false }
rustls = "0.21.7"
rustls-pemfile = "1.0.3"
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use cloudflare::endpoints::dns::{
DnsContent, ListDnsRecords, ListDnsRecordsParams, UpdateDnsRecord, UpdateDnsRecordParams,
};
use cloudflare::framework::apiclient::ApiClient;

use cloudflare::framework::auth::Credentials;
use cloudflare::framework::{Environment, HttpApiClient, HttpApiClientConfig, OrderDirection};
use dotenv::dotenv;
Expand Down

0 comments on commit 71a83fe

Please sign in to comment.