Skip to content

Commit

Permalink
Merge pull request #24 from google/issue16
Browse files Browse the repository at this point in the history
[mock-omaha-server] Fix dependencies for Fuchsia
  • Loading branch information
ephemeralriggs authored Aug 7, 2024
2 parents fc7fcbd + 918d34a commit 360ba0d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
27 changes: 14 additions & 13 deletions mock-omaha-server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

[package]
name = "mock-omaha-server"
version = "0.1.1"
version = "0.2.0"
edition = "2021"
description = "Mock implementation of the server end of the Omaha Protocol"
license = "BSD-2-Clause OR Apache-2.0 OR MIT"
Expand All @@ -19,27 +19,28 @@ exclude = [".*"]

[features]
default = ["tokio"]
tokio = ["dep:tokio", "dep:async-net", "hyper/tcp"]

[dependencies]
anyhow = "1.0.75"
anyhow = "1.0"
argh = "0.1"
async-net = "2.0"
derive_builder = "0.20.0"
futures = "0.3.19"
hex = "0.3.2"
hyper = { version = "0.14.19", features = ["http1", "server", "stream", "tcp"] }
async-net = { version = "1.7", optional = true }
derive_builder = "0.11"
futures = "0.3"
hex = "0.3"
hyper = { version = "0.14.19", features = ["http1", "server", "stream"] }
omaha_client = { version = "0.2", path = "../omaha-client" }
p256 = "0.11.1"
serde = { version = "1.0.147", features = ["derive"] }
p256 = "0.11"
serde = { version = "1.0.204", features = ["derive"] }
serde_json = "1.0.87"
sha2 = "0.10.6"
sha2 = "0.10"
thiserror = "1.0"
tokio = { version = "1", features = ["full"], optional = true }
tracing = "0.1.37"
url = "1.7.2"
tracing = "0.1"
url = "1.7"

[dev-dependencies]
proptest = "1.4.0"
proptest = "1.4"

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fasync)'] }
1 change: 0 additions & 1 deletion mock-omaha-server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
// those terms.

use argh::FromArgs;
use async_net as _;
use mock_omaha_server::{
OmahaServer, OmahaServerBuilder, PrivateKeyAndId, PrivateKeys, ResponseAndMetadata,
};
Expand Down

0 comments on commit 360ba0d

Please sign in to comment.