Skip to content

Commit e2c76e8

Browse files
Only include files that are necessary for crates.io (#1553)
1 parent f18c67e commit e2c76e8

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

Cargo.toml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,14 @@ description = "An n-dimensional array for general elements and for numerics. Lig
1919
keywords = ["array", "data-structure", "multidimensional", "matrix", "blas"]
2020
categories = ["data-structures", "science"]
2121

22-
exclude = ["docgen/images/*"]
22+
include = [
23+
"/src/**/*.rs",
24+
"LICENSE-MIT",
25+
"LICENSE-APACHE",
26+
"RELEASES.md",
27+
"README.rst",
28+
"README-quick-start.md"
29+
]
2330
resolver = "2"
2431

2532
[lib]

ndarray-rand/Cargo.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@ description = "Constructors for randomized arrays. `rand` integration for `ndarr
1313

1414
keywords = ["multidimensional", "matrix", "rand", "ndarray"]
1515

16+
include = [
17+
"/src/**/*.rs",
18+
"LICENSE-MIT",
19+
"LICENSE-APACHE",
20+
"RELEASES.md",
21+
"README.rst"
22+
]
23+
1624
[dependencies]
1725
ndarray = { workspace = true }
1826

0 commit comments

Comments
 (0)