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

Getting error: failed to load source for a dependency on litcrypt #1

Closed
munjalpatel opened this issue Nov 9, 2017 · 4 comments
Closed

Comments

@munjalpatel
Copy link

Hello I am trying to use this in my project.

However, doing cargo run gives me the following error:
image

I have aded this in my Cargo.toml

[dependencies]
litcrypt = { git = "https://github.com/anvie/litcrypt.rs" }
xor = { git = "https://github.com/anvie/xor-rs" }

Here is my main.rs

fn main() {
    println!("{}", lc!("Hello, from Rust!"));
}
@anvie
Copy link
Owner

anvie commented Nov 10, 2017

What Cargo & Rust version do you use?

@munjalpatel
Copy link
Author

I installed Rust yesterday. So the latest version of Rust and Cargo.

>>> rustc --version
rustc 1.21.0 (3b72af97e 2017-10-09)

>>> cargo --version
cargo 0.22.0 (3423351a5 2017-10-06)

@anvie
Copy link
Owner

anvie commented Oct 2, 2019

Please clone with recursive: git clone --recursive https://github.com/anvie/litcrypt.rs

@anvie
Copy link
Owner

anvie commented Feb 4, 2021

Should fixed now, please pull from the latest master branch.

@anvie anvie closed this as completed Feb 4, 2021
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

No branches or pull requests

2 participants