Move graph to separate crate
This commit is contained in:
parent
29838e2113
commit
bd2cdba5bc
8
Cargo.lock
generated
8
Cargo.lock
generated
@ -767,6 +767,13 @@ dependencies = [
|
||||
"wasi 0.11.0+wasi-snapshot-preview1",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "graph"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"petgraph",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "h2"
|
||||
version = "0.3.14"
|
||||
@ -2588,7 +2595,6 @@ dependencies = [
|
||||
"notify-debouncer-mini",
|
||||
"once_cell",
|
||||
"openssl",
|
||||
"petgraph",
|
||||
"pulldown-cmark",
|
||||
"regex",
|
||||
"reqwest",
|
||||
|
@ -1,3 +1,4 @@
|
||||
workspace = { members = ["crates/graph"] }
|
||||
[package]
|
||||
name = "v6"
|
||||
version = "0.1.0"
|
||||
@ -66,8 +67,7 @@ tree-sitter-objc = { version = "1.0.0", git = "https://git.shadowfacts.net/shado
|
||||
tree-sitter-rust = "0.20"
|
||||
unicode-normalization = "0.1.19"
|
||||
url = "2.2"
|
||||
uuid = { version = "1.1", features = ["v4" ] }
|
||||
petgraph = "0.6.5"
|
||||
uuid = { version = "1.1", features = ["v4"] }
|
||||
|
||||
[target.'cfg(target_os = "ios")'.dependencies]
|
||||
openssl = { version = "0.10", features = ["vendored"] }
|
||||
|
9
crates/graph/Cargo.toml
Normal file
9
crates/graph/Cargo.toml
Normal file
@ -0,0 +1,9 @@
|
||||
[package]
|
||||
name = "graph"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
petgraph = "0.6.5"
|
@ -2,7 +2,6 @@
|
||||
|
||||
mod activitypub;
|
||||
mod generator;
|
||||
mod graph;
|
||||
|
||||
use crate::generator::{HtmlContent, Post};
|
||||
use axum::{
|
||||
|
Loading…
x
Reference in New Issue
Block a user