rusty-dev-containers
rusty-dev-containers copied to clipboard
Problem With Cargo Watch
I am trying to use these features for a dev container. I have the following configuration:
{
"name": "My Container",
"image": "rust:bullseye",
"features": {
"ghcr.io/lee-orr/rusty-dev-containers/cargo-binstall:0": {},
"ghcr.io/lee-orr/rusty-dev-containers/cargo-watch:0": {}
}
}
The container seems to create just fine, but when I try to cargo watch
I get:
error: no such command: `watch`
Did you mean `fetch`?
View all installed commands with `cargo --list`
Find a package to install `watch` with `cargo search cargo-watch`
I have also tried ubuntu:latest
with the ghcr.io/devcontainers/features/rust:1
feature with the same result. Is there a combination of image
and features
that makes this work?