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",
|
"wasi 0.11.0+wasi-snapshot-preview1",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "graph"
|
||||||
|
version = "0.1.0"
|
||||||
|
dependencies = [
|
||||||
|
"petgraph",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "h2"
|
name = "h2"
|
||||||
version = "0.3.14"
|
version = "0.3.14"
|
||||||
@ -2588,7 +2595,6 @@ dependencies = [
|
|||||||
"notify-debouncer-mini",
|
"notify-debouncer-mini",
|
||||||
"once_cell",
|
"once_cell",
|
||||||
"openssl",
|
"openssl",
|
||||||
"petgraph",
|
|
||||||
"pulldown-cmark",
|
"pulldown-cmark",
|
||||||
"regex",
|
"regex",
|
||||||
"reqwest",
|
"reqwest",
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
workspace = { members = ["crates/graph"] }
|
||||||
[package]
|
[package]
|
||||||
name = "v6"
|
name = "v6"
|
||||||
version = "0.1.0"
|
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"
|
tree-sitter-rust = "0.20"
|
||||||
unicode-normalization = "0.1.19"
|
unicode-normalization = "0.1.19"
|
||||||
url = "2.2"
|
url = "2.2"
|
||||||
uuid = { version = "1.1", features = ["v4" ] }
|
uuid = { version = "1.1", features = ["v4"] }
|
||||||
petgraph = "0.6.5"
|
|
||||||
|
|
||||||
[target.'cfg(target_os = "ios")'.dependencies]
|
[target.'cfg(target_os = "ios")'.dependencies]
|
||||||
openssl = { version = "0.10", features = ["vendored"] }
|
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 activitypub;
|
||||||
mod generator;
|
mod generator;
|
||||||
mod graph;
|
|
||||||
|
|
||||||
use crate::generator::{HtmlContent, Post};
|
use crate::generator::{HtmlContent, Post};
|
||||||
use axum::{
|
use axum::{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user