remove shared crate

This commit is contained in:
2025-10-06 00:25:56 -06:00
parent 28417cce69
commit 76c7870a79
7 changed files with 2 additions and 32 deletions

11
Cargo.lock generated
View File

@@ -20,7 +20,6 @@ dependencies = [
"embedded-graphics",
"embedded-sdmmc",
"rand_core 0.9.3",
"shared",
"spin",
"talc",
]
@@ -1469,7 +1468,6 @@ dependencies = [
"panic-probe",
"portable-atomic",
"rand",
"shared",
"spin",
"st7365p-lcd",
"static_cell",
@@ -2208,15 +2206,6 @@ dependencies = [
"keccak",
]
[[package]]
name = "shared"
version = "0.1.0"
dependencies = [
"abi_sys",
"bitflags 2.9.4",
"defmt 0.3.100",
]
[[package]]
name = "siphasher"
version = "1.0.1"

View File

@@ -3,7 +3,6 @@ resolver = "3"
members = [
"kernel",
"abi",
"shared",
"user-apps/calculator",
"user-apps/snake",
"user-apps/gallery",

View File

@@ -11,9 +11,8 @@ Current focus is on **expanding the ABI syscalls** and **fixing the MSC/USB-SCSI
## Project Structure
- **`kernel/`** The core OS kernel (task scheduling, drivers, memory, etc.)
- **`abi_sys/`** Shared application binary interface definitions for kernel ↔ userspace interaction
- **`abi/`** ABI helpers and abstractions for easier development
- **`shared/`** Shared utilities and common code across kernel and user applications
- **`abi_sys/`** Shared application binary interface definitions for kernel ↔ userspace (Repr "C")
- **`abi/`** Rust focused ABI helpers and abstractions for easier development
- **`user-apps/`** Collection of userspace programs (calculator, snake, etc.)
## Features

View File

@@ -6,7 +6,6 @@ edition = "2024"
[dependencies]
embedded-sdmmc = { version = "0.9.0", default-features = false }
embedded-graphics = "0.8.1"
shared = { path = "../shared" }
abi_sys = { path = "../abi_sys" }
talc = "4.4.3"
spin = "0.10.0"

View File

@@ -17,7 +17,6 @@ rp235x = ["embassy-rp/rp235xb"]
trouble = ["dep:bt-hci", "dep:cyw43", "dep:cyw43-pio", "dep:trouble-host"]
defmt = [
"dep:defmt",
"shared/defmt",
"panic-probe/print-defmt",
"embassy-executor/defmt",
"embassy-time/defmt",
@@ -91,5 +90,4 @@ goblin = { version = "0.10.1", default-features = false, features = ["elf32"] }
talc = "4.4.3"
bumpalo = "3.19.0"
shared = { path = "../shared" }
abi_sys = { path = "../abi_sys" }

View File

@@ -1,13 +0,0 @@
[package]
name = "shared"
version = "0.1.0"
edition = "2024"
[features]
default = []
defmt = ["dep:defmt"]
[dependencies]
abi_sys = { path = "../abi_sys" }
bitflags = "2.9.4"
defmt = { version = "0.3", optional = true }

View File

@@ -1 +0,0 @@
#![no_std]