You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prior to this change, the Rust crates for specific DSC
resources used the binary name as the crate name. This
causes a few problems:
- When using `cargo` commands with the `--package`/`-p`
option to limit which workspace packages to use for
an operation, some of the packages, like `registry`,
conflict with dependencies of the same name.
- If we eventually publish any of these crates, they are
not obviously related to DSC and might be mistaken as
general purpose tools, which we don't currently plan to
support.
- It isn't obvious in the cargo lock file whether an item
is for a workspace package or an external package.
This change:
1. Renames the resource crates to `dsc-resource-<name>`.
1. Defines an entry in the `bin` table for the cargo manifest
to ensure that the binary name remains the same as it was
before the change. We _may_ want to consider renaming the
binaries in a future, potentially breaking change, so it
is always obvious when a resource is builtin / which binary
to use.
This change has no effect on the build scripts or workspace
manifest, since we explicitly point to folder paths instead of
using crate names.
0 commit comments