Skip to content

Commit

Permalink
Set test crates in argmin-math to publish = false to prevent publis…
Browse files Browse the repository at this point in the history
…h accidents

Set `licenses.private.ignore = true` in deny.toml to prevent license errors in unpublished crates
  • Loading branch information
Tastaturtaste committed Jan 3, 2024
1 parent 2633198 commit 6b7e701
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
3 changes: 2 additions & 1 deletion argmin-math/ndarray-linalg-tests/ndarray_0_13/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[package]
name = "ndarray_0_13"
version = "0.1.0"
version = "0.0.0"
edition = "2021"
publish = false

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
3 changes: 2 additions & 1 deletion argmin-math/ndarray-linalg-tests/ndarray_0_14/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[package]
name = "ndarray_0_14"
version = "0.1.0"
version = "0.0.0"
edition = "2021"
publish = false

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
3 changes: 2 additions & 1 deletion argmin-math/ndarray-linalg-tests/ndarray_0_15/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[package]
name = "ndarray_0_15"
version = "0.1.0"
version = "0.0.0"
edition = "2021"
publish = false

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
3 changes: 2 additions & 1 deletion argmin-math/ndarray-linalg-tests/ndarray_latest/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[package]
name = "ndarray_latest"
version = "0.1.0"
version = "0.0.0"
edition = "2021"
publish = false

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
2 changes: 1 addition & 1 deletion deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ license-files = [
# published to private registries.
# To see how to mark a crate as unpublished (to the official registry),
# visit https://doc.rust-lang.org/cargo/reference/manifest.html#the-publish-field.
ignore = false
ignore = true
# One or more private registries that you might publish crates to, if a crate
# is only published to private registries, and ignore is true, the crate will
# not have its license(s) checked
Expand Down

0 comments on commit 6b7e701

Please sign in to comment.