Skip to content

Commit

Permalink
feat!: Updated dependencies
Browse files Browse the repository at this point in the history
Updated:
* pyo3
* polars
* polars-arrow

Removed unused dependencies.
  • Loading branch information
schmidmt committed Jan 19, 2024
1 parent a7c7929 commit 670b077
Show file tree
Hide file tree
Showing 12 changed files with 128 additions and 377 deletions.
114 changes: 20 additions & 94 deletions lace/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions lace/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ lace_consts = { path = "lace_consts", version = "0.2.1" }
lace_data = { path = "lace_data", version = "0.2.0" }
lace_metadata = { path = "lace_metadata", version = "0.5.0" }
dirs = { version="5", optional = true}
itertools = "0.11"
num = "0.4"
rand_xoshiro = { version="0.6", features = ["serde1"] }
rand_distr = "0.4"
Expand All @@ -49,16 +48,11 @@ rayon = "1.5"
serde = { version = "1", features = ["derive"] }
serde_yaml = "0.9.4"
serde_json = "1"
bincode = "1"
special = "0.10"
log = "0.4"
regex = "1"
maplit = "1"
indexmap = { version = "2.0.0", features = ["serde"] }
thiserror = "1.0.19"
indicatif = "0.17.0"
ctrlc = { version = "3.2.1", optional = true }
flate2 = "1.0.23"
polars = { version = "0.36", default_features=false, features=["csv", "dtype-i8", "dtype-i16", "dtype-u8", "dtype-u16"] }

[dev-dependencies]
Expand Down
4 changes: 1 addition & 3 deletions lace/lace_cc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,11 @@ enum_dispatch = "0.3.10"
thiserror = "1.0.19"
rand_xoshiro = { version="0.6", features = ["serde1"] }
special = "0.10"
itertools = "0.11"
indicatif = "0.17.0"
itertools = "0.12"

[dev-dependencies]
approx = "0.5.1"
criterion = "0.5"
indoc = "2.0.3"

[[bench]]
name = "state_types"
Expand Down
4 changes: 0 additions & 4 deletions lace/lace_codebook/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,7 @@ lace_utils = { path = "../lace_utils", version = "0.2.0" }
lace_data = { path = "../lace_data", version = "0.2.0" }
serde = { version = "1", features = ["derive"] }
serde_yaml = "0.9.4"
maplit = "1"
rand = {version="0.8.5", features=["serde1"]}
thiserror = "1.0.11"
rayon = "1.5"
flate2 = "1.0.23"
polars = { version = "0.36", default_features=false, features=["csv", "dtype-i8", "dtype-i16", "dtype-u8", "dtype-u16"] }

[features]
Expand Down
4 changes: 2 additions & 2 deletions lace/lace_codebook/src/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ fn uint_coltype(
cat_cutoff: Option<u8>,
no_hypers: bool,
) -> Result<ColType, CodebookError> {
let x_max: u64 = srs.max()?.unwrap();
let x_max: u64 = srs.max().unwrap().unwrap();
let maxval = cat_cutoff.unwrap_or(DEFAULT_CAT_CUTOFF) as u64;
if x_max >= maxval {
count_coltype(srs, no_hypers)
Expand All @@ -246,7 +246,7 @@ fn int_coltype(
cat_cutoff: Option<u8>,
no_hypers: bool,
) -> Result<ColType, CodebookError> {
let x_min: i64 = srs.min()?.unwrap();
let x_min: i64 = srs.min().unwrap().unwrap();
if x_min < 0 {
continuous_coltype(srs, no_hypers)
} else {
Expand Down
3 changes: 0 additions & 3 deletions lace/lace_data/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@ description = "Data definitions and data container definitions for Lace"
lace_utils = { path = "../lace_utils", version = "0.2.0" }
serde = { version = "1", features = ["derive"] }
thiserror = "1.0.19"
regex = "1"

[dev-dependencies]
approx = "0.5.1"
rand = {version="0.8", features=["serde1"]}
criterion = "0.5"
serde_json = "1"
3 changes: 0 additions & 3 deletions lace/lace_metadata/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,13 @@ lace_stats = { path = "../lace_stats", version = "0.2.1" }
lace_data = { path = "../lace_data", version = "0.2.0" }
lace_codebook = { path = "../lace_codebook", version = "0.5.0" }
lace_cc = { path = "../lace_cc", version = "0.5.0" }
dirs = "5"
serde = { version = "1", features = ["derive"] }
serde_yaml = "0.9.4"
serde_json = "1"
toml = "0.7"
bincode = "1"
log = "0.4"
rand_xoshiro = { version="0.6", features = ["serde1"] }
thiserror = "1.0.19"
once_cell = "1"
hex = "0.4"
rayon = "1.5"

Expand Down
Loading

0 comments on commit 670b077

Please sign in to comment.