-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmcpp.toml
More file actions
24 lines (20 loc) · 840 Bytes
/
Copy pathmcpp.toml
File metadata and controls
24 lines (20 loc) · 840 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[package]
namespace = "mcpplibs"
name = "tinyhttps"
version = "0.3.4"
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"]