napi-ohos 1.0.4

N-API bindings
1
2
3
4
5
6
7
8
9
10
11
use std::env;

fn main() {
  if env::var("CARGO_FEATURE_NAPI9").is_ok() {
    panic!("Please don't set features with napi9")
  }

  if env::var("CARGO_FEATURE_EXPERIMENTAL").is_ok() {
    panic!("Please don't set features with experimental")
  }
}