Skip to content

Commit

Permalink
Don't publish anything to crates.io
Browse files Browse the repository at this point in the history
cargo dist only applies to dfx
  • Loading branch information
ericswanson-dfinity committed Jan 11, 2024
1 parent 504ef9b commit 37aba02
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
Expand Down
1 change: 1 addition & 0 deletions src/canisters/frontend/icx-asset/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/dfx-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ edition.workspace = true
repository.workspace = true
license.workspace = true
rust-version.workspace = true
publish = false

[dependencies]
aes-gcm.workspace = true
Expand Down
5 changes: 5 additions & 0 deletions src/dfx/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ repository.workspace = true
license.workspace = true
rust-version.workspace = true
build = "assets/build.rs"
publish = false

[[bin]]
name = "dfx"
Expand Down Expand Up @@ -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

0 comments on commit 37aba02

Please sign in to comment.