Skip to content
This repository has been archived by the owner on Jan 15, 2025. It is now read-only.

Add monotrail-utils crate #53

Merged
merged 19 commits into from
Jun 12, 2023
Merged
Show file tree
Hide file tree
Changes from 2 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
17 changes: 17 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ readme = "Readme.md"

[workspace]
members = [
"install-wheel-rs"
"install-wheel-rs",
"monotrail-utils",
]

[lib]
Expand Down
19 changes: 19 additions & 0 deletions monotrail-utils/Cargo.toml
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"] }
Copy link
Owner

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added in d64b333

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"
3 changes: 3 additions & 0 deletions monotrail-utils/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pub use requirements_txt::RequirementsTxt;
Copy link
Owner

Choose a reason for hiding this comment

The 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

Copy link
Contributor Author

Choose a reason for hiding this comment

The 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;
Loading