File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -143,13 +143,18 @@ redis-module-macros = { path = "./redismodule-rs-macros"}
143143redis-module = { path = " ./" , default-features = false }
144144
145145[build-dependencies ]
146- bindgen = " 0.66"
146+ bindgen = { version = " 0.66" , default-features = false , features = [ " logging " , " prettyplease " ]}
147147cc = " 1"
148148
149149[features ]
150- default = [" min-redis-compatibility-version-6-0" ]
150+ default = [" min-redis-compatibility-version-6-0" , " bindgen-runtime " ]
151151min-redis-compatibility-version-7-4 = [" redis-module/min-redis-compatibility-version-7-4" ]
152152min-redis-compatibility-version-7-2 = [" redis-module/min-redis-compatibility-version-7-2" ]
153153min-redis-compatibility-version-7-0 = [" redis-module/min-redis-compatibility-version-7-0" ]
154154min-redis-compatibility-version-6-2 = [" redis-module/min-redis-compatibility-version-6-2" ]
155155min-redis-compatibility-version-6-0 = [" redis-module/min-redis-compatibility-version-6-0" ]
156+
157+ # Enable static linking to libclang in bindgen
158+ bindgen-static = [" bindgen/static" ]
159+ # Enable dynamic linking to libclang in bindgen
160+ bindgen-runtime = [" bindgen/runtime" ]
You can’t perform that action at this time.
0 commit comments