Skip to content

Commit

Permalink
node_api_sys -> node_api_system
Browse files Browse the repository at this point in the history
  • Loading branch information
nitsky committed Jun 23, 2021
1 parent 0b9e880 commit 5d30003
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ serde_1 = ["serde"]

[dependencies]
node_api_macro = { version = "0.2", path = "macro" }
node_api_sys = { version = "0.2", path = "sys" }
node_api_system = { version = "0.2", path = "sys" }
num = "0.4"
serde = { version = "1", optional = true }
2 changes: 1 addition & 1 deletion lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub use self::{
},
};
pub use node_api_macro::{function, init};
pub use node_api_sys as sys;
pub use node_api_system as sys;

pub fn fatal_error(location: Option<&str>, message: Option<&str>) {
unsafe {
Expand Down
4 changes: 2 additions & 2 deletions sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
authors = ["Tangram <root@tangram.xyz"]
description = "Write Node.js native addons with Node-API in Rust."
documentation = "https://docs.rs/node_api_sys"
documentation = "https://docs.rs/node_api_system"
edition = "2018"
homepage = "https://github.com/tangramxyz/node_api"
license = "MIT"
name = "node_api_sys"
name = "node_api_system"
publish = true
repository = "https://github.com/tangramxyz/node_api"
version = "0.2.0"
Expand Down
2 changes: 1 addition & 1 deletion value/boolean.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::mem::MaybeUninit;

use node_api_sys::napi_status;
use node_api_system::napi_status;

use crate::{
sys::{napi_get_boolean, napi_get_value_bool},
Expand Down
2 changes: 1 addition & 1 deletion value/function.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use node_api_sys::napi_status;
use node_api_system::napi_status;

use crate::{
sys::{napi_callback_info, napi_create_function, napi_env, napi_value},
Expand Down
2 changes: 1 addition & 1 deletion value/null.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::mem::MaybeUninit;

use node_api_sys::napi_status;
use node_api_system::napi_status;

use crate::{sys::napi_get_null, Env, Error, Result, Value};

Expand Down
2 changes: 1 addition & 1 deletion value/number.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::mem::MaybeUninit;

use node_api_sys::napi_status;
use node_api_system::napi_status;

use crate::{
sys::{napi_create_double, napi_get_value_double},
Expand Down
2 changes: 1 addition & 1 deletion value/string.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use node_api_sys::napi_status;
use node_api_system::napi_status;

use crate::{
sys::{napi_create_string_utf8, napi_get_value_string_utf8},
Expand Down
2 changes: 1 addition & 1 deletion value/undefined.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::mem::MaybeUninit;

use node_api_sys::napi_status;
use node_api_system::napi_status;

use crate::{sys::napi_get_undefined, Env, Error, Result, Value};

Expand Down

0 comments on commit 5d30003

Please sign in to comment.