diff --git a/Cargo.toml b/Cargo.toml index a8e708e447..51ebf95c52 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,6 +16,7 @@ edition = "2021" repository = "https://github.com/dfinity/sdk" rust-version = "1.71.1" license = "Apache-2.0" +publish = false [workspace.dependencies] candid = { version = "0.9.0", features = ["parser"] } diff --git a/src/canisters/frontend/icx-asset/Cargo.toml b/src/canisters/frontend/icx-asset/Cargo.toml index 8e1bf0859f..d741397bbc 100644 --- a/src/canisters/frontend/icx-asset/Cargo.toml +++ b/src/canisters/frontend/icx-asset/Cargo.toml @@ -10,6 +10,7 @@ description = "CLI tool to manage assets on an asset canister on the Internet Co documentation = "https://docs.rs/icx-asset" categories = ["command-line-interface"] keywords = ["internet-computer", "agent", "icp", "dfinity", "asset"] +publish = false [dependencies] anstyle.workspace = true diff --git a/src/dfx-core/Cargo.toml b/src/dfx-core/Cargo.toml index f1b9fef3f3..44538c8b83 100644 --- a/src/dfx-core/Cargo.toml +++ b/src/dfx-core/Cargo.toml @@ -6,6 +6,7 @@ edition.workspace = true repository.workspace = true license.workspace = true rust-version.workspace = true +publish = false [dependencies] aes-gcm.workspace = true diff --git a/src/dfx/Cargo.toml b/src/dfx/Cargo.toml index 9626792d0d..27f2401e95 100644 --- a/src/dfx/Cargo.toml +++ b/src/dfx/Cargo.toml @@ -7,6 +7,7 @@ repository.workspace = true license.workspace = true rust-version.workspace = true build = "assets/build.rs" +publish = false [[bin]] name = "dfx" @@ -130,3 +131,7 @@ env_logger = "0.10" proptest = "1.0" mockito = "0.31.0" tempfile = "3.1.0" + +# Config for 'cargo dist' +[package.metadata.dist] +dist = true