aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml49
1 files changed, 44 insertions, 5 deletions
diff --git a/Cargo.toml b/Cargo.toml
index bb479a6..4ac458d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -11,21 +11,60 @@ homepage = "https://blog.npry.dev/resenv/ocularium"
repository = "https://pub.npry.dev/ocularium"
include = ["build.rs", "/src/", "Cargo.toml", "README.md", "LICENSE"]
+[features]
+disable_sd = []
+
[dependencies]
-molybdos = { git = "https://pub.npry.dev/molybdos", features = ["rp", "defmt", "rtt"] }
veml7700_async = { git = "https://pub.npry.dev/veml7700_async" }
drogue_bme680_async = { git = "https://pub.npry.dev/drogue_bme680_async" }
lsm6dsm = { git = "https://pub.npry.dev/lsm6dsm" }
-embedded_sdmmc_async = { git = "https://pub.npry.dev/embedded_sdmmc_async" }
-embassy-executor.git = "https://github.com/embassy-rs/embassy"
+embassy-executor = { git = "https://github.com/embassy-rs/embassy", features = ["executor-interrupt", "executor-thread", "arch-cortex-m", "nightly"] }
+serde = { version = "1.0", default-features = false }
+cortex-m-rt = { version = "0.7", default-features = false }
+
+[dependencies.molybdos]
+git = "https://pub.npry.dev/molybdos"
+features = [
+ "rp",
+ "defmt",
+ "rtt",
+ "sd",
+ "runtime",
+ "postcard",
+ "serde",
+ "chrono",
+ "impl_alloc",
+]
[build-dependencies]
-molybdos_build.git = "https://pub.npry.dev/molybdos"
+molybdos_build = { git = "https://pub.npry.dev/molybdos" }
[patch]
"https://pub.npry.dev/molybdos".molybdos = { path = "../molybdos" }
-"https://pub.npry.dev/molybdos".molybdos_build = { path = "../molybdos/molybdos_build" }
"https://pub.npry.dev/veml7700_async".veml7700_async = { path = "../../fork/veml7700" }
"https://pub.npry.dev/drogue_bme680_async".drogue_bme680_async = { path = "../../fork/drogue_bme680_async" }
"https://pub.npry.dev/lsm6dsm".lsm6dsm = { path = "../lsm6dsm" }
+
+[patch."https://github.com/embassy-rs/embassy"]
+embassy-sync = { git = "https://github.com/mammothbane/embassy" }
+embassy-executor = { git = "https://github.com/mammothbane/embassy" }
+embassy-time = { git = "https://github.com/mammothbane/embassy" }
+embassy-time-driver = { git = "https://github.com/mammothbane/embassy" }
+embassy-usb = { git = "https://github.com/mammothbane/embassy" }
+
+[profile.dev]
+codegen-units = 1
+debug = true
+debug-assertions = true
+incremental = false
+opt-level = 'z'
+overflow-checks = true
+
+[profile.release]
+codegen-units = 1
+debug = 2
+debug-assertions = false
+lto = 'fat'
+opt-level = 3
+overflow-checks = false