diff --git a/rust/Cargo.toml b/rust/Cargo.toml index c1baf7e2da..6610c34d12 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "deltalake" -version = "0.12.0" +version = "0.13.0" rust-version = "1.64" authors = ["Qingping Hou "] homepage = "https://github.com/delta-io/delta.rs" @@ -101,9 +101,6 @@ tempfile = "3" tokio = { version = "1", features = ["macros", "rt-multi-thread"] } utime = "0.3" -[build-dependencies] -glibc_version = "0" - [features] azure = ["object_store/azure"] arrow = ["dep:arrow", "arrow-array", "arrow-cast", "arrow-ord", "arrow-row", "arrow-schema", "arrow-select"] diff --git a/rust/build.rs b/rust/build.rs deleted file mode 100644 index a9f0d94065..0000000000 --- a/rust/build.rs +++ /dev/null @@ -1,30 +0,0 @@ -#[cfg(all(target_os = "linux", target_env = "gnu"))] -mod platform_cfg { - fn detect_glibc_renameat2() { - // we should never fail on version parsing when the target is linux + glibc - let ver = glibc_version::get_version().unwrap(); - if ver.major >= 2 && ver.minor >= 28 { - println!("cargo:rustc-cfg=glibc_renameat2"); - } else { - let more_info = "https://docs.rs/deltalake/latest/deltalake/storage/file/struct.FileStorageBackend.html"; - println!( - "cargo:warning=glibc version >= 2.28 is required for performing commits to local file system, glibc version found {}.{}. For more information: {}", - ver.major, ver.minor, more_info - ); - } - } - - pub fn set() { - detect_glibc_renameat2(); - } -} - -#[cfg(not(all(target_os = "linux", target_env = "gnu")))] -mod platform_cfg { - pub fn set() {} -} - -fn main() { - println!("cargo:rerun-if-changed=build.rs"); - platform_cfg::set(); -}