1# Copyright 2022 Meta
2# SPDX-License-Identifier: Apache-2.0
3
4config ZEPHYR_THRIFT_MODULE
5	bool
6
7menuconfig THRIFT
8	bool "Support for Thrift [EXPERIMENTAL]"
9	select EXPERIMENTAL
10	depends on CPP
11	depends on STD_CPP17
12	depends on CPP_EXCEPTIONS
13	depends on POSIX_API
14	help
15	  Enable this option to support Apache Thrift
16
17if THRIFT
18
19config THRIFT_SSL_SOCKET
20	bool "TSSLSocket support for Thrift"
21	depends on MBEDTLS
22	depends on MBEDTLS_PEM_CERTIFICATE_FORMAT
23	depends on NET_SOCKETS_SOCKOPT_TLS
24	help
25	  Enable this option to support TSSLSocket for Thrift
26
27module = THRIFT
28module-str = THRIFT
29source "subsys/logging/Kconfig.template.log_config"
30
31endif # THRIFT
32