# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "opcalc" version = "0.2.1" authors = ["vic-lee "] description = "An easy-to-use black-scholes option calculator. Made for JS, built in Rust." license = "MIT" repository = "https://github.com/mfg-nyu/opcalc" [package.metadata.wasm-pack.profile.release] wasm-opt = ["-Oz", "--enable-mutable-globals"] [profile.release] opt-level = "s" lto = true [lib] crate-type = ["cdylib", "rlib"] [dependencies.approx] version = "0.3.2" [dependencies.console_error_panic_hook] version = "0.1.6" optional = true [dependencies.statrs] version = "0.12.0" [dependencies.wasm-bindgen] version = "0.2.69" [dependencies.web-sys] version = "0.3" features = ["console"] [dependencies.wee_alloc] version = "0.4.5" optional = true [dev-dependencies.wasm-bindgen-test] version = "0.3.13" [features] default = ["console_error_panic_hook"]