diff --git a/README.org b/README.org index 1ac6211..796dbfb 100644 --- a/README.org +++ b/README.org @@ -17,7 +17,7 @@ For Zig =0.15=, use the [[https://github.com/jiacai2050/zig-curl/tree/0.15][0.15 The vendored libraries consist of: | Library | Version | |---------+---------| -| libcurl | [[https://github.com/curl/curl/tree/curl-8_19_0][8.19.0]] | +| libcurl | [[https://github.com/curl/curl/tree/curl-8_21_0][8.21.0]] | | zlib | [[https://github.com/madler/zlib/tree/v1.3.1][1.3.1]] | | mbedtls | [[https://github.com/Mbed-TLS/mbedtls/tree/v3.6.0][3.6.0]] | diff --git a/build.zig.zon b/build.zig.zon index 147cb84..7a75129 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -11,10 +11,10 @@ "LICENSE", }, .dependencies = .{ - // https://github.com/curl/curl/releases/tag/curl-8_19_0 + // https://github.com/curl/curl/releases/tag/curl-8_21_0 .curl = .{ - .url = "https://github.com/curl/curl/releases/download/curl-8_19_0/curl-8.19.0.tar.gz", - .hash = "N-V-__8AAM-tPgFSsje3FI7iURLjDLSOquhtONinvYZp3AHh", + .url = "https://github.com/curl/curl/releases/download/curl-8_21_0/curl-8.21.0.tar.gz", + .hash = "N-V-__8AALEMTAGmPn1iGtLTj0oIiySFaGadtszadQ_-WeEo", .lazy = true, }, // https://github.com/madler/zlib/releases/tag/v1.3.1 diff --git a/libs/curl.zig b/libs/curl.zig index e583a4a..ae003e9 100644 --- a/libs/curl.zig +++ b/libs/curl.zig @@ -265,7 +265,6 @@ const srcs = &.{ "lib/http1.c", "lib/multi.c", "lib/gopher.c", - "lib/noproxy.c", "lib/curl_sasl.c", "lib/dict.c", "lib/bufref.c", @@ -285,6 +284,7 @@ const srcs = &.{ "lib/vtls/x509asn1.c", "lib/vtls/keylog.c", "lib/vtls/vtls_scache.c", + "lib/vtls/vtls_config.c", "lib/cshutdn.c", "lib/multi_ev.c", "lib/curlx/wait.c", @@ -329,9 +329,9 @@ const srcs = &.{ "lib/curlx/basename.c", "lib/curlx/snprintf.c", "lib/memdebug.c", - "lib/vquic/curl_ngtcp2.c", + "lib/vquic/cf-ngtcp2.c", "lib/vquic/vquic.c", - "lib/vquic/curl_quiche.c", + "lib/vquic/cf-quiche.c", "lib/getinfo.c", "lib/http2.c", "lib/vauth/oauth2.c", @@ -351,7 +351,6 @@ const srcs = &.{ "lib/bufq.c", "lib/curl_get_line.c", "lib/hostip4.c", - "lib/curl_rtmp.c", "lib/amigaos.c", "lib/curl_share.c", "lib/curlx/warnless.c", @@ -415,4 +414,14 @@ const srcs = &.{ "lib/transfer.c", "lib/hmac.c", "lib/fileinfo.c", + "lib/dnscache.c", + "lib/cf-dns.c", + "lib/protocol.c", + "lib/cf-setup.c", + "lib/creds.c", + "lib/peer.c", + "lib/cf-recvbuf.c", + "lib/proxy.c", + "lib/thrdqueue.c", + "lib/thrdpool.c" };