From e7ee6aa47368a2d3c42f3671561afdb54424ee77 Mon Sep 17 00:00:00 2001 From: Lorenzo Leonardo Date: Sat, 17 Feb 2024 13:26:29 +0800 Subject: [PATCH] Major version up to v1.0.0 The purpose of the major version up since we wanted to cater both synchronous and asynchronous transactions for curl-rust. There are breaking changes in terms of the builder pattern. We use blocking() to signifies the end of the Curl builder to do a blocking perform after and nonblocking() to signify the end of the Curl builder to do a nonblocking perform after. For nonblocking transaction, the actor is now passed into nonblocking function instead in the new constructor of the HttpClient. --- Cargo.lock | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e22de95..5924b2e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -161,7 +161,7 @@ dependencies = [ [[package]] name = "curl-http-client" -version = "0.4.3" +version = "1.0.0" dependencies = [ "async-curl", "curl", diff --git a/Cargo.toml b/Cargo.toml index 75907c6..0465c17 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "curl-http-client" -version = "0.4.3" +version = "1.0.0" edition = "2021" authors = ["Lorenzo Leonardo "] license = "MIT"