Skip to content

Commit

Permalink
feat: add support for file, http and git reference (#168)
Browse files Browse the repository at this point in the history
Add support for different source dependency types, namely direct file, http and git references. Tests have been added to verify if this behavior works.
  • Loading branch information
nichmor authored Jan 30, 2024
1 parent 9966501 commit d9ebff7
Show file tree
Hide file tree
Showing 32 changed files with 3,597 additions and 193 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
.DS_STORE
# pixi environments
.pixi

# other venvs
.venv*/
7 changes: 7 additions & 0 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions crates/rattler_installs_packages/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ configparser = "3.0.3"
cacache = { version = "12.0.0", default-features = false, features = ["tokio-runtime", "mmap"] }
async-recursion = "1.0.5"
fs-err = "2.11.0"
fs_extra = "1.3.0"

[dependencies.async_http_range_reader]
git = "https://github.com/mamba-org/rattler"
Expand Down
2 changes: 1 addition & 1 deletion crates/rattler_installs_packages/src/artifacts/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ mod sdist;
/// Module for working with PyPA wheels. Contains the [`Wheel`] type, and related functionality.
pub mod wheel;

pub use sdist::SDist;
pub use sdist::{SDist, STree, SourceArtifact};
pub use wheel::Wheel;
Loading

0 comments on commit d9ebff7

Please sign in to comment.