hansjorg / rust-ci

Django webapp for www.rust-ci.org
Apache License 2.0
17 stars 8 forks source link

Cargo.toml isn't necessarily at the top level of a repository #14

Closed huonw closed 10 years ago

huonw commented 10 years ago

Cargo supports "metapackages", i.e. a repository that holds multiple Cargo.tomls and thus multiple packages. The following is a possible directory structure:

.
|-- foo
|   |-- Cargo.toml
|   `-- src
|       `-- lib.rs
`-- foo_macros
    |-- Cargo.toml
    `-- src
        `-- lib.rs

i.e. all packages nested. Maybe there could be an explicit Cargo enabled check box so that people can indicate support for situations like the above when it can't easily be inferred?

hansjorg commented 10 years ago

Didn't know this was supported, thanks for the heads up. I've added a check box for this on add and edit now.