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

Algorithm for extracting information and generating dependency info #5

Closed
bvssvni opened this issue Aug 1, 2015 · 2 comments
Closed
Assignees
Labels

Comments

@bvssvni
Copy link
Member

bvssvni commented Aug 1, 2015

See #1

fn extract_dependency_info_from(extract_info: &str) -> Result<String, String>;
@bvssvni
Copy link
Member Author

bvssvni commented Aug 9, 2015

Maybe use hyper to get the Cargo.toml from Github. There is some example code here https://github.com/PistonDevelopers/asset_store/blob/master/src/iostore.rs#L180-L192

@bvssvni
Copy link
Member Author

bvssvni commented Aug 9, 2015

  • Add a function for loading a text document from url into a String
  • Add meta syntax for extracting dependencies from Cargo.toml
  • Add struct Extract for extract information
  • Add struct Dependency for storing dependency name and version
  • Print out data in the custom format for dependencies and versions

bvssvni added a commit to bvssvni/eco that referenced this issue Aug 9, 2015
bvssvni added a commit to bvssvni/eco that referenced this issue Aug 9, 2015
@bvssvni bvssvni self-assigned this Aug 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant