Skip to content

Commit

Permalink
feat: update cli template with edtion2021(#1739) (#1828)
Browse files Browse the repository at this point in the history
  • Loading branch information
richerfu committed Nov 28, 2023
1 parent 440bea2 commit 4301b9a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cli/src/api/templates/lib.rs.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
export const createLibRs = () => `#![deny(clippy::all)]
#[macro_use]
extern crate napi_derive;
export const createLibRs = () => `use napi_derive::napi;
#[napi]
pub fn sum(a: i32, b: i32) -> i32 {
Expand Down

0 comments on commit 4301b9a

Please sign in to comment.