mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-09-11 07:55:34 +03:00
add_one -> add
This commit is contained in:
parent
b570e28e41
commit
a4ab0bcc66
@ -116,7 +116,7 @@ pub fn command(options: Options) -> Result<()> {
|
||||
.then_some(r#"cfg(any(target_os = "android", target_os = "ios"))"#)
|
||||
});
|
||||
|
||||
cargo::add_one(
|
||||
cargo::add(
|
||||
&crate_name,
|
||||
cargo::AddOptions {
|
||||
version,
|
||||
|
@ -17,7 +17,7 @@ pub struct AddOptions<'a> {
|
||||
pub features: Option<&'a str>,
|
||||
}
|
||||
|
||||
pub fn add_one(crate_name: &str, options: AddOptions) -> crate::Result<()> {
|
||||
pub fn add(crate_name: &str, options: AddOptions) -> crate::Result<()> {
|
||||
let mut cargo = Command::new("cargo");
|
||||
cargo.arg("add");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user