feat(pen-codegen): skeleton crate (bucket A)
This commit is contained in:
parent
aabd681444
commit
d2554eaa4e
14
crates/pen-codegen/Cargo.toml
Normal file
14
crates/pen-codegen/Cargo.toml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
[package]
|
||||
name = "pen-codegen"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
license.workspace = true
|
||||
description = "OpenPencil codegen (.op → React/Vue/Svelte/...) — bucket A in-WASM"
|
||||
|
||||
[lib]
|
||||
name = "pen_codegen"
|
||||
path = "src/lib.rs"
|
||||
|
||||
[dependencies]
|
||||
pen-types = { path = "../pen-types" }
|
||||
5
crates/pen-codegen/src/lib.rs
Normal file
5
crates/pen-codegen/src/lib.rs
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
//! OpenPencil codegen.
|
||||
|
||||
pub fn placeholder() -> String {
|
||||
format!("pen-codegen ({})", pen_types::placeholder())
|
||||
}
|
||||
Loading…
Reference in a new issue