init
This commit is contained in:
commit
338d679be3
6 changed files with 2060 additions and 0 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
/target
|
||||||
|
/.vscode
|
4
.rustfmt.toml
Normal file
4
.rustfmt.toml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
edition = "2021"
|
||||||
|
tab_spaces = 2
|
||||||
|
match_block_trailing_comma = true
|
||||||
|
wrap_comments = true
|
2039
Cargo.lock
generated
Normal file
2039
Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load diff
7
Cargo.toml
Normal file
7
Cargo.toml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
[package]
|
||||||
|
name = "refractor"
|
||||||
|
version = "0.1.0"
|
||||||
|
edition = "2021"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
gix = ">=0.70.0"
|
3
src/hello.rs
Normal file
3
src/hello.rs
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
pub fn there() -> String {
|
||||||
|
return String::from("Hello world!");
|
||||||
|
}
|
5
src/main.rs
Normal file
5
src/main.rs
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
mod hello;
|
||||||
|
|
||||||
|
fn main() {
|
||||||
|
println!("{}", hello::there());
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue