This repository has been archived by the owner on Jan 15, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Add monotrail-utils crate #53
Merged
Merged
Changes from 2 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
08296cd
Add empty monotrail-utils crate
cnpryer d23ff81
Add requirements_txt module to monotrail-utils
cnpryer d64b333
Use pep508_rs v0.2.1
cnpryer 97987ad
Add crate doc comment to monotrail-utils
cnpryer 74853ff
Start with monotrail-utils v0.0.1
cnpryer cee49b5
Use pep508_rs v0.2.1 in monotrail
cnpryer 5cb1e07
Use RequirementsTxt in poetry_integration
cnpryer 3ee53b0
Add Cargo.toml profile config ('zip implementation') back
cnpryer 06aaba0
Collapse import statements
cnpryer 9c804ba
Small chore
cnpryer a71d8d9
Cargo clippy --fix
cnpryer 175f7b3
Use shared workspace dependencies
cnpryer 9880144
Use shared dependencies from install-wheel-rs
cnpryer 67bcc23
Bump install-wheel-rs thiserror to v1.0.37
cnpryer b9d93ea
Bump install-wheel-rs sha2 to v0.10.6
cnpryer a0cad01
Bump install-wheel-rs serde to v1.0.145
cnpryer ee7a182
Use shared dev dependencies
cnpryer 938ce41
Fix requirements_txt tests
cnpryer e6526ad
Fix logtest issue on macos
cnpryer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
[package] | ||
name = "monotrail-utils" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
anyhow = "1.0.65" | ||
fs-err = "2.8.1" | ||
pep508_rs = { git = "https://github.com/konstin/pep508_rs", rev = "df87d4ff0f0f3554780ab82680539cb190b0a585", features = ["serde"] } | ||
serde = { version = "1.0.145", features = ["derive"] } | ||
serde_json = "1.0.85" | ||
toml = "0.7.2" | ||
tracing = "0.1.36" | ||
unscanny = "0.1.0" | ||
|
||
[dev-dependencies] | ||
indoc = "2.0.0" | ||
logtest = "2.0.0" | ||
tempfile = "3.3.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
pub use requirements_txt::RequirementsTxt; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should get some module level (or rather crate level) doc comment about what this crate is There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we want to hold off on fleshing it out? Added in 97987ad |
||
|
||
mod requirements_txt; |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this use a released version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added in d64b333