Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: process-relaunch-dangerous-allow-symlink-macos feature flag usage #266

Merged
merged 1 commit into from
Sep 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changes/missing-feature-flag.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"cargo-packager-updater": patch
"cargo-packager-resource-resolver": patch
"cargo-packager-utils": patch
---

Fix `process-relaunch-dangerous-allow-symlink-macos` feature usage.
4 changes: 4 additions & 0 deletions crates/packager/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ targets = [
"x86_64-apple-darwin"
]

[lints.rust]
# cfg(doc_cfg) is used for docs.rs detection. see above
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] }

[features]
default = [ "cli", "rustls-tls" ]
cli = [ "clap", "dep:tracing-subscriber" ]
Expand Down
2 changes: 1 addition & 1 deletion crates/resource-resolver/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ log = "0.4.21"
heck = "0.5"

[features]
process-relaunch-dangerous-allow-symlink-macos = [ ]
process-relaunch-dangerous-allow-symlink-macos = [ "cargo-packager-utils/process-relaunch-dangerous-allow-symlink-macos" ]
auto-detect-format = [ ]
2 changes: 1 addition & 1 deletion crates/updater/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ repository = { workspace = true }

[features]
default = [ "rustls-tls" ]
process-relaunch-dangerous-allow-symlink-macos = [ ]
process-relaunch-dangerous-allow-symlink-macos = [ "cargo-packager-utils/process-relaunch-dangerous-allow-symlink-macos" ]
native-tls = [ "reqwest/native-tls" ]
native-tls-vendored = [ "reqwest/native-tls-vendored" ]
rustls-tls = [ "reqwest/rustls-tls-native-roots" ]
Expand Down
4 changes: 2 additions & 2 deletions crates/updater/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@
//!
//! 1. [`204 No Content`](https://datatracker.ietf.org/doc/html/rfc2616#section-10.2.5) in case there is no updates available.
//! 2. [`200 OK`](https://datatracker.ietf.org/doc/html/rfc2616#section-10.2.1) and a JSON response that could be either a JSON representing all available platform updates
//! or if using endpoints variables (see above) or a header to attach the current updater target,
//! then it can just return information for the requested target.
//! or if using endpoints variables (see above) or a header to attach the current updater target,
//! then it can just return information for the requested target.
//!
//! The JSON response is expected to have these fields set:
//!
Expand Down
1 change: 1 addition & 0 deletions crates/utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ cli = [ ]
schema = [ "schemars" ]
clap = [ "dep:clap" ]
serde = [ "dep:serde" ]
process-relaunch-dangerous-allow-symlink-macos = []
Loading