Skip to content

crates.io build script guide: optional dependencies mistake? #2191

@hobofan

Description

@hobofan

In the "Linking to system libraries" example of the build script guide it says:

It has a optional dependency on libssh2 on all platforms to implement the ssh transport.

A few lines later there is a contradicting statement while still talking about the same example:

Here we also see the unconditional dependency on libssh2 via the libssh2-sys crate

Am I missing something or should the former also read "unconditional dependency"?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions