Apache DataFusion SQL Query Engine
ARROW-3601: [Rust] Add instructions for publishing to crates.io
Andy Grove0f415f09ca27
diff --git a/rust/README.md b/rust/README.mdindex e3686fd3ce..5f545aa80f 100644--- a/rust/README.md+++ b/rust/README.md@@ -63,3 +63,34 @@ cargo run --example array_from_builder```bashcargo test```++# Publishing to crates.io++An Arrow committer can publish this crate after an official project release has+been made to crates.io using the following instructions.++Follow [these+instructions](https://doc.rust-lang.org/cargo/reference/publishing.html) to+create an account and login to crates.io before asking to be added as an owner+of the [arrow crate](https://crates.io/crates/arrow).++Checkout the tag for the version to be releases. For example:++```bash+git checkout apache-arrow-0.11.0+```++If the Cargo.toml in this tag already contains `version = "0.11.0"` (as it+should) then the crate can be published with the following command:++```bash+cargo publish+```++If the Cargo.toml does not have the correct version then it will be necessary+to modify it manually. Since there is now a modified file locally that is not+committed to github it will be necessary to use the following command.++```bash+cargo publish --allow-dirty+```