We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d869362 commit abd9cefCopy full SHA for abd9cef
Cargo.toml
@@ -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