Skip to content

Commit abd9cef

Browse files
committed
Cargo init
Signed-off-by: Utkarsh Srivastava <srivastavautkarsh8097@gmail.com>
1 parent d869362 commit abd9cef

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

Cargo.toml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
[package]
2+
name = "nodejs-snowflake"
3+
version = "2.0.0"
4+
authors = ["Utkarsh Srivastava <utkarsh@sagacious.dev>"]
5+
edition = "2021"
6+
description = "Generate time sortable 64 bits unique ids for distributed systems (inspired from twitter snowflake)"
7+
license = "Apache 2.0"
8+
repository = "https://github.com/utkarsh-pro/nodejs-snowflake.git"
9+
10+
[lib]
11+
crate-type = ["cdylib", "rlib"]
12+
13+
[dependencies]
14+
wasm-bindgen = { version = "0.2.63", features = ["serde-serialize"] }
15+
js-sys = "0.3.56"
16+
serde = { version = "1.0.136", features = ["derive"] }
17+
18+
[dev-dependencies]
19+
wasm-bindgen-test = "0.3.13"
20+
21+
[profile.release]
22+
# Tell `rustc` to optimize for small code size.
23+
opt-level = "s"

0 commit comments

Comments
 (0)