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
Currently, when trying to use the {key}.workspace syntax in Cargo.toml to inherit package metadata and dependencies from the workspace, cargo-contract fails to parse the manifest.
Impact:
This feature is particularly useful for projects with multiple packages that share common configurations and dependencies as it's the case for Ink-examples.
Supporting this feature would streamline the development process and reduce redundancy in Cargo.toml files.
Description:
Currently, when trying to use the
{key}.workspace
syntax inCargo.toml
to inherit package metadata and dependencies from the workspace,cargo-contract
fails to parse the manifest.Impact:
This feature is particularly useful for projects with multiple packages that share common configurations and dependencies as it's the case for Ink-examples.
Supporting this feature would streamline the development process and reduce redundancy in
Cargo.toml
files.Steps to Reproduce:
call_one
orcall_two
directory:Expected Behavior:
The contract should be built successfully by inheriting the necessary configurations and dependencies from the workspace.
Actual Behavior:
The build process fails with an error related to parsing the manifest.
Environment:
cargo-contract
version3.0.1
4.2.0
Additional context:
This issue seems specific to
cargo-contract
as the standard Cargo toolchain supports this feature.The text was updated successfully, but these errors were encountered: