pub const BUILD_INIT: &str = r#"fn main() {
  napi_build_ohos::setup();
}
"#;

pub const VSCODE_SETTINGS: &str = r#"{
  "rust-analyzer.cargo.target": "aarch64-unknown-linux-ohos"
}"#;

pub const CARGO_TOML: &str = r#"[package]
name    = "entry"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[lib]
crate-type = ["cdylib"]

[dependencies]
napi-ohos = { version = "1.0", default-features = false, features = [
    "napi8",
    "async",
] }
napi-derive-ohos = { version = "1.0" }

[build-dependencies]
napi-build-ohos = { version = "1.0" }

[profile.release]
lto = true
"#;

pub const LIB_CODE: &str = r#"use napi_derive_ohos::napi;

#[napi]
pub fn add(left: u32, right: u32) -> u32 {
  left + right
}
"#;

pub const GIT_IGNORE: &str = r#"dist/
target/
.DS_Store
.idea/
package/libs

*.har

Cargo.lock
"#;
