Configure as library, add demo

main
Elnu 1 year ago
parent af89a99a52
commit 6a027c0a24

1
.gitignore vendored

@ -1 +1,2 @@
/target /target
Cargo.lock

@ -1,5 +1,6 @@
[package] [package]
name = "" name = "renrs"
description = "A Rust-based visual novel backend compatible with Ren'Py .rpy script files."
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"

1
demo/.gitignore vendored

@ -0,0 +1 @@
/target

@ -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 = ".." }

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

@ -1,3 +1,3 @@
fn main() { pub fn hello() {
println!("Hello, world!"); println!("Hello, world!");
} }
Loading…
Cancel
Save