photonoxide 0.3.2

Validated, fabrication-ready photonics for Rust: mode solvers, FDFD, FDTD, inverse design, layout and PDKs, with a live studio
Documentation
# 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 = "2024"
rust-version = "1.95"
name = "photonoxide"
version = "0.3.2"
build = false
exclude = [
    ".github",
    "assets",
    "site",
    "studio",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Validated, fabrication-ready photonics for Rust: mode solvers, FDFD, FDTD, inverse design, layout and PDKs, with a live studio"
readme = "README.md"
keywords = [
    "photonics",
    "fdtd",
    "inverse-design",
    "electromagnetics",
    "silicon-photonics",
]
categories = [
    "science",
    "simulation",
    "mathematics",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tachsin/photonoxide"

[lib]
name = "photonoxide"
path = "src/lib.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

[[test]]
name = "validation_report"
path = "tests/validation_report.rs"

[dependencies.faer]
version = "0.24.4"

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

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"
features = ["float_roundtrip"]

[dependencies.toml]
version = "1"

[dependencies.yaml-rust2]
version = "0.13.0"

[profile.dev.package."*"]
opt-level = 3