You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@ This NATS Client implementation is heavily based on the [NATS GO Client](https:/
18
18
-[Building](#building)
19
19
* [TLS Support](#tls-support)
20
20
* [Link statically](#link-statically)
21
+
* [Building with EXPERIMENTAL API support](#building-with-experimental-API-support)
21
22
* [Building with Streaming](#building-with-streaming)
22
23
* [Building with Libsodium](#building-with-libsodium)
23
24
* [Testing](#testing)
@@ -177,6 +178,18 @@ cmake .. <build options that you may already use> -DNATS_BUILD_OPENSSL_STATIC_LI
177
178
```
178
179
Then call `make` (or equivalent depending on your platform) and this should ensure that the library (and examples and/or test suite executable) are linked against the OpenSSL library, if it was found by CMake.
179
180
181
+
## Building with EXPERIMENTAL API support
182
+
183
+
At times we may introduce APIs that are not stable yet. To build with them, define NATS_WITH_EXPERIMENTAL:
184
+
```
185
+
# cd ./build
186
+
rm CMakeCache.txt
187
+
cmake .. <build options that you may already use> -DNATS_WITH_EXPERIMENTALON
188
+
make
189
+
```
190
+
191
+
Note that experimental APIs may have other dependencies (like SSL).
192
+
180
193
## Building with Streaming
181
194
182
195
When building the library with Streaming support, the NATS library uses the [libprotobuf-c](https://github.com/protobuf-c/protobuf-c) library.
0 commit comments