Skip to content

Commit 351372d

Browse files
author
llgoer
committedJul 14, 2019
添加quickjs-rs基础文件
1 parent 91604af commit 351372d

File tree

4 files changed

+31
-0
lines changed

4 files changed

+31
-0
lines changed
 

‎.gitignore

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/target
2+
**/*.rs.bk
3+
4+
5+
#Added by cargo
6+
#
7+
#already existing elements are commented out
8+
9+
#/target
10+
#**/*.rs.bk
11+
Cargo.lock
12+
.DS_Store

‎Cargo.toml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[package]
2+
name = "quickjs-rs"
3+
version = "0.1.0"
4+
authors = ["llgoer <llgoer@github.com>"]
5+
edition = "2018"
6+
repository = "https://github.com/quickjs-zh/quickjs-rs"
7+
homepage = "https://bellard.org/quickjs/"
8+
documentation = "https://github.com/quickjs-zh/QuickJS"
9+
description = "Rust bindings to Fabrice Bellards QuickJS Javascript Engine"
10+
11+
[dependencies]

‎README.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# quickjs-rs
2+
23
Rust bindings to QuickJS

‎src/lib.rs

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#[cfg(test)]
2+
mod tests {
3+
#[test]
4+
fn it_works() {
5+
assert_eq!(2 + 2, 4);
6+
}
7+
}

0 commit comments

Comments
 (0)
Please sign in to comment.