mirror of
https://github.com/RustySamovar/RustySamovar.git
synced 2024-11-22 02:45:34 +00:00
Bump sea-orm version and enable logging
This commit is contained in:
parent
1ad54e0a49
commit
06c10924d9
@ -25,11 +25,13 @@ pretty_env_logger = "0.4"
|
|||||||
num-traits = "0.2"
|
num-traits = "0.2"
|
||||||
num-derive = "0.3"
|
num-derive = "0.3"
|
||||||
pretty-hex = "0.2"
|
pretty-hex = "0.2"
|
||||||
sea-orm = { version = "0.7", features = [ "sqlx-all", "runtime-async-std-native-tls" ] }
|
sea-orm = { version = "0.7", features = [ "sqlx-all", "runtime-async-std-native-tls", "debug-print" ] }
|
||||||
hostname = "0.3"
|
hostname = "0.3"
|
||||||
#local-ip-address = "0.4"
|
#local-ip-address = "0.4"
|
||||||
chrono = "0.4"
|
chrono = "0.4"
|
||||||
rand = "0.8"
|
rand = "0.8"
|
||||||
|
tracing = "0.1"
|
||||||
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
||||||
|
|
||||||
[target.'cfg(windows)'.dependencies]
|
[target.'cfg(windows)'.dependencies]
|
||||||
openssl = { version = "0.10", features = ["vendored"] }
|
openssl = { version = "0.10", features = ["vendored"] }
|
||||||
|
0
src/jsonmanager/material.rs
Normal file
0
src/jsonmanager/material.rs
Normal file
@ -1,5 +1,7 @@
|
|||||||
extern crate pretty_env_logger;
|
extern crate pretty_env_logger;
|
||||||
|
|
||||||
|
extern crate tracing_subscriber;
|
||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate num_derive;
|
extern crate num_derive;
|
||||||
|
|
||||||
@ -21,7 +23,12 @@ use luamanager::LuaManager;
|
|||||||
use subsystems::EntitySubsystem;
|
use subsystems::EntitySubsystem;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
pretty_env_logger::init();
|
//pretty_env_logger::init();
|
||||||
|
|
||||||
|
tracing_subscriber::fmt()
|
||||||
|
.with_max_level(tracing::Level::DEBUG)
|
||||||
|
.with_test_writer()
|
||||||
|
.init();
|
||||||
|
|
||||||
thread::spawn(|| {
|
thread::spawn(|| {
|
||||||
//let mut ds = DispatchServer::new("127.0.0.1", 9696);
|
//let mut ds = DispatchServer::new("127.0.0.1", 9696);
|
||||||
|
Loading…
Reference in New Issue
Block a user