Skip to content

Detecting docs.rs from build.rs? #147

@kornelski

Description

@kornelski

I have a crate that requires complicated system dependencies to build. However, the real functionality is not actually needed for docs, so I think I could fake it just for doc generation.

Can I somehow detect docs.rs and build my crate differently for docs?

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-easyEffort: Should be easy to implement and would make a good first PRmentorThis has instructions for getting started

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions