aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml34
1 files changed, 25 insertions, 9 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 35a20f3..fd542ea 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,18 +1,17 @@
[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"]
+version.workspace = true
+edition.workspace = true
+authors.workspace = true
+license.workspace = true
+homepage.workspace = true
+repository.workspace = true
[workspace]
members = [
+ "common",
"host"
]
@@ -20,19 +19,35 @@ exclude = [
"pio_i2s"
]
+[workspace.package]
+version = "0.1.0-alpha0"
+edition = "2021"
+authors = [
+ "Nathan Perry <np@npry.dev>"
+]
+license = "MIT"
+homepage = "https://blog.npry.dev/resenv/ocularium"
+repository = "https://pub.npry.dev/ocularium"
+
+[workspace.dependencies]
+serde = { version = "1.0", default-features = false }
+
[features]
disable_sd = []
+disable_i2s = []
[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" }
-serde = { version = "1.0", default-features = false }
+serde = { workspace = true, default-features = false, features = ["derive", "alloc"] }
embassy-executor = { git = "https://github.com/embassy-rs/embassy", features = ["executor-interrupt", "executor-thread", "arch-cortex-m", "nightly"] }
cortex-m-rt = { version = "0.7", default-features = false }
+ocularium_common = { path = "common" }
+
pio = "0.2"
[dependencies.molybdos]
@@ -46,6 +61,7 @@ features = [
"postcard",
"serde",
"chrono",
+ "alloc",
"impl_alloc",
]