re_sdk
should not depend on ehttp
#6090
Labels
😤 annoying
Something in the UI / SDK is annoying to use
🌊 C++ API
C/C++ API specific
dependencies
concerning crates, pip packages etc
🧑💻 dev experience
developer experience (excluding CI)
Milestone
Proplem
Pulling in
ehttp
mean pulling inrustls
which adds dynamic linking to libssl on Linux, which has broken C++ builds for some of our users.Cause
The PR #5330 added 70 crates of dependencies to
re_sdk
, and despite the warnings of our bot, no human noticed until today, almost TWO MONTHS later.rerun_c/Cargo.toml
hasre_sdk = { workspace = true, features = ["data_loaders"]}
to supportlog_file_from_path
.The
data_loaders
feature pulls inre_data_source
as a dependency.rerun_c -> re_sdk -> re_data_source -> re_log_encoding -> ehttp -> ureq -> rustls
To support
log_file_from_path
we don't need all ofre_data_source
though. In particular, we only need the file loading part of it, NOT ehttp.Related
The text was updated successfully, but these errors were encountered: