Skip to content

Crates which re-export types from other crates should also re-export the entire crate #170

@jsgf

Description

@jsgf

For example, quickcheck has:

extern crate rand;

pub use rand::Rng;

This has the problem that all users of quickcheck need to depend on the same version of rand as quickcheck if they want to use the rest of rand's API. If quickcheck had:

pub extern crate rand;

pub use rand::Rng;

then users can use quickcheck::rand to get access to the full rand API to interact with quickcheck, while not being constrained about what version of rand they want for their own purposes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions