Skip to content

The current release versions of payjoin-directory and payjoin-test-utils have conflicting features when trying do depend on them externally #1261

@benalleng

Description

@benalleng

because the _danger-local-https -> _manual-tls change did not make it into the most recent release depending on payjoin and payjoin-test-utils is causing me some issues from external crates.

Because I am separating the fuzz workspace from the default members workspace to prevent it from interfering with builds and feature gate problems it is not properly understanding the nested deps as I would expect.

It sees the available features from before the latest release which did not include #763 as payjoin-directory's last release was merged on July 2 #840

package `payjoin-test-utils` depends on `payjoin-directory` with feature `_manual-tls` but `payjoin
-directory` does not have that feature.
 available features: _danger-local-https, hyper-rustls, rustls, tokio-rustls

This problem occurs specifically when referring to the crates with paths while being in what is considered and external crate like fuzz is due to this line https://github.com/benalleng/rust-payjoin/blob/876a7db11c8900dc5f41e2a5403baeba0d0fb1bd/fuzz/Cargo.toml#L31-L33

I can get around it by setting them to depend on versions and then creating a patch.crates-io list that specifies the path within that external crate

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions