# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "bn-rs" version = "0.2.4" authors = ["Alexey Shekhirin "] description = """ bn.js and ethers.js BigNumber bindings for Rust & WebAssembly """ homepage = "https://docs.rs/bn-rs" documentation = "https://docs.rs/bn-rs" readme = "README.md" keywords = [ "javascript", "wasm", "webassembly", "numbers", ] license = "MIT OR Apache-2.0" repository = "https://github.com/shekhirin/bn.rs" [dependencies.getrandom] version = "0.2.3" features = ["js"] [dependencies.js-sys] version = "0.3.55" [dependencies.primitive-types] version = "0.12" features = ["rustc-hex"] [dependencies.rustc-hex] version = "2.0.1" [dependencies.thiserror] version = "1.0.30" [dependencies.uint] version = "0.9.1" [dependencies.wasm-bindgen] version = "0.2.78" [dev-dependencies.wasm-bindgen-test] version = "0.3.28" [features] bn-js = [] default = [ "bn-js", "ethers-js", ] ethers-js = []