# These "embedded libraries" are C companions statically linked by upstream's
# own dependency choices, reproduced per the Rust packaging guidance to honour
# upstream's build configuration rather than substitute a convenient one:
#
#   libyaml  — `unsafe-libyaml`, the C source vendored by `serde_yaml`.
#   curl     — `curl-sys`, pulled in transitively by `web-push` (via `isahc`),
#              which backs smooth-daemon's Web Push notification feature.
#   libzstd  — `gozstd`, statically linked by the embedded-Dolt Go binary.
#
# Replacing any of them with system shared libraries would mean rewriting
# upstream's build, so the embeddings are accepted for this local package.
smooth: embedded-library curl [usr/bin/smooth-daemon]
smooth: embedded-library libyaml [usr/bin/smooth-daemon]
smooth: embedded-library libyaml [usr/bin/th]
smooth: embedded-library libzstd [usr/bin/smooth-dolt]

# Release binaries are stripped by `cargo install` (release profile), so the
# auto-generated dbgsym carries no symbols.
smooth-dbgsym: debug-file-with-no-debug-symbols *
