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

paleolimbot pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/sedona-db.git


The following commit(s) were added to refs/heads/main by this push:
     new 5b7b548a fix(rust): remove norun/ignore markers (#710)
5b7b548a is described below

commit 5b7b548aec1b69fb0cee6ba0b0a1ea06735ff226
Author: Mayank Aggarwal <[email protected]>
AuthorDate: Sun Mar 15 06:37:05 2026 +0530

    fix(rust): remove norun/ignore markers (#710)
---
 rust/sedona-geometry/src/transform.rs | 17 ++++++-----------
 rust/sedona/src/context_builder.rs    |  4 ++--
 2 files changed, 8 insertions(+), 13 deletions(-)

diff --git a/rust/sedona-geometry/src/transform.rs 
b/rust/sedona-geometry/src/transform.rs
index ba7b5367..d8d141a5 100644
--- a/rust/sedona-geometry/src/transform.rs
+++ b/rust/sedona-geometry/src/transform.rs
@@ -132,19 +132,14 @@ impl CrsTransform for Box<dyn CrsTransform> {
 /// when the same transformations are used repeatedly. Uses LRU (Least 
Recently Used) eviction
 /// policy when the cache reaches its capacity.
 ///
-/// # Example
-///
-/// ```rust,ignore
-/// use sedona_geometry::transform::{CachingCrsEngine, CrsEngine};
+/// A caching wrapper around any CRS transformation engine.
 ///
-/// let engine = SomeCrsEngine::new();
-/// let cached_engine = CachingCrsEngine::new(engine);
+/// This provides automatic caching of coordinate transformation objects to 
improve performance
+/// when the same transformations are used repeatedly. Uses LRU (Least 
Recently Used) eviction
+/// policy when the cache reaches its capacity.
 ///
-/// // Subsequent calls with the same parameters will use cached transforms
-/// let transform1 = cached_engine.get_transform_crs_to_crs("EPSG:4326", 
"EPSG:3857", None, "")?;
-/// let transform2 = cached_engine.get_transform_crs_to_crs("EPSG:4326", 
"EPSG:3857", None, "")?;
-/// // transform2 is retrieved from cache
-/// ```
+/// Repeated calls with the same CRS or pipeline parameters reuse cached 
transformation objects
+/// instead of recreating them.
 #[derive(Debug)]
 pub struct CachingCrsEngine<T: CrsEngine> {
     engine: T,
diff --git a/rust/sedona/src/context_builder.rs 
b/rust/sedona/src/context_builder.rs
index 9341b358..ad25824a 100644
--- a/rust/sedona/src/context_builder.rs
+++ b/rust/sedona/src/context_builder.rs
@@ -58,7 +58,7 @@ fn default_memory_limit() -> usize {
 ///
 /// # Examples
 ///
-/// ```rust,no_run
+/// ```rust
 /// # async fn example() -> datafusion::error::Result<()> {
 /// use sedona::context_builder::SedonaContextBuilder;
 /// use sedona::pool_type::PoolType;
@@ -87,7 +87,7 @@ fn default_memory_limit() -> usize {
 ///
 /// String-based configuration (useful for ADBC connection options, etc.):
 ///
-/// ```rust,no_run
+/// ```rust
 /// # async fn example() -> datafusion::error::Result<()> {
 /// use std::collections::HashMap;
 /// use sedona::context_builder::SedonaContextBuilder;

Reply via email to