Embedding compatibility: CDK version pin and MSRV #9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
satsettle pins
cdk = "=0.18.0"from crates.io and requires Rust 1.95 and edition 2024. An application that already depends on CDK, for example a git revision on 0.18.1, ends up with two CDK copies.cdk-commontypes are then incompatible across them, and the application cannot pass its own wallet or database in (#6).Suggestion
>=0.18.0, <0.19, or a caret requirement, instead of=0.18.0, so the application's resolution or[patch]picks one CDK.Related: #2 and #3 (caller-provided wallets). Passing in a wallet only works if satsettle and the application resolve to the same CDK version, which is what the version-range change here addresses.