Skip to content

Commit 9c5368e

Browse files
committed
fix generated Cargo.toml
1 parent 603a9c8 commit 9c5368e

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

crates/cdk-ansible-cli/src/subcommand/module.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -311,8 +311,8 @@ fn create_cargo_toml(pkg_name: &str, pkg_dir: &Path) -> Result<()> {
311311
[package]
312312
name = "sample"
313313
version = "0.1.0"
314-
edition.workspace = true
315-
rust-version.workspace = true
314+
edition = "2024"
315+
rust-version = "1.85"
316316
"#,
317317
)?;
318318
if let Some(package) = manifest.package.as_mut() {

examples/cdkam_ansible/Cargo.toml

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
[package]
22
name = "cdkam_ansible"
33
version = "0.1.0"
4-
5-
[package.edition]
6-
workspace = true
7-
8-
[package.rust-version]
9-
workspace = true
4+
edition = "2024"
5+
rust-version = "1.85"
106

117
[dependencies]
128
anyhow = "1.0.95"

0 commit comments

Comments
 (0)