Skip to content

Commit 37aba02

Browse files
author
Eric Swanson
committed
Don't publish anything to crates.io
cargo dist only applies to dfx
1 parent 504ef9b commit 37aba02

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ edition = "2021"
1616
repository = "https://github.com/dfinity/sdk"
1717
rust-version = "1.71.1"
1818
license = "Apache-2.0"
19+
publish = false
1920

2021
[workspace.dependencies]
2122
candid = { version = "0.9.0", features = ["parser"] }

src/canisters/frontend/icx-asset/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ description = "CLI tool to manage assets on an asset canister on the Internet Co
1010
documentation = "https://docs.rs/icx-asset"
1111
categories = ["command-line-interface"]
1212
keywords = ["internet-computer", "agent", "icp", "dfinity", "asset"]
13+
publish = false
1314

1415
[dependencies]
1516
anstyle.workspace = true

src/dfx-core/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ edition.workspace = true
66
repository.workspace = true
77
license.workspace = true
88
rust-version.workspace = true
9+
publish = false
910

1011
[dependencies]
1112
aes-gcm.workspace = true

src/dfx/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ repository.workspace = true
77
license.workspace = true
88
rust-version.workspace = true
99
build = "assets/build.rs"
10+
publish = false
1011

1112
[[bin]]
1213
name = "dfx"
@@ -130,3 +131,7 @@ env_logger = "0.10"
130131
proptest = "1.0"
131132
mockito = "0.31.0"
132133
tempfile = "3.1.0"
134+
135+
# Config for 'cargo dist'
136+
[package.metadata.dist]
137+
dist = true

0 commit comments

Comments
 (0)