# 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 = "mnp-plasmon"
version = "0.1.0"
authors = ["galihru"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Efficient Rust library for calculating optical response of metallic nanoparticles using Drude model and Rayleigh approximation. Supports Au, Ag, Al materials."
homepage = "https://github.com/galihru/mnpbem"
readme = "README.md"
keywords = [
    "plasmon",
    "nanoparticles",
    "optics",
    "drude",
    "rayleigh",
]
categories = ["science"]
license = "GPL-3.0-only"
repository = "https://github.com/galihru/mnpbem"

[features]
default = ["serde"]
serde = [
    "dep:serde",
    "dep:serde_json",
]

[lib]
name = "mnp_plasmon"
crate-type = ["rlib"]
path = "src/lib.rs"

[[example]]
name = "basic_sphere"
path = "examples/basic_sphere.rs"

[dependencies.num-complex]
version = "0.4"

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1.0"
optional = true

[dev-dependencies.approx]
version = "0.5"
