[package] namespace = "mcpplibs" name = "tinyhttps" version = "0.3.5" description = "Minimal C++23 HTTP/HTTPS client with SSE streaming support" license = "Apache-2.0" repo = "https://github.com/mcpplibs/tinyhttps" [targets.tinyhttps] kind = "lib" [dependencies.compat] mbedtls = "3.6.1" [dev-dependencies.compat] gtest = "1.15.2" # The socket interface follows the C library rather than the operating system # (src/platform.cppm). Where the C library is musl, including musl above openkal # on Windows, it is the POSIX interface; the platform's own headers are not part # of that graph. The entropy source follows it too: musl's `getentropy`, rather # than mbedTLS's reading of /dev/urandom (src/tls.cppm). [target.'cfg(c-abi = "musl")'.build] cxxflags = ["-DTINYHTTPS_POSIX_SOCKETS", "-DTINYHTTPS_GETENTROPY"]