diff --git a/CMakeLists.txt b/CMakeLists.txt index 5587e391a..15a9b321c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,7 +27,7 @@ add_custom_command( PREFIX=${CMAKE_INSTALL_PREFIX} LIBDIR=${CMAKE_INSTALL_FULL_LIBDIR} INCLUDEDIR=${CMAKE_INSTALL_FULL_INCLUDEDIR} - ${CARGO} build --target-dir=${CMAKE_BINARY_DIR}/target --release --no-default-features --features jsonrpc + ${CARGO} build --target-dir=${CMAKE_BINARY_DIR}/target --release --features jsonrpc WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/deltachat-ffi ) diff --git a/Cargo.toml b/Cargo.toml index 85249c0f7..ac996aa52 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -169,8 +169,8 @@ async-channel = "2.3.1" base64 = "0.22" chrono = { version = "0.4.38", default-features = false } deltachat-contact-tools = { path = "deltachat-contact-tools" } -deltachat-jsonrpc = { path = "deltachat-jsonrpc" } -deltachat = { path = "." } +deltachat-jsonrpc = { path = "deltachat-jsonrpc", default-features = false } +deltachat = { path = ".", default-features = false } futures = "0.3.30" futures-lite = "2.3.0" libc = "0.2"