Skip to content

[feat] add support for cargo's workspace-inheritance feature that has already been released in stable #5070

@BLucky-gh

Description

@BLucky-gh

Describe the problem

The workspace-inheritance feature that lets the programmer specify some stuff at the workspace level and refer to it within a given member crate's Cargo.toml is already stabilized in beta 1.64 and is set to release in September, but from what I have seen it is still not supported in tauri, so I think it should already be implemented.

By not supported in tauri I mean that the build.rs script supplied by cargo tauri init seems to try parsing Cargo.toml but fails with invalid type: map, expected a string for key 'package.version' at line 3 column 21: invalid type: map, expected a string for key 'package.version' at line 3 column 21

Describe the solution you'd like

I'd like for tauri to successfully compile when I refer to workspace-wide settings within Cargo.toml

Alternatives considered

No response

Additional context

Link to the feature: https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#workspace-inheritance

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions