feat: init commit

This commit is contained in:
2021-07-20 22:02:33 +08:00
parent 23fad4ab62
commit bff1158e1d
4 changed files with 22 additions and 4 deletions

5
.gitignore vendored
View File

@@ -1,3 +1,4 @@
.idea/
# ---> macOS
# General
.DS_Store
@@ -32,10 +33,6 @@ Temporary Items
# will have compiled files and executables
debug/
target/
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
Cargo.lock
# These are backup files generated by rustfmt
**/*.rs.bk

7
Cargo.lock generated Normal file
View File

@@ -0,0 +1,7 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
[[package]]
name = "runjs"
version = "0.1.0"

11
Cargo.toml Normal file
View File

@@ -0,0 +1,11 @@
[package]
name = "runjs"
version = "0.1.0"
edition = "2018"
license = "MIT/Apache-2.0"
description = "Run javaScript Scripts"
readme = "README.md"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]

3
src/main.rs Normal file
View File

@@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}