# 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 = "aps490_pfpu2_mini"
version = "0.4.2"
authors = [
    "Jessica Rodriguez <dev@jessicarod.com>",
    "PFPU2 team (Zainab Ali, Olivia Lotzer, Jessica Rodriguez, Tina Sokhanvar, Zeynep Tibik)",
]
build = "build.rs"
include = [
    ".cargo/",
    "/.gitignore",
    "build.rs",
    "memory.x",
    "src/",
    "rustfmt.toml",
    "Cargo.lock",
    "Cargo.toml",
    "Embed.toml",
    "LICENSE",
    "NOTICE",
    "README.md",
]
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Control software for PFPU2 automated brain detection system"
documentation = "https://docs.rs/aps490_pfpu2_mini"
readme = "README.md"
keywords = [
    "capstone",
    "RP2040",
    "autopsy",
    "brain",
    "contact-detection",
]
categories = [
    "embedded",
    "no-std",
    "science",
]
license = "Apache-2.0"
repository = "https://github.com/jessicarod7/aps490_pfpu2_mini"

[profile.dev]
opt-level = 3
codegen-units = 1
debug = 2
debug-assertions = true
overflow-checks = true
incremental = false

[profile.dev.build-override]
opt-level = 0
codegen-units = 8
debug = 0
debug-assertions = false
overflow-checks = false

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
debug = 2
debug-assertions = false
overflow-checks = false
incremental = false

[profile.release.build-override]
opt-level = 0
codegen-units = 8
debug = 0
debug-assertions = false
overflow-checks = false

[lib]
name = "aps490_pfpu2_mini"
path = "src/lib.rs"
test = false
bench = false

[[bin]]
name = "aps490_pfpu2_mini"
path = "src/main.rs"
test = false
bench = false

[dependencies.cortex-m]
version = "0.7"

[dependencies.cortex-m-rt]
version = "0.7"

[dependencies.critical-section]
version = "1.1.2"

[dependencies.defmt]
version = "0.3"

[dependencies.defmt-rtt]
version = "0.4"

[dependencies.embedded-hal]
version = "1.0.0"

[dependencies.log]
version = "0.4.21"

[dependencies.panic-probe]
version = "0.3"
features = ["print-defmt"]

[dependencies.rp2040-boot2]
version = "0.3"

[dependencies.rp2040-hal]
version = "0.10"
features = [
    "rt",
    "critical-section-impl",
    "defmt",
]

[features]
default = ["triple_status"]
disable_switch = []
rgba_status = []
trace_avg_samples = []
trace_indiv_samples = []
triple_status = []

[lints.clippy]
missing_docs_in_private_items = "warn"
