-
Notifications
You must be signed in to change notification settings - Fork 2
/
buildpack.toml
89 lines (75 loc) · 3.2 KB
/
buildpack.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# Copyright 2018-2022 the original author or authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
api = "0.7"
[buildpack]
description = "A Cloud Native Buildpack that provides the Rust language build tools."
homepage = "https://github.com/paketo-community/rust-dist"
id = "paketo-community/rust-dist"
keywords = ["rust", "rustc", "cargo", "tools"]
name = "Rust Distribution Buildpack"
sbom-formats = ["application/vnd.cyclonedx+json", "application/vnd.syft+json"]
version = "{{.version}}"
[[buildpack.licenses]]
type = "Apache-2.0"
uri = "https://github.com/paketo-community/rust-dist/blob/main/LICENSE"
[metadata]
include-files = ["LICENSE", "NOTICE", "README.md", "buildpack.toml", "linux/amd64/bin/build", "linux/amd64/bin/detect", "linux/amd64/bin/main", "linux/arm64/bin/build", "linux/arm64/bin/detect", "linux/arm64/bin/main"]
pre-package = "scripts/build.sh"
[[metadata.configurations]]
build = true
default = "1.*"
description = "the Rust version"
name = "BP_RUST_VERSION"
[[metadata.dependencies]]
cpes = ["cpe:2.3:a:rust:rust:1.83.0:*:*:*:*:*:*:*"]
id = "rust"
name = "Rust"
purl = "pkg:generic/rust@1.83.0?arch=amd64"
sha256 = "bd9d53d09d4b60826288336de19fb9c5c7592081e4e4520d6de2f65ee8d79087"
source = "https://static.rust-lang.org/dist/rustc-1.83.0-src.tar.gz"
source-sha256 = "722d773bd4eab2d828d7dd35b59f0b017ddf9a97ee2b46c1b7f7fac5c8841c6e"
stacks = ["*"]
uri = "https://static.rust-lang.org/dist/rust-1.83.0-x86_64-unknown-linux-gnu.tar.gz"
version = "1.83.0"
[[metadata.dependencies.licenses]]
type = "Apache-2.0"
uri = "https://github.com/rust-lang/rust/blob/master/LICENSE-APACHE"
[[metadata.dependencies.licenses]]
type = "MIT"
uri = "https://github.com/rust-lang/rust/blob/master/LICENSE-MIT"
[[metadata.dependencies]]
cpes = ["cpe:2.3:a:rust:rust:1.83.0:*:*:*:*:*:*:*"]
id = "rust"
name = "Rust"
purl = "pkg:generic/rust@1.83.0?arch=arm64"
sha256 = "ec70c500e2744f0db55bd495ef90534a31fd9c0d5f5a2d752182a59e439ddee3"
source = "https://static.rust-lang.org/dist/rustc-1.83.0-src.tar.gz"
source-sha256 = "722d773bd4eab2d828d7dd35b59f0b017ddf9a97ee2b46c1b7f7fac5c8841c6e"
stacks = ["*"]
uri = "https://static.rust-lang.org/dist/rust-1.83.0-aarch64-unknown-linux-gnu.tar.gz"
version = "1.83.0"
[[metadata.dependencies.licenses]]
type = "Apache-2.0"
uri = "https://github.com/rust-lang/rust/blob/master/LICENSE-APACHE"
[[metadata.dependencies.licenses]]
type = "MIT"
uri = "https://github.com/rust-lang/rust/blob/master/LICENSE-MIT"
[[stacks]]
id = "*"
[[targets]]
arch = "amd64"
os = "linux"
[[targets]]
arch = "arm64"
os = "linux"