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

cargo toml improvements #16

Merged
merged 3 commits into from
Aug 29, 2024
Merged

cargo toml improvements #16

merged 3 commits into from
Aug 29, 2024

Conversation

bertrmz
Copy link
Contributor

@bertrmz bertrmz commented Aug 28, 2024

Overview of Changes in this PR

  • specify files to include
  • use simplified dependency format
  • bump patch version

Links

The exclude and include fields in Cargo.toml
Caret requirements

edition = "2021"
authors = ["[email protected]"]
description = "Provides verification of server-side authentication for applications using Passage Passkey Flex"
homepage = "https://github.com/passageidentity/passage-flex-rust"
repository = "https://github.com/passageidentity/passage-flex-rust"
readme = "README.md"
license = "MIT"
include = ["/src", "README.md"]

[dependencies]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On the changes below:

Leaving off the caret is a simplified equivalent syntax to using caret requirements. While caret requirements are the default, it is recommended to use the simplified syntax when possible.

log = "^1.2.3" is exactly equivalent to log = "1.2.3".

(docs)

@bertrmz bertrmz marked this pull request as ready for review August 28, 2024 16:00
edition = "2021"
authors = ["[email protected]"]
description = "Provides verification of server-side authentication for applications using Passage Passkey Flex"
homepage = "https://github.com/passageidentity/passage-flex-rust"
repository = "https://github.com/passageidentity/passage-flex-rust"
readme = "README.md"
license = "MIT"
include = ["/src", "README.md"]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change removes the following unnecessary files from cargo package --list:
Screenshot 2024-08-28 at 10 49 38 AM

@bertrmz bertrmz requested a review from a team August 28, 2024 16:53
@bertrmz bertrmz merged commit 9be3fcc into main Aug 29, 2024
3 checks passed
@ctran88 ctran88 deleted the set-include-in-cargo-toml branch November 21, 2024 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants