Configure as library, add demo

This commit is contained in:
Elnu 2023-05-19 12:16:47 -07:00
parent af89a99a52
commit 6a027c0a24
6 changed files with 19 additions and 2 deletions

1
demo/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/target

9
demo/Cargo.toml Normal file
View file

@ -0,0 +1,9 @@
[package]
name = "renrs-demo"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
renrs = { path = ".." }

5
demo/src/main.rs Normal file
View file

@ -0,0 +1,5 @@
use renrs;
fn main() {
renrs::hello();
}