[package]
authors = ["Freddy Wordingham <fjmw201@exeter.ac.uk>"]
name = "mcrt"
version = "0.3.0"
description = "Monte-Carlo Radiative Transfer (MCRT) tool."
repository = "https://github.com/FreddyWordingham/mcrt"
readme = "README.md"
keywords = ["physics", "mcrt", "rt"]
categories = ["science", "simulation"]
edition = "2018"
license = "MIT OR Apache-2.0"
documentation = "https://freddywordingham.github.io/mcrt"
exclude = ["docs/"]

[dependencies]
# arctk = { path = "../arctk", features = ["terminal_size", "netcdf"] }
# arctk-attr = { path = "../arctk-attr" }
# arctk-proc = { path = "../arctk-proc" }
arctk = { version = "0.12.0", features = ["terminal_size", "netcdf"] }
arctk-attr = "0.2.*"
arctk-proc = "0.2.*"
ndarray = "0.13.*"
num_cpus = "1.13.*"
physical_constants = "0.3.*"
rand = "0.7.*"
rayon = "1.5.*"
serde = { version = "1.0.*", features = ["derive"] }

[profile.dev]
# Development profile: "cargo build".
opt-level = 0
debug = true
rpath = false
lto = false
debug-assertions = true
codegen-units = 16
panic = 'unwind'
incremental = true
overflow-checks = true

[profile.release]
# Release profile: "cargo build --release"
# # [DEV RELEASE]
opt-level = 3
debug = true
rpath = false
lto = false
debug-assertions = true
codegen-units = 16
panic = "unwind"
incremental = false
overflow-checks = true

# [profile.release]
# # [RELEASE]
# # Release profile: "cargo build --release"
# opt-level = 3
# debug = false
# rpath = false
# lto = "fat"
# debug-assertions = false
# codegen-units = 1
# panic = "abort"
# incremental = false
# overflow-checks = false

[profile.test]
# Testing profile: "cargo test"
opt-level = 0
debug = 2
rpath = false
lto = false
debug-assertions = true
codegen-units = 16
incremental = true
overflow-checks = true

[profile.bench]
# Benchmark profile: "cargo bench" (and "cargo test --release)".
opt-level = 3
debug = false
rpath = false
lto = "fat"
debug-assertions = false
codegen-units = 1
incremental = false
overflow-checks = false

[package.metadata.docs.rs]
no-default-features = true
default-target = "x86_64-apple-darwin"
targets = ["x86_64-unknown-linux-gnu"]
