Skip to content

Commit e1cb79f

Browse files
committed
refactor: move repo to org and decouple napi-sys into separate repo
1 parent 6d283e9 commit e1cb79f

File tree

12 files changed

+19
-1415
lines changed

12 files changed

+19
-1415
lines changed

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@
22
members = [
33
"napi",
44
"napi-derive",
5-
"napi-sys",
65
"example",
76
]

README.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Node.js N-API for Rust! [work in progress]
22

3-
[![Build Status][travis-badge]][travis-url]
3+
[![Travis Build Status][travis-badge]][travis-url]
4+
[![AppVeyor Build Status][appveyor-badge]][appveyor-url]
45

56
High-level N-API bindings for Node.js addons written in Rust.
67

@@ -23,9 +24,8 @@ The project is covered by a [Code of Conduct][coc].
2324

2425
## Example
2526

26-
Check out <https://github.com/aqrln/napi-rs/tree/master/example> to see the
27-
full source code and project structure of this example. (TODO: initialize the
28-
module from Rust too).
27+
Check out the [`example`][example] directory to see the full source code and
28+
project structure of this example. (TODO: initialize the module from Rust too).
2929

3030
### `lib.rs`
3131

@@ -72,9 +72,12 @@ addon.hello();
7272
console.log(addon.add(1, 2));
7373
```
7474

75-
[coc]: https://github.com/aqrln/napi-rs/blob/master/CODE_OF_CONDUCT.md
75+
[appveyor-badge]: https://ci.appveyor.com/api/projects/status/9t6ckakvfmn07ru6/branch/master?svg=true
76+
[appveyor-url]: https://ci.appveyor.com/project/aqrln/napi-rs
77+
[coc]: https://github.com/napi-rs/napi/blob/master/CODE_OF_CONDUCT.md
78+
[example]: https://github.com/napi-rs/napi/tree/master/example
7679
[napi]: https://crates.io/crates/napi
7780
[napi-derive]: https://crates.io/crates/napi-derive
7881
[napi-sys]: https://crates.io/crates/napi-sys
79-
[travis-badge]: https://travis-ci.org/aqrln/napi-rs.svg?branch=master
80-
[travis-url]: https://travis-ci.org/aqrln/napi-rs
82+
[travis-badge]: https://travis-ci.org/napi-rs/napi.svg?branch=master
83+
[travis-url]: https://travis-ci.org/napi-rs/napi

example/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ publish = false
88
crate-type = ["staticlib"]
99

1010
[dependencies]
11-
napi = { path = "../napi" }
12-
napi-derive = { path = "../napi-derive" }
11+
napi = { version = "0.1.1", path = "../napi" }
12+
napi-derive = { version = "0.1.1", path = "../napi-derive" }

napi-derive/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
[package]
22
name = "napi-derive"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
authors = ["Alexey Orlenko <[email protected]>"]
55
license = "MIT"
66
description = "#[derive(NapiArgs)] for napi crate"
7-
repository = "https://github.com/aqrln/napi-rs"
7+
repository = "https://github.com/napi-rs/napi"
88
readme = "README.md"
99
keywords = ["node", "nodejs", "n-api", "addons", "bindings"]
1010
categories = ["api-bindings", "development-tools::ffi"]
1111

1212
[badges]
13-
travis-ci = { repository = "aqrln/napi-rs" }
13+
travis-ci = { repository = "napi-rs/napi" }
1414
appveyor = { repository = "aqrln/napi-rs" }
1515
maintenance = { status = "experimental" }
1616

napi-sys/Cargo.toml

Lines changed: 0 additions & 17 deletions
This file was deleted.

napi-sys/LICENSE

Lines changed: 0 additions & 1 deletion
This file was deleted.

napi-sys/README.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)