-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathCargo.toml
More file actions
52 lines (47 loc) · 1.53 KB
/
Cargo.toml
File metadata and controls
52 lines (47 loc) · 1.53 KB
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
48
49
50
51
52
[package]
name = "floki"
description = "floki aims to provide reproducible and shareable build tooling by helping you run docker containers interactively from a declarative yaml file."
repository = "https://github.com/Metaswitch/floki"
homepage = "https://metaswitch.github.io/floki/"
readme = "README.md"
keywords = ["docker"]
categories = ["command-line-utilities"]
license = "MIT"
# This version gets set automatically by semantic-release during publishing.
version = "0.0.0"
authors = ["Richard Lupton <richard.lupton@gmail.com>",
"Max Dymond <max.dymond@metaswitch.com>"]
edition = '2018'
rust-version = '1.80'
[dependencies]
atty = "0.2"
log = "0.4"
serde = { version = "1", features = ["derive"] }
serde_yaml = "0.9"
structopt = "0.3"
uuid = { version = "1.16", features = ["v4"] }
yaml-rust2 = "0.11.0"
simplelog = "0.12"
nix = { version = "0.31", default-features = false, features = ["user"] }
shlex = "1.3"
sha2 = "0.10.8"
anyhow = "1.0.98"
thiserror = "2.0.12"
tera = "1"
serde_json = "1.0.140"
toml = "1.0.0"
shell-words = "1.1.0"
[dev-dependencies]
tempfile = "=3.27.0"
[package.metadata.generate-rpm]
assets = [
{ source = "target/release/floki", dest = "/usr/bin/floki", mode = "0755" },
{ source = "LICENSE", dest = "/usr/share/doc/floki/LICENSE", doc = true, mode = "0644" },
]
require-sh = false
auto-req = "no" # Required to stop cargo generate-rpm introducing a dep on the RTLD
[profile.release]
strip = true # Automatically strip symbols from the binary.
opt-level = "z" # Optimize for size.
lto = true
codegen-units = 1