Skip to content

Commit

Permalink
chore: create basic rust crate structure for tnf
Browse files Browse the repository at this point in the history
Co-Authored-By: wqoy gqle <[email protected]>
  • Loading branch information
devin-ai-integration[bot] and wqoy gqle committed Dec 27, 2024
1 parent 893cb71 commit 72794f7
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 0 deletions.
6 changes: 6 additions & 0 deletions crates/tnf/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[package]
name = "tnf"
version = "0.1.0"
edition = "2021"

[dependencies]
7 changes: 7 additions & 0 deletions crates/tnf/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
pub fn build() {
// TODO: implement heavy-lifting logic
}

pub fn update() {
// TODO: implement file change updates
}
7 changes: 7 additions & 0 deletions crates/tnf_binding/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[package]
name = "tnf_binding"
version = "0.1.0"
edition = "2021"

[dependencies]
tnf = { path = "../tnf" }
7 changes: 7 additions & 0 deletions crates/tnf_binding/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
pub fn build() {
// TODO: integrate with the tnf crate
}

pub fn update() {
// TODO: integrate with the tnf crate
}
5 changes: 5 additions & 0 deletions packages/tnf-binding/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "@umijs/tnf-binding",
"version": "0.0.1",
"main": "dist/index.js"
}

0 comments on commit 72794f7

Please sign in to comment.