Skip to content

Commit

Permalink
Merge pull request #1578 from jqnatividad/swap_simple-expand-tilde
Browse files Browse the repository at this point in the history
Replace `simple_home_dir` with `simple_expand_tilde` crate
  • Loading branch information
jqnatividad authored Jan 30, 2024
2 parents ef36608 + e798070 commit 9610bbe
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 10 deletions.
15 changes: 12 additions & 3 deletions Cargo.lock

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

9 changes: 4 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,7 @@ serde = { version = "1", features = ["derive"] }
serde_json = { version = "1", features = ["preserve_order"] }
serde_stacker = { version = "0.1", optional = true }
serde_urlencoded = { version = "0.7", optional = true }
simple-home-dir = { version = "0.2", features = [
"expand_tilde",
], optional = true }
simple-expand-tilde = { version = "0.1.4", optional = true }
smartstring = { version = "1", optional = true }
snap = "1"
strsim = { version = "0.11", optional = true }
Expand Down Expand Up @@ -241,6 +239,7 @@ dynfmt = { git = "https://github.com/jqnatividad/dynfmt", branch = "2021-clip
grex = { git = "https://github.com/pemistahl/grex", rev = "8f6b35cee5f911311c2e0ef6e56f333e4c896112" }
# needed to get rid of old hashbrown dependency
halfbrown = { git = "https://github.com/licenser/halfbrown", rev = "7cecc29422ae2775abe35a2e430f1678b4f1aa76" }
# nam_dict.txt file needed to be loaded from filesystem upstream, our fork has it bundled
gender_guesser = { git = "https://github.com/jqnatividad/gender_guesser", branch = "bundle_namdict_txt"}
# needed for polars 0.37
jsonpath_lib = { git = "https://github.com/ritchie46/jsonpath", branch = "improve_compiled" }
Expand Down Expand Up @@ -293,9 +292,9 @@ geocode = [
"geosuggest-core",
"geosuggest-utils",
"phf",
"simple-home-dir",
"simple-expand-tilde",
]
luau = ["mlua", "sanitize-filename", "simple-home-dir"]
luau = ["mlua", "sanitize-filename", "simple-expand-tilde"]
python = ["pyo3"]
to = ["csvs_convert"]
to_parquet = ["csvs_convert/parquet"]
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/geocode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ use rayon::{
use regex::Regex;
use serde::Deserialize;
use serde_json::json;
use simple_home_dir::expand_tilde;
use simple_expand_tilde::expand_tilde;
use tempfile::tempdir;
use url::Url;
use uuid::Uuid;
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/luau.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ use indicatif::{ProgressBar, ProgressDrawTarget, ProgressStyle};
use log::{debug, info, log_enabled};
use mlua::{Lua, LuaSerdeExt, Value};
use serde::Deserialize;
use simple_home_dir::expand_tilde;
use simple_expand_tilde::expand_tilde;
use strum_macros::IntoStaticStr;
use tempfile;

Expand Down

0 comments on commit 9610bbe

Please sign in to comment.