-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathCargo.toml
More file actions
65 lines (56 loc) · 2.28 KB
/
Cargo.toml
File metadata and controls
65 lines (56 loc) · 2.28 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
53
54
55
56
57
58
59
60
61
62
63
64
65
[package]
name = "framework_tool"
version = "0.6.2"
description = "Tool to control Framework Computer systems"
homepage = "https://github.com/FrameworkComputer/framework-system"
repository = "https://github.com/FrameworkComputer/framework-system"
readme = "../README.md"
license = "BSD-3-Clause"
edition = "2021"
[[bin]]
name = "framework_tool"
path = "src/main.rs"
[features]
default = [ ]
readonly = [ "framework_lib/readonly" ]
nvidia = [ "framework_lib/nvidia" ]
[dependencies.framework_lib]
path = "../framework_lib"
version = "0.6.2"
[build-dependencies]
static_vcruntime = "3.0"
embed-resource = "3.0"
winresource = "0.1.17"
[target.'cfg(windows)'.dependencies.winapi]
version = "0.3.9"
features = [
"wincon"
]
[package.metadata.winresource]
LegalCopyright = "Framework Computer Inc © 2022"
[package.metadata.deb]
name = "framework-tool"
maintainer = "Framework Computer Inc <linux@frame.work>"
depends = "libudev1"
section = "utils"
priority = "optional"
features = ["nvidia"]
assets = [
["target/release/framework_tool", "usr/bin/", "755"],
["completions/bash/framework_tool", "usr/share/bash-completion/completions/framework_tool", "644"],
["completions/zsh/_framework_tool", "usr/share/zsh/site-functions/_framework_tool", "644"],
["completions/fish/framework_tool.fish", "usr/share/fish/vendor_completions.d/framework_tool.fish", "644"],
["../LICENSE.md", "usr/share/doc/framework-tool/LICENSE.md", "644"],
["../README.md", "usr/share/doc/framework-tool/README.md", "644"],
]
[package.metadata.generate-rpm]
assets = [
{ source = "target/release/framework_tool", dest = "/usr/bin/framework_tool", mode = "755" },
{ source = "completions/bash/framework_tool", dest = "/usr/share/bash-completion/completions/framework_tool", mode = "644" },
{ source = "completions/zsh/_framework_tool", dest = "/usr/share/zsh/site-functions/_framework_tool", mode = "644" },
{ source = "completions/fish/framework_tool.fish", dest = "/usr/share/fish/vendor_completions.d/framework_tool.fish", mode = "644" },
{ source = "../LICENSE.md", dest = "/usr/share/doc/framework-tool/LICENSE.md", mode = "644", doc = true },
{ source = "../README.md", dest = "/usr/share/doc/framework-tool/README.md", mode = "644", doc = true },
]
[package.metadata.generate-rpm.requires]
systemd-libs = "*"