Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xsync: Tolerate arbitrary base workspace metadata #622

Merged
merged 2 commits into from
Jan 7, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion xsync/xsync/src/tasks/cargo_toml.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ impl Cmd for CargoToml {
// parse the Cargo.toml to sync with
let base_cargo_toml = fs_err::read_to_string(ctx.base_workspace.join("Cargo.toml"))?;
let base_cargo_toml =
cargo_toml::Manifest::<()>::from_slice_with_metadata(base_cargo_toml.as_bytes())?;
cargo_toml::Manifest::<cargo_toml::Value>::from_slice(base_cargo_toml.as_bytes())?;

//
// handle simple inherited Cargo.toml fields
Expand Down
Loading