mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-20 20:48:43 +00:00
Rename lib to binstalk (#361)
This commit is contained in:
parent
a94d83f0d5
commit
e25aa50ec9
49 changed files with 25 additions and 25 deletions
8
.github/dependabot.yml
vendored
8
.github/dependabot.yml
vendored
|
@ -12,6 +12,10 @@ updates:
|
||||||
directory: "/crates/bin"
|
directory: "/crates/bin"
|
||||||
schedule:
|
schedule:
|
||||||
interval: "daily"
|
interval: "daily"
|
||||||
|
- package-ecosystem: "cargo"
|
||||||
|
directory: "/crates/binstalk"
|
||||||
|
schedule:
|
||||||
|
interval: "daily"
|
||||||
- package-ecosystem: "cargo"
|
- package-ecosystem: "cargo"
|
||||||
directory: "/crates/detect-wasi"
|
directory: "/crates/detect-wasi"
|
||||||
schedule:
|
schedule:
|
||||||
|
@ -20,10 +24,6 @@ updates:
|
||||||
directory: "/crates/flock"
|
directory: "/crates/flock"
|
||||||
schedule:
|
schedule:
|
||||||
interval: "daily"
|
interval: "daily"
|
||||||
- package-ecosystem: "cargo"
|
|
||||||
directory: "/crates/lib"
|
|
||||||
schedule:
|
|
||||||
interval: "daily"
|
|
||||||
- package-ecosystem: "cargo"
|
- package-ecosystem: "cargo"
|
||||||
directory: "/crates/normalize-path"
|
directory: "/crates/normalize-path"
|
||||||
schedule:
|
schedule:
|
||||||
|
|
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -76,7 +76,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd"
|
checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "binstall"
|
name = "binstalk"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"async-trait",
|
"async-trait",
|
||||||
|
@ -190,7 +190,7 @@ dependencies = [
|
||||||
name = "cargo-binstall"
|
name = "cargo-binstall"
|
||||||
version = "0.12.0"
|
version = "0.12.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"binstall",
|
"binstalk",
|
||||||
"clap",
|
"clap",
|
||||||
"crates_io_api",
|
"crates_io_api",
|
||||||
"dirs",
|
"dirs",
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
[workspace]
|
[workspace]
|
||||||
members = [
|
members = [
|
||||||
"crates/bin",
|
"crates/bin",
|
||||||
"crates/lib",
|
"crates/binstalk",
|
||||||
"crates/detect-wasi",
|
"crates/detect-wasi",
|
||||||
"crates/fs-lock",
|
"crates/fs-lock",
|
||||||
"crates/normalize-path",
|
"crates/normalize-path",
|
||||||
|
|
|
@ -18,7 +18,7 @@ pkg-fmt = "zip"
|
||||||
pkg-fmt = "zip"
|
pkg-fmt = "zip"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
binstall = { path = "../lib", version = "0.0.0" }
|
binstalk = { path = "../binstalk", version = "0.0.0" }
|
||||||
clap = { version = "3.2.17", features = ["derive"] }
|
clap = { version = "3.2.17", features = ["derive"] }
|
||||||
crates_io_api = { version = "0.8.1", default-features = false }
|
crates_io_api = { version = "0.8.1", default-features = false }
|
||||||
dirs = "4.0.0"
|
dirs = "4.0.0"
|
||||||
|
@ -39,15 +39,15 @@ default = ["static", "rustls", "trust-dns", "fancy-no-backtrace"]
|
||||||
|
|
||||||
mimalloc = ["dep:mimalloc"]
|
mimalloc = ["dep:mimalloc"]
|
||||||
|
|
||||||
static = ["binstall/static"]
|
static = ["binstalk/static"]
|
||||||
pkg-config = ["binstall/pkg-config"]
|
pkg-config = ["binstalk/pkg-config"]
|
||||||
|
|
||||||
zlib-ng = ["binstall/zlib-ng"]
|
zlib-ng = ["binstalk/zlib-ng"]
|
||||||
|
|
||||||
rustls = ["binstall/rustls"]
|
rustls = ["binstalk/rustls"]
|
||||||
native-tls = ["binstall/native-tls"]
|
native-tls = ["binstalk/native-tls"]
|
||||||
|
|
||||||
trust-dns = ["binstall/trust-dns"]
|
trust-dns = ["binstalk/trust-dns"]
|
||||||
|
|
||||||
fancy-no-backtrace = ["miette/fancy-no-backtrace"]
|
fancy-no-backtrace = ["miette/fancy-no-backtrace"]
|
||||||
fancy-with-backtrace = ["fancy-no-backtrace", "miette/fancy"]
|
fancy-with-backtrace = ["fancy-no-backtrace", "miette/fancy"]
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
use std::{ffi::OsString, path::PathBuf};
|
use std::{ffi::OsString, path::PathBuf};
|
||||||
|
|
||||||
use binstall::{
|
use binstalk::{
|
||||||
errors::BinstallError,
|
errors::BinstallError,
|
||||||
manifests::cargo_toml_binstall::PkgFmt,
|
manifests::cargo_toml_binstall::PkgFmt,
|
||||||
ops::resolve::{CrateName, VersionReqExt},
|
ops::resolve::{CrateName, VersionReqExt},
|
||||||
|
|
|
@ -4,8 +4,8 @@ use std::{
|
||||||
time::Duration,
|
time::Duration,
|
||||||
};
|
};
|
||||||
|
|
||||||
use binstall::errors::BinstallError;
|
use binstalk::errors::BinstallError;
|
||||||
use binstall::helpers::{signal::cancel_on_user_sig_term, tasks::AutoAbortJoinHandle};
|
use binstalk::helpers::{signal::cancel_on_user_sig_term, tasks::AutoAbortJoinHandle};
|
||||||
use log::{error, info};
|
use log::{error, info};
|
||||||
use miette::Result;
|
use miette::Result;
|
||||||
use tokio::runtime::Runtime;
|
use tokio::runtime::Runtime;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
use std::{fs, path::Path, sync::Arc, time::Duration};
|
use std::{fs, path::Path, sync::Arc, time::Duration};
|
||||||
|
|
||||||
use binstall::{
|
use binstalk::{
|
||||||
errors::BinstallError,
|
errors::BinstallError,
|
||||||
get_desired_targets,
|
get_desired_targets,
|
||||||
helpers::{
|
helpers::{
|
||||||
|
|
|
@ -3,7 +3,7 @@ use std::{
|
||||||
sync::Arc,
|
sync::Arc,
|
||||||
};
|
};
|
||||||
|
|
||||||
use binstall::helpers::statics::cargo_home;
|
use binstalk::helpers::statics::cargo_home;
|
||||||
use log::debug;
|
use log::debug;
|
||||||
|
|
||||||
/// Fetch install path from environment
|
/// Fetch install path from environment
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
use std::time::Instant;
|
use std::time::Instant;
|
||||||
|
|
||||||
use binstall::helpers::jobserver_client::LazyJobserverClient;
|
use binstalk::helpers::jobserver_client::LazyJobserverClient;
|
||||||
use log::debug;
|
use log::debug;
|
||||||
|
|
||||||
use cargo_binstall::{
|
use cargo_binstall::{
|
||||||
|
|
|
@ -7,7 +7,7 @@ use log::LevelFilter;
|
||||||
use simplelog::{ColorChoice, ConfigBuilder, TermLogger, TerminalMode};
|
use simplelog::{ColorChoice, ConfigBuilder, TermLogger, TerminalMode};
|
||||||
use tokio::sync::mpsc;
|
use tokio::sync::mpsc;
|
||||||
|
|
||||||
use binstall::errors::BinstallError;
|
use binstalk::errors::BinstallError;
|
||||||
|
|
||||||
use crate::args::Args;
|
use crate::args::Args;
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
[package]
|
[package]
|
||||||
name = "binstall"
|
name = "binstalk"
|
||||||
description = "Library backend for cargo-binstall"
|
description = "The binstall toolkit (library interface)"
|
||||||
repository = "https://github.com/cargo-bins/cargo-binstall"
|
repository = "https://github.com/cargo-bins/cargo-binstall"
|
||||||
documentation = "https://docs.rs/binstall"
|
documentation = "https://docs.rs/binstalk"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
rust-version = "1.61.0"
|
rust-version = "1.61.0"
|
||||||
authors = ["ryan <ryan@kurte.nz>"]
|
authors = ["ryan <ryan@kurte.nz>"]
|
|
@ -1,4 +1,4 @@
|
||||||
use binstall::ops::resolve::load_manifest_path;
|
use binstalk::ops::resolve::load_manifest_path;
|
||||||
use cargo_toml::Product;
|
use cargo_toml::Product;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
Loading…
Add table
Reference in a new issue