feat(notgraph): scaffold crate with lib+bin targets
This commit is contained in:
@@ -8,6 +8,7 @@ members = [
|
|||||||
"crates/notsecrets",
|
"crates/notsecrets",
|
||||||
"crates/nothooks",
|
"crates/nothooks",
|
||||||
"crates/notstrap",
|
"crates/notstrap",
|
||||||
|
"crates/notgraph",
|
||||||
"tests/integration",
|
"tests/integration",
|
||||||
]
|
]
|
||||||
resolver = "2"
|
resolver = "2"
|
||||||
|
|||||||
22
crates/notgraph/Cargo.toml
Normal file
22
crates/notgraph/Cargo.toml
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
[package]
|
||||||
|
name = "notgraph"
|
||||||
|
version = "0.1.0"
|
||||||
|
edition = "2024"
|
||||||
|
license.workspace = true
|
||||||
|
|
||||||
|
[lib]
|
||||||
|
name = "notgraph_lib"
|
||||||
|
path = "src/lib.rs"
|
||||||
|
|
||||||
|
[[bin]]
|
||||||
|
name = "notgraph"
|
||||||
|
path = "src/main.rs"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
anyhow = { workspace = true }
|
||||||
|
clap = { workspace = true }
|
||||||
|
serde = { workspace = true }
|
||||||
|
serde_json = "1"
|
||||||
|
cargo_metadata = "0.18"
|
||||||
|
syn = { version = "2", features = ["full", "visit"] }
|
||||||
|
walkdir = "2"
|
||||||
1
crates/notgraph/src/lib.rs
Normal file
1
crates/notgraph/src/lib.rs
Normal file
@@ -0,0 +1 @@
|
|||||||
|
pub mod types;
|
||||||
3
crates/notgraph/src/main.rs
Normal file
3
crates/notgraph/src/main.rs
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
fn main() {
|
||||||
|
println!("notgraph");
|
||||||
|
}
|
||||||
1
crates/notgraph/src/types.rs
Normal file
1
crates/notgraph/src/types.rs
Normal file
@@ -0,0 +1 @@
|
|||||||
|
// types defined in Task 2
|
||||||
Reference in New Issue
Block a user