diff --git a/.cargo/config.toml b/.cargo/config.toml index 0243837..420e44e 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,2 +1,2 @@ [build] -target-dir = "Binaries" +target-dir = "Intermediate/Target" diff --git a/.gitattributes b/.gitattributes index 5a0d5e4..6313b56 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1 @@ -# Auto detect text files and perform LF normalization * text=auto eol=lf diff --git a/.gitignore b/.gitignore index 397adde..20af12c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,11 +1,6 @@ -# Binary Files - -Binaries/ - -# Cargo Files - -Cargo.lock - -# Mac OSX +[Bb]inaries/ +[Ii]ntermediate/ .DS_Store +Cargo.lock +desktop.ini diff --git a/Cargo.toml b/Cargo.toml index 54654cc..16fa2fe 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,28 +1,24 @@ [package] name = "tribufu" -version = "0.0.2" +version = "0.0.3" description = "TribuFu SDK" -repository = "https://github.com/TribuFu/SDK" +repository = "https://github.com/TribuFu/SDK-RS" authors = ["TribuFu "] license = "Apache-2.0" readme = "README.md" -edition = "2018" +edition = "2021" publish = true exclude = [ ".github/", ".vscode/", - "Documentation/", ".editorconfig", ".gitattributes", - "*.code-workspace", - "Bootstrap.ps1", - "Bootstrap.sh", ] [lib] -name="TribuFu" +name = "TribuFu" crate-type = ["rlib"] -path = "Source/TribuFu.rs" +path = "Source/lib.rs" [dependencies] diff --git a/Source/TribuFu.rs b/Source/lib.rs similarity index 55% rename from Source/TribuFu.rs rename to Source/lib.rs index 0140541..76eeb18 100644 --- a/Source/TribuFu.rs +++ b/Source/lib.rs @@ -1,11 +1,5 @@ // Copyright (c) TribuFu. All Rights Reserved -//! TribuFu SDK. - #![allow(non_snake_case)] pub const VERSION: &str = env!("CARGO_PKG_VERSION"); - -pub fn Hello(input: String) -> String { - return format!("Hello {}", input); -}