-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fba6108
commit c358e7b
Showing
13 changed files
with
82 additions
and
36 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,29 @@ | ||
[package] | ||
name = "heroku-go-buildpack" | ||
version = "0.0.0" | ||
description = "Heroku Go Cloud Native Buildpack" | ||
edition = "2021" | ||
publish = false | ||
rust-version = "1.74" | ||
version.workspace = true | ||
rust-version.workspace = true | ||
edition.workspace = true | ||
publish.workspace = true | ||
|
||
[lints.rust] | ||
unreachable_pub = "warn" | ||
unsafe_code = "warn" | ||
# TODO: Enable this lint once the lib target is split out to a shared code crate, | ||
# which will reduce the false positives and make using this lint viable. | ||
# unused_crate_dependencies = "warn" | ||
|
||
[lints.clippy] | ||
panic_in_result_fn = "warn" | ||
pedantic = "warn" | ||
unwrap_used = "warn" | ||
[lints] | ||
workspace = true | ||
|
||
[dependencies] | ||
heroku-go-utils = { path = "../../common/go-utils" } | ||
flate2 = { version = "1", default-features = false, features = ["zlib"] } | ||
# libcnb has a much bigger impact on buildpack behaviour than any other dependencies, | ||
# so it's pinned to an exact version to isolate it from lockfile refreshes. | ||
libcnb = { version = "=0.17.0", features = ["trace"] } | ||
libherokubuildpack = { version = "=0.17.0", default-features = false, features = ["log"] } | ||
regex = "1" | ||
semver = "1" | ||
serde = "1" | ||
serde = { workspace = true } | ||
serde_json = "1" | ||
sha2 = "0.10" | ||
tar = "0.4" | ||
tempfile = "3" | ||
thiserror = "1" | ||
toml = "0.8" | ||
ureq = { version = "2", features = ["json"] } | ||
thiserror = { workspace = true } | ||
toml = { workspace = true } | ||
ureq = { workspace = true } | ||
|
||
[dev-dependencies] | ||
libcnb-test = "=0.17.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[package] | ||
name = "heroku-go-utils" | ||
description = "Libs and bins for the Heroku Go Buildpack" | ||
version.workspace = true | ||
rust-version.workspace = true | ||
edition.workspace = true | ||
|
||
[lints] | ||
workspace = true | ||
|
||
[dependencies] | ||
regex = "1" | ||
semver = "1" | ||
serde = { workspace = true } | ||
thiserror = { workspace = true } | ||
toml = { workspace = true } | ||
ureq = { workspace = true } |
2 changes: 1 addition & 1 deletion
2
buildpacks/go/src/bin/diff_inventory.rs → common/go-utils/src/bin/diff_inventory.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
buildpacks/go/src/bin/update_inventory.rs → common/go-utils/src/bin/update_inventory.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters