Skip to content

Commit

Permalink
feat: Rename wasmer-api in argus
Browse files Browse the repository at this point in the history
  • Loading branch information
xdoardo committed Oct 29, 2024
1 parent cc969fc commit 14d9a98
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 35 deletions.
54 changes: 27 additions & 27 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions tests/wasmer-argus/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ cynic = "3.4.3"
url = "2.5.0"
futures = "0.3.30"
tracing = "0.1.40"
tokio = { workspace = true, features = ["rt-multi-thread", "sync", "time", "fs"] }
tokio = { workspace = true, features = ["rt", "macros", "rt-multi-thread", "sync", "time", "fs"] }
clap = {version = "4.4.11", features = ["derive", "string"]}
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
serde = { version = "1.0.197", features = ["derive"] }
Expand All @@ -28,7 +28,7 @@ wasmer = { version = "5.0.0-rc.1", path = "../../lib/api", features = ["engine",
derive_more = "0.99.17"
webc.workspace = true
async-trait = "0.1.77"
wasmer-api = { path = "../../lib/backend-api" }
wasmer-backend-api = { path = "../../lib/backend-api" }
shared-buffer.workspace = true


Expand Down
2 changes: 1 addition & 1 deletion tests/wasmer-argus/src/argus/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ pub struct ArgusConfig {
#[arg(long)]
pub cli_path: Option<String>,

/// Whether or not this run should use the linked [`wasmer-api`] library instead of the CLI.
/// Whether or not this run should use the linked [`wasmer-backend-api`] library instead of the CLI.
#[cfg(feature = "wasmer_lib")]
#[arg(long, conflicts_with = "cli_path")]
pub use_lib: bool,
Expand Down
2 changes: 1 addition & 1 deletion tests/wasmer-argus/src/argus/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use tokio::{
};
use tracing::*;
use url::Url;
use wasmer_api::{types::PackageVersionWithPackage, WasmerClient};
use wasmer_backend_api::{types::PackageVersionWithPackage, WasmerClient};

#[derive(Debug, Clone)]
pub struct Argus {
Expand Down
2 changes: 1 addition & 1 deletion tests/wasmer-argus/src/argus/packages.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use tokio::{
};
use tracing::*;
use url::Url;
use wasmer_api::{
use wasmer_backend_api::{
query::get_package_versions_stream,
types::{AllPackageVersionsVars, PackageVersionSortBy, PackageVersionWithPackage},
};
Expand Down
2 changes: 1 addition & 1 deletion tests/wasmer-argus/src/argus/tester/cli_tester.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use indicatif::ProgressBar;
use std::{fs::File, io::BufReader, path::Path, process::Command, sync::Arc};
use tokio::time::{self, Instant};
use tracing::*;
use wasmer_api::types::PackageVersionWithPackage;
use wasmer_backend_api::types::PackageVersionWithPackage;
use webc::{v2::read::OwnedReader, v3::read::OwnedReader as OwnedReaderV3, Container, Version};

use super::{TestReport, Tester};
Expand Down
2 changes: 1 addition & 1 deletion tests/wasmer-argus/src/argus/tester/lib_tester.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use std::{fs::File, io::BufReader, sync::Arc};
use tokio::time;
use tracing::*;
use wasmer::{sys::Features, Engine, NativeEngineExt, Target};
use wasmer_api::types::PackageVersionWithPackage;
use wasmer_backend_api::types::PackageVersionWithPackage;
use webc::{v2::read::OwnedReader, v3::read::OwnedReader as OwnedReaderV3, Container, Version};

pub struct LibRunner<'a> {
Expand Down
2 changes: 1 addition & 1 deletion tests/wasmer-argus/src/argus/tester/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use serde::{Deserialize, Serialize};
use std::{sync::Arc, time::Duration};
use wasmer_api::types::PackageVersionWithPackage;
use wasmer_backend_api::types::PackageVersionWithPackage;

use super::ArgusConfig;

Expand Down

0 comments on commit 14d9a98

Please sign in to comment.