Skip to content

Alexhuszagh/ssh_dependency

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ssh_dependency

An example Rust project with a private dependency.

Note that this project won't compile, since it depends on a private dependency my account has. The dependency is quite simple: it's a crate with only Cargo.toml and src/lib.rs.

Cargo.toml

[package]
name = "private_lib"
version = "0.1.0"
authors = ["Alex Huszagh <ahuszagh@gmail.com>"]
edition = "2018"

src/lib.rs

pub fn square(x: u32) -> u32 {
    x * x
}

About

An example Rust project with a private dependency.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages