Skip to content

Commit a388040

Browse files
authored
add package.include and remove wildcard dependency (apache#295)
1 parent b70f1c0 commit a388040

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ readme = "README.md"
2626
license = "Apache-2.0"
2727
edition = "2021"
2828
rust-version = "1.64"
29+
include = ["/src", "/LICENSE.txt"]
2930

3031
[features]
3132
default = ["mimalloc"]
@@ -41,7 +42,7 @@ datafusion-optimizer = { version = "20.0.0" }
4142
datafusion-sql = { version = "20.0.0" }
4243
datafusion-substrait = { version = "20.0.0" }
4344
uuid = { version = "1.2", features = ["v4"] }
44-
mimalloc = { version = "*", optional = true, default-features = false }
45+
mimalloc = { version = "0.1", optional = true, default-features = false }
4546
async-trait = "0.1"
4647
futures = "0.3"
4748
object_store = { version = "0.5.3", features = ["aws", "gcp", "azure"] }

dev/release/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,14 @@ Create the source release tarball:
198198
./dev/release/release-tarball.sh 0.8.0 1
199199
```
200200

201+
### Publishing Rust Crate to crates.io
202+
203+
Some projects depend on the Rust crate directly, so we publish this to crates.io
204+
205+
```shell
206+
cargo publish
207+
```
208+
201209
### Publishing Python Artifacts to PyPi
202210

203211
Go to the Test PyPI page of Datafusion, and download

0 commit comments

Comments
 (0)