rust-lang / crates-io-cargo-teams

the home of the crates io team
5 stars 11 forks source link

Crates.io meeting agenda 2019-06-13 20:00 UTC (Discord, 30 min) #43

Closed sgrif closed 5 years ago

sgrif commented 5 years ago
jsonnull commented 5 years ago

Suggesting a discussion around the current crates.io frontend.

I know it's currently written in Ember, but I'm imagining there are difficulties around maintaining this and moving forward with new features.

I'd like to hear about the current state of the frontend, as well as any planned features. Hopefully we align on the current problem space and there's a mutual understanding of what we'd like to address going forward.

EDIT: This seems pretty relevant—https://github.com/rust-lang/crates-io-cargo-teams/issues/29

Eh2406 commented 5 years ago

From the @rust-lang/cargo Team: dev-dependencies are annoying and almost useless in publish. (@Eh2406 - 10 min)

The inspiring case is that Cargo itself just added custom proc-macro ( https://github.com/rust-lang/cargo/pull/6900 ) to remove testing boilerplate. Now we can't publish to Crates.io, as path dependencies are not allowed, without publishing the small testing library. But noone using Cargo as a library needs to know that we use this dep for testing. We have checked carefully and Cargo only looks at dev-dependencies for the main project and completely ignores them for all dependencies. @alexcrichton, suggested that we comment that part of our Cargo.toml out before we publish, it works for his other projects. We are discussing ways to generalize that workflow.

Possible next steps:

(@rust-lang/cargo comment if I missed something from our meeting.)

We wanted to get the Crates.io Teams thoughts about Cargo not telling you things that we historically did or about changing your policy. Specifically, do you use dev-dependencies for anything? If so would you mind not using them? Are you open to allowing path and git dependencies in the dev-dependencies for crates on the site?