diff --git a/Cargo.toml b/Cargo.toml index 92e9e30ff..8b1375868 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,6 +6,10 @@ members = [ ] default-members = ["fish-rust"] +[workspace.package] +rust-version = "1.67" +edition = "2021" + # TODO: Move fish-rust to src, make it the root package of this workspace [patch.crates-io] diff --git a/fish-rust/Cargo.toml b/fish-rust/Cargo.toml index 70ae02266..966adc57c 100644 --- a/fish-rust/Cargo.toml +++ b/fish-rust/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "fish-rust" version = "0.1.0" -edition = "2021" -rust-version = "1.67" +edition.workspace = true +rust-version.workspace = true [dependencies] widestring-suffix = { path = "./widestring-suffix/" } diff --git a/fish-rust/widestring-suffix/Cargo.toml b/fish-rust/widestring-suffix/Cargo.toml index d756a5b17..1e7275968 100644 --- a/fish-rust/widestring-suffix/Cargo.toml +++ b/fish-rust/widestring-suffix/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "widestring-suffix" version = "0.1.0" -edition = "2021" +edition.workspace = true +rust-version.workspace = true [lib] proc-macro = true