Skip to content

Commit 4cbb9d1

Browse files
committed
Added lib and Cargo.toml for canyon_entities
1 parent d81c9e4 commit 4cbb9d1

2 files changed

Lines changed: 28 additions & 0 deletions

File tree

canyon_entities/Cargo.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[package]
2+
name = "canyon_entities"
3+
version.workspace = true
4+
edition.workspace = true
5+
authors.workspace = true
6+
documentation.workspace = true
7+
homepage.workspace = true
8+
readme.workspace = true
9+
license.workspace = true
10+
description.workspace = true
11+
12+
[dependencies]
13+
regex = { workspace = true }
14+
partialdebug = { workspace = true }
15+
quote = { workspace = true }
16+
proc-macro2 = { workspace = true }
17+
syn = { version = "1.0.86", features = ["full", "parsing"] } # TODO Pending to refactor and upgrade

canyon_entities/src/lib.rs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
use crate::register_types::CanyonRegisterEntity;
2+
use std::sync::Mutex;
3+
4+
pub mod entity;
5+
pub mod entity_fields;
6+
pub mod field_annotation;
7+
pub mod manager_builder;
8+
pub mod register_types;
9+
10+
pub static CANYON_REGISTER_ENTITIES: Mutex<Vec<CanyonRegisterEntity<'static>>> =
11+
Mutex::new(Vec::new());

0 commit comments

Comments
 (0)