Skip to content
#

cargo

Here are 397 public repositories matching this topic...

paulkernfeld
paulkernfeld commented Sep 29, 2017

I love cargo-watch, and use it on everything! Right now, I am having a bit of trouble figuring out how to ignore a file properly.

The following invocations successfully ignore README.md:

  • cargo watch -w src -s "touch README.md"
  • cargo watch -i '.md' -s "touch README.md"
  • cargo watch -i '*.md' -s "touch README.md"

The following invocations don't ignore README.md, which means

GeorgeHahn
GeorgeHahn commented Feb 28, 2020

Describe the bug
Crates fetched via SSH don't appear to be supported for source checking. I'm not sure if this is a bug or a feature request, but it would be nice for projects that want to deny unknown sources but fetch some dependencies from git with ssh.

To Reproduce

In deny.toml:

[sources]
unknown-git = "deny"
allow-git = [
    "ssh://github.com/organization/project",
Hirevo
Hirevo commented Oct 13, 2019

This is a tracking issue for additional Store implementations.

Here is a non-exhaustive list of potential candidates for an Store implementation:

  • S3Storage:
    This would store crate tarballs and rendered README pages into Amazon's S3.
  • RemoteStorage:
    Requires to implement a companion server.
    The idea is to have a reserved folder on another machine which runs a comp
m-cat
m-cat commented Dec 1, 2019

Optional dependencies should not be treated as a "dependency" kind, of which there are only three -- regular, build, and dev. "Optional deps" should instead be handled as a boolean flag, which is what cargo does. A dependency can be both a build dependency and optional simultaneously, but currently cargo-deps will erase one of these.

Optional dependencies can be displayed with a dashed line.

Improve this page

Add a description, image, and links to the cargo topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the cargo topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.