Skip to content

Commit 6903ab9

Browse files
committed
Bump to 0.9.1 and fix CRC version
1 parent 32a389c commit 6903ab9

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

.github/workflows/python-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
uses: PyO3/maturin-action@v1
8181
with:
8282
command: sdist
83-
args: --out dist --manifest-path python/Cargo.toml --features kerberos
83+
args: --out dist --manifest-path python/Cargo.toml
8484
- name: Upload sdist
8585
uses: actions/upload-artifact@v3
8686
with:

Cargo.lock

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/hdfs-native-object-store/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "hdfs-native-object-store"
3-
version = "0.9.0"
3+
version = "0.9.1"
44
edition = "2021"
55
authors = ["Adam Binford <adamq43@gmail.com>"]
66
homepage = "https://github.com/Kimahriman/hdfs-native"

crates/hdfs-native/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "hdfs-native"
3-
version = "0.9.0"
3+
version = "0.9.1"
44
edition = "2021"
55
authors = ["Adam Binford <adamq43@gmail.com>"]
66
homepage = "https://github.com/Kimahriman/hdfs-native"
@@ -17,7 +17,7 @@ bytes = { workspace = true }
1717
cbc = "0.1"
1818
chrono = { workspace = true }
1919
cipher = "0.4"
20-
crc = "3.1.0-beta.1"
20+
crc = "3.2"
2121
ctr = "0.9"
2222
des = "0.8"
2323
futures = { workspace = true }

crates/hdfs-native/src/hdfs/connection.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use std::sync::Mutex;
77

88
use bytes::{Buf, BufMut, Bytes, BytesMut};
99
use chrono::{prelude::*, TimeDelta};
10-
use crc::{Crc, Slice16, CRC_32_CKSUM, CRC_32_ISCSI};
10+
use crc::{Crc, Table, CRC_32_CKSUM, CRC_32_ISCSI};
1111
use log::{debug, warn};
1212
use once_cell::sync::Lazy;
1313
use prost::Message;
@@ -34,8 +34,8 @@ const DATA_TRANSFER_VERSION: u16 = 28;
3434
const MAX_PACKET_HEADER_SIZE: usize = 33;
3535
const DATANODE_CACHE_EXPIRY: TimeDelta = TimeDelta::seconds(3);
3636

37-
const CRC32: Crc<Slice16<u32>> = Crc::<Slice16<u32>>::new(&CRC_32_CKSUM);
38-
const CRC32C: Crc<Slice16<u32>> = Crc::<Slice16<u32>>::new(&CRC_32_ISCSI);
37+
const CRC32: Crc<u32, Table<16>> = Crc::<u32, Table<16>>::new(&CRC_32_CKSUM);
38+
const CRC32C: Crc<u32, Table<16>> = Crc::<u32, Table<16>>::new(&CRC_32_ISCSI);
3939

4040
pub(crate) static DATANODE_CACHE: Lazy<DatanodeConnectionCache> =
4141
Lazy::new(DatanodeConnectionCache::new);

python/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "hdfs-native-python"
3-
version = "0.9.0"
3+
version = "0.9.1"
44
edition = "2021"
55
authors = ["Adam Binford <adamq43@gmail.com>"]
66
homepage = "https://github.com/Kimahriman/hdfs-native"

0 commit comments

Comments
 (0)