Initial commit: Fabrilis docs, rules and deterministic core
Docs (architecture, decisions, coupling, determinism, UI, references), code rules enforced by tools/limits, deterministic core with units, time, math, sched, snapshot, vec and rng, plus smoke tests. ref/ stays out of git.
This commit is contained in:
commit
878d144b77
221 changed files with 5316 additions and 0 deletions
20
crates/bridge/Cargo.toml
Normal file
20
crates/bridge/Cargo.toml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
[package]
|
||||
name = "fabrilis-bridge"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
authors.workspace = true
|
||||
publish = false
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[dependencies]
|
||||
fabrilis-core = { path = "../core" }
|
||||
fabrilis-soc = { path = "../soc" }
|
||||
fabrilis-analog = { path = "../analog" }
|
||||
fabrilis-actuators = { path = "../actuators" }
|
||||
fabrilis-physics = { path = "../physics" }
|
||||
|
||||
[build-dependencies]
|
||||
fabrilis-limits = { path = "../../tools/limits" }
|
||||
5
crates/bridge/build.rs
Normal file
5
crates/bridge/build.rs
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
//! Enforces the repository rules at build time (see tools/limits).
|
||||
|
||||
fn main() {
|
||||
fabrilis_limits::enforce_crate();
|
||||
}
|
||||
3
crates/bridge/src/lib.rs
Normal file
3
crates/bridge/src/lib.rs
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
//! Bridge: SoC pins <-> circuit nodes <-> actuators <-> physics, sync points
|
||||
pub mod pins;
|
||||
pub mod sync;
|
||||
1
crates/bridge/src/pins/mod.rs
Normal file
1
crates/bridge/src/pins/mod.rs
Normal file
|
|
@ -0,0 +1 @@
|
|||
//! fabrilis-bridge :: pins - stub (see docs/ARCHITECTURE.md)
|
||||
1
crates/bridge/src/sync/mod.rs
Normal file
1
crates/bridge/src/sync/mod.rs
Normal file
|
|
@ -0,0 +1 @@
|
|||
//! fabrilis-bridge :: sync - stub (see docs/ARCHITECTURE.md)
|
||||
Loading…
Add table
Add a link
Reference in a new issue