Skip to content

Commit abbf37a

Browse files
committed
chore: improve Cargo.toml files and prepare for publishing
1 parent 5febe22 commit abbf37a

File tree

4 files changed

+41
-4
lines changed

4 files changed

+41
-4
lines changed

example/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name = "napi-example"
33
version = "0.1.0"
44
authors = ["Alexey Orlenko <[email protected]>"]
5+
publish = false
56

67
[lib]
78
crate-type = ["staticlib"]

napi-derive/Cargo.toml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,18 @@
11
[package]
2-
authors = ["Alexey Orlenko <[email protected]>"]
32
name = "napi-derive"
43
version = "0.1.0"
4+
authors = ["Alexey Orlenko <[email protected]>"]
5+
license = "MIT"
6+
description = "#[derive(NapiArgs)] for napi crate"
7+
repository = "https://github.com/aqrln/napi-rs"
8+
readme = "README.md"
9+
keywords = ["node.js", "n-api", "addons", "bindings"]
10+
categories = ["api-bindings", "development-tools::ffi"]
11+
12+
[badges]
13+
travis-ci = { repository = "aqrln/napi-rs" }
14+
appveyor = { repository = "aqrln/napi-rs" }
15+
maintenance = { status = "experimental" }
516

617
[dependencies]
718
quote = "0.3.15"

napi-sys/Cargo.toml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
[package]
2-
authors = ["Alexey Orlenko <[email protected]>"]
32
name = "napi-sys"
43
version = "0.1.0"
4+
authors = ["Alexey Orlenko <[email protected]>"]
5+
license = "MIT"
6+
description = "Low-level bindings to Node.js N-API"
7+
repository = "https://github.com/aqrln/napi-rs"
8+
readme = "README.md"
9+
keywords = ["node.js", "n-api", "addons", "bindings"]
10+
categories = ["external-ffi-bindings"]
11+
12+
[badges]
13+
travis-ci = { repository = "aqrln/napi-rs" }
14+
appveyor = { repository = "aqrln/napi-rs" }
15+
maintenance = { status = "experimental" }
516

617
[dependencies]

napi/Cargo.toml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,21 @@
11
[package]
22
name = "napi"
33
version = "0.1.0"
4-
authors = ["Alexey Orlenko <[email protected]>"]
4+
authors = [
5+
"Alexey Orlenko <[email protected]>",
6+
"Dmytro Nechai <[email protected]>",
7+
]
8+
license = "MIT"
9+
description = "High-level bindings to Node.js N-API"
10+
repository = "https://github.com/aqrln/napi-rs"
11+
readme = "README.md"
12+
keywords = ["node.js", "n-api", "addons", "bindings"]
13+
categories = ["api-bindings"]
14+
15+
[badges]
16+
travis-ci = { repository = "aqrln/napi-rs" }
17+
appveyor = { repository = "aqrln/napi-rs" }
18+
maintenance = { status = "experimental" }
519

620
[dependencies]
7-
napi-sys = { path = "../napi-sys" }
21+
napi-sys = { version = "0.1.0", path = "../napi-sys" }

0 commit comments

Comments
 (0)