photonoxide 0.4.3

Validated photonics for Rust: materials with provenance, mode solvers, 2D and 3D FDFD with S-parameters and adjoints, circuits and compact models, 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.4.3"
build = false
exclude = [
    ".github",
    "assets",
    "site",
    "studio",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Validated photonics for Rust: materials with provenance, mode solvers, 2D and 3D FDFD with S-parameters and adjoints, circuits and compact models, with a live studio"
readme = "README.md"
keywords = [
    "photonics",
    "fdfd",
    "waveguide",
    "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 = "circuit_fit"
path = "examples/circuit_fit.rs"

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

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

[[example]]
name = "directional_coupler"
path = "examples/directional_coupler.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 = "mzi_dwivedi"
path = "examples/mzi_dwivedi.rs"

[[example]]
name = "ring_q_factor"
path = "examples/ring_q_factor.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.rayon]
version = "1.12.0"

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

[dependencies.serde-saphyr]
version = "1.3"

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

[dependencies.toml]
version = "1"

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

[dev-dependencies.genoxide]
version = "0.13.1"
default-features = false

[profile.dev.package.photonoxide]
opt-level = 3

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