-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCargo.toml
47 lines (41 loc) · 1.16 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
[package]
name = "apt-transport-blob"
version = "0.2.0"
edition = "2021"
authors = ["Microsoft Corporation"]
license = "MIT"
homepage = "https://github.com/microsoft/apt-transport-blob"
repository = "https://github.com/microsoft/apt-transport-blob"
description = "apt-transport-blob"
[[bin]]
name = "blob"
path = "src/main.rs"
[dependencies]
azure_identity = "0.21.0"
azure_storage = "0.21.0"
azure_storage_blobs = "0.21.0"
bytes = "1.9.0"
log = "0.4.22"
log4rs = { version = "1.3.0", default-features = false, features=["file_appender", "pattern_encoder"]}
nom = "7.1.3"
thiserror = "2.0.9"
tokio = { version = "1.42.0", features = ["macros", "rt-multi-thread"] }
url = "2.5.4"
[dev-dependencies]
env_logger = "0.11.5"
tempfile = "3.15.0"
[profile.release]
# Optimise for size
opt-level = "z"
overflow-checks = true
# Optimise size across all crates by doing link-time optimisation across all
# crates, and using 1 codegen unit to give the linker maximum opportunity to
# optimise.
lto = "fat"
codegen-units = 1
[package.metadata.deb]
assets = [
["target/release/blob", "usr/lib/apt/methods/blob", "755"],
]