22 lines
1.3 KiB
Clojure
22 lines
1.3 KiB
Clojure
(ns babashka.impl.features
|
|
{:no-doc true})
|
|
|
|
;; included by default
|
|
(def yaml? (not= "false" (System/getenv "BABASHKA_FEATURE_YAML")))
|
|
(def xml? (not= "false" (System/getenv "BABASHKA_FEATURE_XML")))
|
|
(def core-async? (not= "false" (System/getenv "BABASHKA_FEATURE_CORE_ASYNC")))
|
|
(def csv? (not= "false" (System/getenv "BABASHKA_FEATURE_CSV")))
|
|
(def transit? (not= "false" (System/getenv "BABASHKA_FEATURE_TRANSIT")))
|
|
(def java-time? (not= "false" (System/getenv "BABASHKA_FEATURE_JAVA_TIME")))
|
|
(def java-nio? (not= "false" (System/getenv "BABASHKA_FEATURE_JAVA_NIO")))
|
|
(def httpkit-client? (not= "false" (System/getenv "BABASHKA_FEATURE_HTTPKIT_CLIENT")))
|
|
(def httpkit-server? (not= "false" (System/getenv "BABASHKA_FEATURE_HTTPKIT_SERVER")))
|
|
(def core-match? (not= "false" (System/getenv "BABASHKA_FEATURE_CORE_MATCH")))
|
|
|
|
;; excluded by default
|
|
(def jdbc? (= "true" (System/getenv "BABASHKA_FEATURE_JDBC")))
|
|
(def postgresql? (= "true" (System/getenv "BABASHKA_FEATURE_POSTGRESQL")))
|
|
(def oracledb? (= "true" (System/getenv "BABASHKA_FEATURE_ORACLEDB")))
|
|
(def hsqldb? (= "true" (System/getenv "BABASHKA_FEATURE_HSQLDB")))
|
|
(def datascript? (= "true" (System/getenv "BABASHKA_FEATURE_DATASCRIPT")))
|
|
(def lanterna? (= "true" (System/getenv "BABASHKA_FEATURE_LANTERNA")))
|