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
79928b645b
222 changed files with 5335 additions and 0 deletions
16
crates/materials/Cargo.toml
Normal file
16
crates/materials/Cargo.toml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
[package]
|
||||
name = "fabrilis-materials"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
authors.workspace = true
|
||||
publish = false
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[dependencies]
|
||||
fabrilis-core = { path = "../core" }
|
||||
|
||||
[build-dependencies]
|
||||
fabrilis-limits = { path = "../../tools/limits" }
|
||||
5
crates/materials/build.rs
Normal file
5
crates/materials/build.rs
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
//! Enforces the repository rules at build time (see tools/limits).
|
||||
|
||||
fn main() {
|
||||
fabrilis_limits::enforce_crate();
|
||||
}
|
||||
1
crates/materials/src/db/mod.rs
Normal file
1
crates/materials/src/db/mod.rs
Normal file
|
|
@ -0,0 +1 @@
|
|||
//! fabrilis-materials :: db - stub (see docs/ARCHITECTURE.md)
|
||||
4
crates/materials/src/lib.rs
Normal file
4
crates/materials/src/lib.rs
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
//! Material database, mass/volume/COM/inertia tensor from a mesh, strength
|
||||
pub mod db;
|
||||
pub mod massprops;
|
||||
pub mod strength;
|
||||
1
crates/materials/src/massprops/mod.rs
Normal file
1
crates/materials/src/massprops/mod.rs
Normal file
|
|
@ -0,0 +1 @@
|
|||
//! fabrilis-materials :: massprops - stub (see docs/ARCHITECTURE.md)
|
||||
1
crates/materials/src/strength/mod.rs
Normal file
1
crates/materials/src/strength/mod.rs
Normal file
|
|
@ -0,0 +1 @@
|
|||
//! fabrilis-materials :: strength - stub (see docs/ARCHITECTURE.md)
|
||||
Loading…
Add table
Add a link
Reference in a new issue