aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 4ac458d7b35cb7f3d4309655c314a81a0ccd84f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
[package]
name = "ocularium"
version = "0.1.0-alpha0"
edition = "2021"
description = "firmware for tiny kite-borne sensor node"
authors = [
    "Nathan Perry <np@npry.dev>"
]
license = "MIT"
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]
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" }

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" }

[patch]
"https://pub.npry.dev/molybdos".molybdos = { path = "../molybdos" }
"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