Skip to content

Commit

Permalink
feat: add prep_string
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanWilbur committed Sep 4, 2023
1 parent 2b1cd23 commit 48fd6e7
Show file tree
Hide file tree
Showing 4 changed files with 230 additions and 187 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ crate-type = ["cdylib"]
[dependencies]
napi = "2"
napi-derive = "2"
stringprep = "0.1.4"

[build-dependencies]
napi-build = "2"
Expand Down
4 changes: 3 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@

/* auto-generated by NAPI-RS */

export function plus100(input: number): number
export function oidFromStr(s: string): Array<number> | null
export function oidFromBytes(b: Uint8Array): Array<number> | null
export function prepString(s: string, caseFold: boolean): string | null
Loading

0 comments on commit 48fd6e7

Please sign in to comment.