chore: make examples private

This commit is contained in:
LongYinan 2021-10-31 23:32:40 +08:00
parent df152f727a
commit af86f6f7a4
No known key found for this signature in database
GPG key ID: C3666B7FC82ADAD7
4 changed files with 8 additions and 4 deletions

View file

@ -2,6 +2,7 @@
authors = ["LongYinan <lynweklm@gmail.com>"]
edition = "2018"
name = "napi-bench"
publish = false
version = "0.1.0"
[lib]

View file

@ -2,6 +2,7 @@
authors = ["LongYinan <lynweklm@gmail.com>"]
edition = "2018"
name = "napi-compat-mode-examples"
publish = false
version = "0.1.0"
[lib]

View file

@ -2,19 +2,20 @@
authors = ["LongYinan <lynweklm@gmail.com>"]
edition = "2018"
name = "napi-examples"
publish = false
version = "0.1.0"
[lib]
crate-type = ["cdylib"]
[dependencies]
napi-derive = { path = "../../crates/macro", features = ["type-def"] }
futures = "0.3"
napi = {path = "../../crates/napi", features = ["full"]}
napi-derive = {path = "../../crates/macro", features = ["type-def"]}
serde = "1"
serde_derive = "1"
serde_json = "1"
tokio = {version = "1", features = ["default", "fs"]}
futures = "0.3"
[build-dependencies]
napi-build = {path = "../../crates/build"}

View file

@ -2,6 +2,7 @@
authors = ["LongYinan <lynweklm@gmail.com>"]
edition = "2018"
name = "memory-testing"
publish = false
version = "0.1.0"
[lib]