-
Notifications
You must be signed in to change notification settings - Fork 40
More dependency pruning (and corresponding documentation fixes) #815
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
FTR, the technique is: You'd think you can substitute |
|
LGTM but we also need to test this on Windows. |
|
(the Mac OS emulator on Linux is impressive) |
|
In addition to OSX-KVM on Debian you will no doubt also notice that the display server is Windows as well. This is the first time I've even considered Win32 as a target here 💀 |
|
I'm planning to merge this after #818. I re-introduced |
thanks for taking the time to test it : ) LGTM! Can be merged after conflicts are resolved. |
… with Decimal::from_parts() we use universally
…users) with dirs which is already in our dependency tree
Validated on Linux and MacOS:
$ cargo run
Compiling tttt v0.1.0 (/home/nabijaczleweli/uwu/tttt)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.38s
Running `target/debug/tttt`
[src/main.rs:66:5] old::system_config_dir() = "/home/nabijaczleweli/.config/xmr-btc-swap"
[src/main.rs:67:5] new::system_config_dir() = "/home/nabijaczleweli/.config/xmr-btc-swap"
[src/main.rs:68:5] old::system_data_dir() = "/home/nabijaczleweli/.local/share/xmr-btc-swap"
[src/main.rs:69:5] new::system_data_dir() = "/home/nabijaczleweli/.local/share/xmr-btc-swap"
[src/main.rs:70:5] old::system_data_dir_eigenwallet(false) = "/home/nabijaczleweli/.local/share/eigenwallet"
[src/main.rs:71:5] new::system_data_dir_eigenwallet(false) = "/home/nabijaczleweli/.local/share/eigenwallet"
[src/main.rs:72:5] old::system_data_dir_eigenwallet(true) = "/home/nabijaczleweli/.local/share/eigenwallet-testnet"
[src/main.rs:73:5] new::system_data_dir_eigenwallet(true) = "/home/nabijaczleweli/.local/share/eigenwallet-testnet"
|
Rebased |
|
Thanks! Bounty of 0.1 XMR paid out to @nabijaczleweli. |
|
There are a few people in the Matrix chat (#unstoppableswap-core:matrix.org) whose wallet have disappeared after the release of this code. This is probably because something changed the data directory. We need to revert it. |
…, redox_users) with dirs which is already in our dependency tree" This reverts commit 9c72c2b. Ref: eigenwallet#815 (comment)
I found a new technique that let me filter for these better. From my POV this exhausts the bounty.
refactor(swap): replace only base64 dependency with workspace's data-encoding
refactor(bitcoin-wallet): replace only rust_decimal_macros dependency with Decimal::from_parts() we use universally
refactor(swap-env): replace terminal_size with functionality already part of console
refactor(rendezvous-node): replace atty with console, which we already use
refactor(swap-fs): replace directories-next (=> dirs-sys-next, redox_users) with dirs which is already in our dependency tree
Validated on Linux and MacOS:
fix(swap-fs): fix documentation for swap-fs
Ref: #775