21 lines
325 B
Rust
21 lines
325 B
Rust
|
|
use fully_pub::fully_pub;
|
||
|
|
use serde::Serialize;
|
||
|
|
|
||
|
|
pub mod migrations;
|
||
|
|
pub mod repositories;
|
||
|
|
|
||
|
|
#[derive(Serialize, Debug)]
|
||
|
|
#[fully_pub]
|
||
|
|
enum SourceNode {
|
||
|
|
File(String),
|
||
|
|
Directory(Vec<SourceNodeContainer>)
|
||
|
|
}
|
||
|
|
|
||
|
|
#[derive(Serialize, Debug)]
|
||
|
|
#[fully_pub]
|
||
|
|
struct SourceNodeContainer {
|
||
|
|
name: String,
|
||
|
|
inner: SourceNode
|
||
|
|
}
|
||
|
|
|