This is an automated email from the ASF dual-hosted git repository.

tustvold pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git


The following commit(s) were added to refs/heads/master by this push:
     new a9875f5e9 Document all arrow features in docs.rs (#2633) (#2634)
a9875f5e9 is described below

commit a9875f5e925cfde7ea063bd2c37b250e4ac64aee
Author: Raphael Taylor-Davies <[email protected]>
AuthorDate: Fri Sep 2 12:30:36 2022 +0100

    Document all arrow features in docs.rs (#2633) (#2634)
    
    * Document all arrow features in docs.rs (#2633)
    
    * Tweak pyarrow doc
    
    * Update arrow/Cargo.toml
    
    Co-authored-by: Liang-Chi Hsieh <[email protected]>
    
    Co-authored-by: Liang-Chi Hsieh <[email protected]>
---
 arrow/Cargo.toml     | 3 +++
 arrow/src/pyarrow.rs | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/arrow/Cargo.toml b/arrow/Cargo.toml
index 58f7df484..adb0c7ac8 100644
--- a/arrow/Cargo.toml
+++ b/arrow/Cargo.toml
@@ -67,6 +67,9 @@ multiversion = { version = "0.6.1", default-features = false }
 bitflags = { version = "1.2.1", default-features = false }
 zstd = { version = "0.11.1", default-features = false, optional = true }
 
+[package.metadata.docs.rs]
+features = ["prettyprint", "ipc_compression", "dyn_cmp_dict", "ffi", "pyarrow"]
+
 [features]
 default = ["csv", "ipc", "json"]
 ipc_compression = ["ipc", "zstd", "lz4"]
diff --git a/arrow/src/pyarrow.rs b/arrow/src/pyarrow.rs
index 3ae5b3b99..89463e4c8 100644
--- a/arrow/src/pyarrow.rs
+++ b/arrow/src/pyarrow.rs
@@ -15,7 +15,7 @@
 // specific language governing permissions and limitations
 // under the License.
 
-//! This library demonstrates a minimal usage of Rust's C data interface to 
pass
+//! This module demonstrates a minimal usage of Rust's C data interface to pass
 //! arrays from and to Python.
 
 use std::convert::{From, TryFrom};

Reply via email to