feat(pen-core): skeleton crate (bucket A)
This commit is contained in:
parent
05da632559
commit
fbeb66324c
16
crates/pen-core/Cargo.toml
Normal file
16
crates/pen-core/Cargo.toml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
[package]
|
||||
name = "pen-core"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
license.workspace = true
|
||||
description = "OpenPencil core engine (Action DSL / Signal graph) — bucket A in-WASM"
|
||||
|
||||
[lib]
|
||||
name = "pen_core"
|
||||
path = "src/lib.rs"
|
||||
|
||||
[dependencies]
|
||||
pen-types = { path = "../pen-types" }
|
||||
serde = { workspace = true }
|
||||
thiserror = { workspace = true }
|
||||
15
crates/pen-core/src/lib.rs
Normal file
15
crates/pen-core/src/lib.rs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
//! OpenPencil core engine.
|
||||
|
||||
pub fn placeholder() -> String {
|
||||
format!("pen-core ({})", pen_types::placeholder())
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
|
||||
#[test]
|
||||
fn skeleton_links_types() {
|
||||
assert!(placeholder().contains("pen-types"));
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue