Skip to content

Commit 4307627

Browse files
committed
trying to update deps
1 parent 2e35ce2 commit 4307627

File tree

8 files changed

+202
-187
lines changed

8 files changed

+202
-187
lines changed

Cargo.lock

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

Cargo.toml

+8-9
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,16 @@ actix-files = "0.6.2"
2727
actix-http = "3.4.0"
2828
actix-multipart = "0.7.2"
2929
actix-service = "2.0.2"
30-
actix-web = { version = "4.4.0", features = ["rustls"] }
30+
actix-web = { version = "4.9.0", features = ["rustls"] }
3131
actix-web-httpauth = "0.8.0"
3232
approx = "0.5.1"
3333
async-compression = { version = "0.4.2", features = ["futures-io", "gzip"] }
3434
async-recursion = "1.0.5"
3535
async-std = { version = "1.12.0", features = ["unstable"] }
3636
async-tar = "0.5.0"
3737
async-trait = "0.1.80"
38-
arrow-json = "54.2.1"
39-
arrow = "54.2.1"
38+
arrow-json = "54.0.0"
39+
arrow = "54.0.0"
4040
bincode = "1.3.3"
4141
blocking = "1.6.1"
4242
bytecount = "0.6.3"
@@ -47,7 +47,7 @@ chrono = "0.4.30"
4747
clap = { version = "4.4.2", features = ["cargo"] }
4848
colored = "2.0.4"
4949
comfy-table = "7.0.1"
50-
duckdb = { package = "duckdb", version = "1.1.0", default-features = false, optional = true, features = [
50+
duckdb = { package = "duckdb", version = "1.2.0", default-features = false, optional = true, features = [
5151
"serde_json",
5252
] }
5353
deadqueue = "0.2.4"
@@ -61,7 +61,7 @@ env_logger = "0.11.3"
6161
# ffmpeg-next = { version = "6.0.0", features = ["codec", "format"] }
6262
fd-lock = "4.0.1"
6363
filetime = "0.2.22"
64-
flate2 = "1.0.23"
64+
flate2 = { version = "1.1.0", default-features = false, features = ["zlib-ng"] }
6565
fs_extra = "1.3.0"
6666
futures = "0.3.28"
6767
futures-util = "0.3.28"
@@ -77,7 +77,7 @@ itertools = "0.13.0"
7777
jsonwebtoken = "9.3.0"
7878
jwalk = "0.8.1"
7979
lazy_static = "1.4.0"
80-
lofty = "0.21.0"
80+
lofty = "0.22.2"
8181
log = "0.4.20"
8282
lru = "0.12.0"
8383
mockito = "1.1.0"
@@ -88,7 +88,7 @@ nom = "7.1.3"
8888
num_cpus = "1.16.0"
8989
percent-encoding = "2.1"
9090
pluralizer = "0.4.0"
91-
polars = { version = "0.45.0", features = [
91+
polars = { version = "0.46.0", features = [
9292
"lazy",
9393
"parquet",
9494
"json",
@@ -113,7 +113,6 @@ reqwest = { version = "0.12.2", features = [
113113
rocksdb = { version = "0.22.0", default-features = false, features = [
114114
"lz4",
115115
"snappy",
116-
"zlib",
117116
"multi-threaded-cf",
118117
] }
119118
sanitize-filename = "0.6.0"
@@ -127,7 +126,7 @@ simdutf8 = "0.1.4"
127126
sqlparser = "0.53.0"
128127
sql_query_builder = { version = "2.1.0", features = ["postgresql"] }
129128
sysinfo = "0.33.0"
130-
tar = "0.4.40"
129+
tar = "0.4.44"
131130
tempfile = "3.8.0"
132131
thread_local = "1.1.7"
133132
threadpool = "1.8.1"

src/cli/Cargo.toml

+1-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ edition = "2021"
55

66
[dependencies]
77
async-trait = "0.1.80"
8-
bytesize = "1.1.0"
8+
bytesize = "1.3.0"
99
clap = { version = "4.2.7", features = ["cargo"] }
1010
colored = "2.0.0"
1111
dialoguer = "0.11.0"
@@ -20,8 +20,6 @@ serde_json = "1.0.78"
2020
rocksdb = { version = "0.22.0", default-features = false, features = [
2121
"lz4",
2222
"snappy",
23-
"zstd",
24-
"zlib",
2523
"multi-threaded-cf",
2624
] }
2725
time = { version = "0.3.20", features = ["serde"] }

src/lib/Cargo.toml

+8-9
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ async-compression = { version = "0.4.0", features = ["futures-io", "gzip"] }
2828
async-recursion = "1.0.0"
2929
async-std = { version = "1.12.0", features = ["unstable"] }
3030
async-tar = "0.5.0"
31-
arrow-json = "54.2.1"
32-
arrow = "54.2.1"
31+
arrow-json = "54.0.0"
32+
arrow = "54.0.0"
3333
bincode = "1.3.3"
3434
blocking = "1.6.1"
3535
bytecount = "0.6.3"
3636
bytes = "1.2.1"
37-
bytesize = "1.1.0"
37+
bytesize = "1.3.0"
3838
bytevec = "0.2.0"
3939
chrono = "0.4.22"
4040
clap = { version = "4.2.7", features = ["cargo"] }
@@ -46,14 +46,14 @@ difference = "2.0.0"
4646
dirs = "5.0.1"
4747
dotenv = "0.15.0"
4848
dunce = "1"
49-
duckdb = { package = "duckdb", version = "1.1.0", default-features = false, optional = true, features = [
49+
duckdb = { package = "duckdb", version = "1.2.0", default-features = false, optional = true, features = [
5050
"serde_json",
5151
] }
5252
env_logger = "0.11.3"
5353
# ffmpeg-next = { version = "6.0.0", features = ["codec", "format"] }
5454
fd-lock = "4.0.1"
5555
filetime = "0.2.16"
56-
flate2 = "1.0.23"
56+
flate2 = { version = "1.1.0", default-features = false, features = ["zlib-ng"] }
5757
fs_extra = "1.2.0"
5858
futures = "0.3"
5959
futures-util = "0.3.21"
@@ -68,7 +68,7 @@ infer = "0.16.0"
6868
itertools = "0.13.0"
6969
jwalk = "0.8.1"
7070
lazy_static = "1.4.0"
71-
lofty = "0.21.0"
71+
lofty = "0.22.2"
7272
log = "0.4.17"
7373
lru = "0.12.0"
7474
# magick_rust = "0.18.0"
@@ -78,7 +78,7 @@ mp4 = "0.14.0"
7878
nom = "7.1.1"
7979
num_cpus = "1.13.1"
8080
pluralizer = "0.4.0"
81-
polars = { version = "0.45.0", features = [
81+
polars = { version = "0.46.0", features = [
8282
"lazy",
8383
"parquet",
8484
"json",
@@ -103,7 +103,6 @@ reqwest = { version = "0.12.2", features = [
103103
rocksdb = { version = "0.22.0", default-features = false, features = [
104104
"lz4",
105105
"snappy",
106-
"zlib",
107106
"multi-threaded-cf",
108107
] }
109108
serde = { version = "1.0.136", features = ["derive"] }
@@ -116,7 +115,7 @@ sha2 = "0.10.8"
116115
sqlparser = "0.53.0"
117116
sql_query_builder = { version = "2.1.0", features = ["postgresql"] }
118117
sysinfo = "0.33.0"
119-
tar = "0.4.38"
118+
tar = "0.4.44"
120119
threadpool = "1.8.1"
121120
time = { version = "0.3.20", features = ["serde"] }
122121
tokio = { version = "1", features = ["full"] }

src/lib/src/api/client/tree.rs

+6-1
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,11 @@ pub async fn create_nodes(
5757
progress: &Arc<PushProgress>,
5858
) -> Result<(), OxenError> {
5959
// Compress the node
60+
log::debug!("create_nodes starting compression");
6061
let enc = GzEncoder::new(Vec::new(), Compression::default());
62+
log::debug!("create_nodes compressing nodes");
6163
let mut tar = tar::Builder::new(enc);
64+
log::debug!("create_nodes creating tar");
6265
let mut children_count = 0;
6366
for (i, node) in nodes.iter().enumerate() {
6467
let node_dir = node_db_path(local_repo, &node.hash);
@@ -80,13 +83,15 @@ pub async fn create_nodes(
8083
children_count
8184
));
8285

86+
log::debug!("create_nodes appending dir to tar");
8387
tar.append_dir_all(sub_dir, node_dir)?;
8488
children_count += node.children.len();
89+
log::debug!("create_nodes appended dir to tar {}", children_count);
8590
}
8691
log::debug!("create_nodes packed {} nodes", children_count);
8792

8893
tar.finish()?;
89-
94+
log::debug!("create_nodes finished tar");
9095
let buffer: Vec<u8> = tar.into_inner()?.finish()?;
9196

9297
// Upload the node

src/lib/src/core/df/tabular.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ pub fn n_duped_rows(df: &DataFrame, cols: &[&str]) -> Result<u64, OxenError> {
252252

253253
pub fn row_from_str_and_schema(
254254
data: impl AsRef<str>,
255-
schema: Schema,
255+
schema: &Arc<Schema>,
256256
) -> Result<DataFrame, OxenError> {
257257
if serde_json::from_str::<Value>(data.as_ref()).is_ok() {
258258
return parse_str_to_df(data);

src/lib/src/repositories/tree.rs

+6-2
Original file line numberDiff line numberDiff line change
@@ -898,13 +898,17 @@ pub fn unpack_nodes(
898898
buffer: &[u8],
899899
) -> Result<HashSet<MerkleHash>, OxenError> {
900900
let mut hashes: HashSet<MerkleHash> = HashSet::new();
901-
let mut archive = Archive::new(GzDecoder::new(buffer));
901+
log::debug!("Unpacking nodes from buffer...");
902+
let decoder = GzDecoder::new(buffer);
903+
log::debug!("Decoder created");
904+
let mut archive = Archive::new(decoder);
905+
log::debug!("Archive created");
902906
let Ok(entries) = archive.entries() else {
903907
return Err(OxenError::basic_str(
904908
"Could not unpack tree database from archive",
905909
));
906910
};
907-
911+
log::debug!("Extracting entries...");
908912
for file in entries {
909913
let Ok(mut file) = file else {
910914
log::error!("Could not unpack file in archive...");

src/server/Cargo.toml

+5-6
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ actix-multipart = "0.7.2"
1212
actix-web = { version = "4", features = ["rustls"] }
1313
actix-web-httpauth = "0.8.0"
1414
bincode = "1.3.3"
15-
bytesize = "1.1.0"
15+
bytesize = "1.3.0"
1616
chrono = "0.4.19"
1717
clap = { version = "4.2.7", features = ["cargo"] }
1818
derive_more = { version = "1.0.0", features = ["full"] }
1919
dotenv = "0.15.0"
2020
dunce = "1"
21-
duckdb = { version = "1.1.0", features = ["bundled", "serde_json"] }
21+
duckdb = { version = "1.2.0", features = ["bundled", "serde_json"] }
2222
env_logger = "0.11.3"
23-
flate2 = "1.0.23"
23+
flate2 = { version = "1.1.0", default-features = false, features = ["zlib-ng"] }
2424
futures = "0.3.21"
2525
futures-util = "0.3.21"
2626
hashbrown = "0.15.0"
@@ -33,7 +33,7 @@ lru = "0.12.0"
3333
mime = "0.3.17"
3434
os_path = "0.8.0"
3535
percent-encoding = "2.1"
36-
polars = { version = "0.45.0", features = [
36+
polars = { version = "0.46.0", features = [
3737
"lazy",
3838
"parquet",
3939
"json",
@@ -46,13 +46,12 @@ rand = "0.8.0"
4646
rocksdb = { version = "0.22.0", default-features = false, features = [
4747
"lz4",
4848
"snappy",
49-
"zlib",
5049
"multi-threaded-cf",
5150
] }
5251
sanitize-filename = "0.6.0"
5352
serde = { version = "1.0.136", features = ["derive"] }
5453
serde_json = "1.0.78"
55-
tar = "0.4.38"
54+
tar = "0.4.44"
5655
time = { version = "0.3.20", features = ["serde"] }
5756
tokio = { version = "1", features = ["full"] }
5857
tokio-util = "0.7.8"

0 commit comments

Comments
 (0)