@@ -89,9 +89,12 @@ impl Database { | |||||
} | } | ||||
} | } | ||||
pub fn format_row_as_json(row: &Row) -> serde_json::Value { | |||||
pub fn format_row_as_json(row: &Row, table_name: &str) -> serde_json::Value { | |||||
let mut map = serde_json::Map::new(); | let mut map = serde_json::Map::new(); | ||||
// 添加 table_name 字段 | |||||
map.insert("table_name".to_string(), serde_json::Value::String(table_name.to_string())); | |||||
for (i, column) in row.columns().iter().enumerate() { | for (i, column) in row.columns().iter().enumerate() { | ||||
let name = column.name(); | let name = column.name(); | ||||
let value = match column.type_().name() { | let value = match column.type_().name() { | ||||
@@ -76,7 +76,7 @@ async fn main() { | |||||
println!("成功获取 {} 条记录", rows.len()); | println!("成功获取 {} 条记录", rows.len()); | ||||
// 将每行数据转换为JSON并发送到服务器 | // 将每行数据转换为JSON并发送到服务器 | ||||
for row in rows { | for row in rows { | ||||
let json_data = db::format_row_as_json(&row); | |||||
let json_data = db::format_row_as_json(&row, &table.name); | |||||
let msg = serde_json::to_string(&json_data).unwrap(); | let msg = serde_json::to_string(&json_data).unwrap(); | ||||
// 创建TCP连接 | // 创建TCP连接 | ||||
@@ -43,6 +43,12 @@ dependencies = [ | |||||
"libc", | "libc", | ||||
] | ] | ||||
[[package]] | |||||
name = "arrayvec" | |||||
version = "0.7.6" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" | |||||
[[package]] | [[package]] | ||||
name = "async-trait" | name = "async-trait" | ||||
version = "0.1.88" | version = "0.1.88" | ||||
@@ -51,7 +57,7 @@ checksum = "e539d3fca749fcee5236ab05e93a52867dd549cc157c8cb7f99595f3cedffdb5" | |||||
dependencies = [ | dependencies = [ | ||||
"proc-macro2", | "proc-macro2", | ||||
"quote", | "quote", | ||||
"syn", | |||||
"syn 2.0.100", | |||||
] | ] | ||||
[[package]] | [[package]] | ||||
@@ -99,6 +105,18 @@ version = "2.9.0" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
checksum = "5c8214115b7bf84099f1309324e63141d4c5d7cc26862f97a0a857dbefe165bd" | checksum = "5c8214115b7bf84099f1309324e63141d4c5d7cc26862f97a0a857dbefe165bd" | ||||
[[package]] | |||||
name = "bitvec" | |||||
version = "1.0.1" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" | |||||
dependencies = [ | |||||
"funty", | |||||
"radium", | |||||
"tap", | |||||
"wyz", | |||||
] | |||||
[[package]] | [[package]] | ||||
name = "block-buffer" | name = "block-buffer" | ||||
version = "0.10.4" | version = "0.10.4" | ||||
@@ -108,12 +126,57 @@ dependencies = [ | |||||
"generic-array", | "generic-array", | ||||
] | ] | ||||
[[package]] | |||||
name = "borsh" | |||||
version = "1.5.7" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
checksum = "ad8646f98db542e39fc66e68a20b2144f6a732636df7c2354e74645faaa433ce" | |||||
dependencies = [ | |||||
"borsh-derive", | |||||
"cfg_aliases", | |||||
] | |||||
[[package]] | |||||
name = "borsh-derive" | |||||
version = "1.5.7" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
checksum = "fdd1d3c0c2f5833f22386f252fe8ed005c7f59fdcddeef025c01b4c3b9fd9ac3" | |||||
dependencies = [ | |||||
"once_cell", | |||||
"proc-macro-crate", | |||||
"proc-macro2", | |||||
"quote", | |||||
"syn 2.0.100", | |||||
] | |||||
[[package]] | [[package]] | ||||
name = "bumpalo" | name = "bumpalo" | ||||
version = "3.17.0" | version = "3.17.0" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
checksum = "1628fb46dfa0b37568d12e5edd512553eccf6a22a78e8bde00bb4aed84d5bdbf" | checksum = "1628fb46dfa0b37568d12e5edd512553eccf6a22a78e8bde00bb4aed84d5bdbf" | ||||
[[package]] | |||||
name = "bytecheck" | |||||
version = "0.6.12" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
checksum = "23cdc57ce23ac53c931e88a43d06d070a6fd142f2617be5855eb75efc9beb1c2" | |||||
dependencies = [ | |||||
"bytecheck_derive", | |||||
"ptr_meta", | |||||
"simdutf8", | |||||
] | |||||
[[package]] | |||||
name = "bytecheck_derive" | |||||
version = "0.6.12" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
checksum = "3db406d29fbcd95542e92559bed4d8ad92636d1ca8b3b72ede10b4bcc010e659" | |||||
dependencies = [ | |||||
"proc-macro2", | |||||
"quote", | |||||
"syn 1.0.109", | |||||
] | |||||
[[package]] | [[package]] | ||||
name = "byteorder" | name = "byteorder" | ||||
version = "1.5.0" | version = "1.5.0" | ||||
@@ -141,6 +204,12 @@ version = "1.0.0" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" | checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" | ||||
[[package]] | |||||
name = "cfg_aliases" | |||||
version = "0.2.1" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" | |||||
[[package]] | [[package]] | ||||
name = "chrono" | name = "chrono" | ||||
version = "0.4.40" | version = "0.4.40" | ||||
@@ -217,12 +286,24 @@ version = "0.3.0" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
checksum = "0688c2a7f92e427f44895cd63841bff7b29f8d7a1648b9e7e07a4a365b2e1257" | checksum = "0688c2a7f92e427f44895cd63841bff7b29f8d7a1648b9e7e07a4a365b2e1257" | ||||
[[package]] | |||||
name = "equivalent" | |||||
version = "1.0.2" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" | |||||
[[package]] | [[package]] | ||||
name = "fallible-iterator" | name = "fallible-iterator" | ||||
version = "0.2.0" | version = "0.2.0" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" | checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" | ||||
[[package]] | |||||
name = "funty" | |||||
version = "2.0.0" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" | |||||
[[package]] | [[package]] | ||||
name = "futures-channel" | name = "futures-channel" | ||||
version = "0.3.31" | version = "0.3.31" | ||||
@@ -247,7 +328,7 @@ checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" | |||||
dependencies = [ | dependencies = [ | ||||
"proc-macro2", | "proc-macro2", | ||||
"quote", | "quote", | ||||
"syn", | |||||
"syn 2.0.100", | |||||
] | ] | ||||
[[package]] | [[package]] | ||||
@@ -325,6 +406,12 @@ dependencies = [ | |||||
"ahash", | "ahash", | ||||
] | ] | ||||
[[package]] | |||||
name = "hashbrown" | |||||
version = "0.15.2" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289" | |||||
[[package]] | [[package]] | ||||
name = "hmac" | name = "hmac" | ||||
version = "0.12.1" | version = "0.12.1" | ||||
@@ -358,6 +445,16 @@ dependencies = [ | |||||
"cc", | "cc", | ||||
] | ] | ||||
[[package]] | |||||
name = "indexmap" | |||||
version = "2.9.0" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
checksum = "cea70ddb795996207ad57735b50c5982d8844f38ba9ee5f1aedcfb708a2aa11e" | |||||
dependencies = [ | |||||
"equivalent", | |||||
"hashbrown 0.15.2", | |||||
] | |||||
[[package]] | [[package]] | ||||
name = "itoa" | name = "itoa" | ||||
version = "1.0.15" | version = "1.0.15" | ||||
@@ -502,7 +599,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
checksum = "ccd746e37177e1711c20dd619a1620f34f5c8b569c53590a72dedd5344d8924a" | checksum = "ccd746e37177e1711c20dd619a1620f34f5c8b569c53590a72dedd5344d8924a" | ||||
dependencies = [ | dependencies = [ | ||||
"dlv-list", | "dlv-list", | ||||
"hashbrown", | |||||
"hashbrown 0.12.3", | |||||
] | ] | ||||
[[package]] | [[package]] | ||||
@@ -571,7 +668,7 @@ dependencies = [ | |||||
"pest_meta", | "pest_meta", | ||||
"proc-macro2", | "proc-macro2", | ||||
"quote", | "quote", | ||||
"syn", | |||||
"syn 2.0.100", | |||||
] | ] | ||||
[[package]] | [[package]] | ||||
@@ -628,7 +725,7 @@ dependencies = [ | |||||
"hmac", | "hmac", | ||||
"md-5", | "md-5", | ||||
"memchr", | "memchr", | ||||
"rand", | |||||
"rand 0.9.1", | |||||
"sha2", | "sha2", | ||||
"stringprep", | "stringprep", | ||||
] | ] | ||||
@@ -656,6 +753,15 @@ dependencies = [ | |||||
"zerocopy", | "zerocopy", | ||||
] | ] | ||||
[[package]] | |||||
name = "proc-macro-crate" | |||||
version = "3.3.0" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
checksum = "edce586971a4dfaa28950c6f18ed55e0406c1ab88bbce2c6f6293a7aaba73d35" | |||||
dependencies = [ | |||||
"toml_edit", | |||||
] | |||||
[[package]] | [[package]] | ||||
name = "proc-macro2" | name = "proc-macro2" | ||||
version = "1.0.95" | version = "1.0.95" | ||||
@@ -665,6 +771,26 @@ dependencies = [ | |||||
"unicode-ident", | "unicode-ident", | ||||
] | ] | ||||
[[package]] | |||||
name = "ptr_meta" | |||||
version = "0.1.4" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
checksum = "0738ccf7ea06b608c10564b31debd4f5bc5e197fc8bfe088f68ae5ce81e7a4f1" | |||||
dependencies = [ | |||||
"ptr_meta_derive", | |||||
] | |||||
[[package]] | |||||
name = "ptr_meta_derive" | |||||
version = "0.1.4" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
checksum = "16b845dbfca988fa33db069c0e230574d15a3088f147a87b64c7589eb662c9ac" | |||||
dependencies = [ | |||||
"proc-macro2", | |||||
"quote", | |||||
"syn 1.0.109", | |||||
] | |||||
[[package]] | [[package]] | ||||
name = "quote" | name = "quote" | ||||
version = "1.0.40" | version = "1.0.40" | ||||
@@ -680,14 +806,41 @@ version = "5.2.0" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
checksum = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5" | checksum = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5" | ||||
[[package]] | |||||
name = "radium" | |||||
version = "0.7.0" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" | |||||
[[package]] | |||||
name = "rand" | |||||
version = "0.8.5" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" | |||||
dependencies = [ | |||||
"libc", | |||||
"rand_chacha 0.3.1", | |||||
"rand_core 0.6.4", | |||||
] | |||||
[[package]] | [[package]] | ||||
name = "rand" | name = "rand" | ||||
version = "0.9.1" | version = "0.9.1" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
checksum = "9fbfd9d094a40bf3ae768db9361049ace4c0e04a4fd6b359518bd7b73a73dd97" | checksum = "9fbfd9d094a40bf3ae768db9361049ace4c0e04a4fd6b359518bd7b73a73dd97" | ||||
dependencies = [ | dependencies = [ | ||||
"rand_chacha", | |||||
"rand_core", | |||||
"rand_chacha 0.9.0", | |||||
"rand_core 0.9.3", | |||||
] | |||||
[[package]] | |||||
name = "rand_chacha" | |||||
version = "0.3.1" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" | |||||
dependencies = [ | |||||
"ppv-lite86", | |||||
"rand_core 0.6.4", | |||||
] | ] | ||||
[[package]] | [[package]] | ||||
@@ -697,7 +850,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" | checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" | ||||
dependencies = [ | dependencies = [ | ||||
"ppv-lite86", | "ppv-lite86", | ||||
"rand_core", | |||||
"rand_core 0.9.3", | |||||
] | |||||
[[package]] | |||||
name = "rand_core" | |||||
version = "0.6.4" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" | |||||
dependencies = [ | |||||
"getrandom 0.2.15", | |||||
] | ] | ||||
[[package]] | [[package]] | ||||
@@ -718,6 +880,44 @@ dependencies = [ | |||||
"bitflags 2.9.0", | "bitflags 2.9.0", | ||||
] | ] | ||||
[[package]] | |||||
name = "rend" | |||||
version = "0.4.2" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
checksum = "71fe3824f5629716b1589be05dacd749f6aa084c87e00e016714a8cdfccc997c" | |||||
dependencies = [ | |||||
"bytecheck", | |||||
] | |||||
[[package]] | |||||
name = "rkyv" | |||||
version = "0.7.45" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
checksum = "9008cd6385b9e161d8229e1f6549dd23c3d022f132a2ea37ac3a10ac4935779b" | |||||
dependencies = [ | |||||
"bitvec", | |||||
"bytecheck", | |||||
"bytes", | |||||
"hashbrown 0.12.3", | |||||
"ptr_meta", | |||||
"rend", | |||||
"rkyv_derive", | |||||
"seahash", | |||||
"tinyvec", | |||||
"uuid", | |||||
] | |||||
[[package]] | |||||
name = "rkyv_derive" | |||||
version = "0.7.45" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
checksum = "503d1d27590a2b0a3a4ca4c94755aa2875657196ecbf401a42eff41d7de532c0" | |||||
dependencies = [ | |||||
"proc-macro2", | |||||
"quote", | |||||
"syn 1.0.109", | |||||
] | |||||
[[package]] | [[package]] | ||||
name = "ron" | name = "ron" | ||||
version = "0.7.1" | version = "0.7.1" | ||||
@@ -739,6 +939,33 @@ dependencies = [ | |||||
"ordered-multimap", | "ordered-multimap", | ||||
] | ] | ||||
[[package]] | |||||
name = "rust_decimal" | |||||
version = "1.37.1" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
checksum = "faa7de2ba56ac291bd90c6b9bece784a52ae1411f9506544b3eae36dd2356d50" | |||||
dependencies = [ | |||||
"arrayvec", | |||||
"borsh", | |||||
"bytes", | |||||
"num-traits", | |||||
"postgres-types", | |||||
"rand 0.8.5", | |||||
"rkyv", | |||||
"serde", | |||||
"serde_json", | |||||
] | |||||
[[package]] | |||||
name = "rust_decimal_macros" | |||||
version = "1.37.1" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
checksum = "f6268b74858287e1a062271b988a0c534bf85bbeb567fe09331bf40ed78113d5" | |||||
dependencies = [ | |||||
"quote", | |||||
"syn 2.0.100", | |||||
] | |||||
[[package]] | [[package]] | ||||
name = "rustc-demangle" | name = "rustc-demangle" | ||||
version = "0.1.24" | version = "0.1.24" | ||||
@@ -763,6 +990,12 @@ version = "1.2.0" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" | checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" | ||||
[[package]] | |||||
name = "seahash" | |||||
version = "4.1.0" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
checksum = "1c107b6f4780854c8b126e228ea8869f4d7b71260f962fefb57b996b8959ba6b" | |||||
[[package]] | [[package]] | ||||
name = "serde" | name = "serde" | ||||
version = "1.0.219" | version = "1.0.219" | ||||
@@ -780,7 +1013,7 @@ checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00" | |||||
dependencies = [ | dependencies = [ | ||||
"proc-macro2", | "proc-macro2", | ||||
"quote", | "quote", | ||||
"syn", | |||||
"syn 2.0.100", | |||||
] | ] | ||||
[[package]] | [[package]] | ||||
@@ -821,6 +1054,12 @@ dependencies = [ | |||||
"libc", | "libc", | ||||
] | ] | ||||
[[package]] | |||||
name = "simdutf8" | |||||
version = "0.1.5" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
checksum = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e" | |||||
[[package]] | [[package]] | ||||
name = "siphasher" | name = "siphasher" | ||||
version = "1.0.1" | version = "1.0.1" | ||||
@@ -869,6 +1108,17 @@ version = "2.6.1" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" | checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" | ||||
[[package]] | |||||
name = "syn" | |||||
version = "1.0.109" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" | |||||
dependencies = [ | |||||
"proc-macro2", | |||||
"quote", | |||||
"unicode-ident", | |||||
] | |||||
[[package]] | [[package]] | ||||
name = "syn" | name = "syn" | ||||
version = "2.0.100" | version = "2.0.100" | ||||
@@ -880,12 +1130,20 @@ dependencies = [ | |||||
"unicode-ident", | "unicode-ident", | ||||
] | ] | ||||
[[package]] | |||||
name = "tap" | |||||
version = "1.0.1" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" | |||||
[[package]] | [[package]] | ||||
name = "tcp_server" | name = "tcp_server" | ||||
version = "0.1.0" | version = "0.1.0" | ||||
dependencies = [ | dependencies = [ | ||||
"chrono", | "chrono", | ||||
"config", | "config", | ||||
"rust_decimal", | |||||
"rust_decimal_macros", | |||||
"serde", | "serde", | ||||
"serde_json", | "serde_json", | ||||
"tokio", | "tokio", | ||||
@@ -909,7 +1167,7 @@ checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d" | |||||
dependencies = [ | dependencies = [ | ||||
"proc-macro2", | "proc-macro2", | ||||
"quote", | "quote", | ||||
"syn", | |||||
"syn 2.0.100", | |||||
] | ] | ||||
[[package]] | [[package]] | ||||
@@ -953,7 +1211,7 @@ checksum = "6e06d43f1345a3bcd39f6a56dbb7dcab2ba47e68e8ac134855e7e2bdbaf8cab8" | |||||
dependencies = [ | dependencies = [ | ||||
"proc-macro2", | "proc-macro2", | ||||
"quote", | "quote", | ||||
"syn", | |||||
"syn 2.0.100", | |||||
] | ] | ||||
[[package]] | [[package]] | ||||
@@ -975,7 +1233,7 @@ dependencies = [ | |||||
"pin-project-lite", | "pin-project-lite", | ||||
"postgres-protocol", | "postgres-protocol", | ||||
"postgres-types", | "postgres-types", | ||||
"rand", | |||||
"rand 0.9.1", | |||||
"socket2", | "socket2", | ||||
"tokio", | "tokio", | ||||
"tokio-util", | "tokio-util", | ||||
@@ -1004,6 +1262,23 @@ dependencies = [ | |||||
"serde", | "serde", | ||||
] | ] | ||||
[[package]] | |||||
name = "toml_datetime" | |||||
version = "0.6.8" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
checksum = "0dd7358ecb8fc2f8d014bf86f6f638ce72ba252a2c3a2572f2a795f1d23efb41" | |||||
[[package]] | |||||
name = "toml_edit" | |||||
version = "0.22.24" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
checksum = "17b4795ff5edd201c7cd6dca065ae59972ce77d1b80fa0a84d94950ece7d1474" | |||||
dependencies = [ | |||||
"indexmap", | |||||
"toml_datetime", | |||||
"winnow", | |||||
] | |||||
[[package]] | [[package]] | ||||
name = "typenum" | name = "typenum" | ||||
version = "1.18.0" | version = "1.18.0" | ||||
@@ -1043,6 +1318,12 @@ version = "0.1.3" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
checksum = "e70f2a8b45122e719eb623c01822704c4e0907e7e426a05927e1a1cfff5b75d0" | checksum = "e70f2a8b45122e719eb623c01822704c4e0907e7e426a05927e1a1cfff5b75d0" | ||||
[[package]] | |||||
name = "uuid" | |||||
version = "1.16.0" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
checksum = "458f7a779bf54acc9f347480ac654f68407d3aab21269a6e3c9f922acd9e2da9" | |||||
[[package]] | [[package]] | ||||
name = "version_check" | name = "version_check" | ||||
version = "0.9.5" | version = "0.9.5" | ||||
@@ -1092,7 +1373,7 @@ dependencies = [ | |||||
"log", | "log", | ||||
"proc-macro2", | "proc-macro2", | ||||
"quote", | "quote", | ||||
"syn", | |||||
"syn 2.0.100", | |||||
"wasm-bindgen-shared", | "wasm-bindgen-shared", | ||||
] | ] | ||||
@@ -1114,7 +1395,7 @@ checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de" | |||||
dependencies = [ | dependencies = [ | ||||
"proc-macro2", | "proc-macro2", | ||||
"quote", | "quote", | ||||
"syn", | |||||
"syn 2.0.100", | |||||
"wasm-bindgen-backend", | "wasm-bindgen-backend", | ||||
"wasm-bindgen-shared", | "wasm-bindgen-shared", | ||||
] | ] | ||||
@@ -1170,7 +1451,7 @@ checksum = "a47fddd13af08290e67f4acabf4b459f647552718f683a7b415d290ac744a836" | |||||
dependencies = [ | dependencies = [ | ||||
"proc-macro2", | "proc-macro2", | ||||
"quote", | "quote", | ||||
"syn", | |||||
"syn 2.0.100", | |||||
] | ] | ||||
[[package]] | [[package]] | ||||
@@ -1181,7 +1462,7 @@ checksum = "bd9211b69f8dcdfa817bfd14bf1c97c9188afa36f4750130fcdf3f400eca9fa8" | |||||
dependencies = [ | dependencies = [ | ||||
"proc-macro2", | "proc-macro2", | ||||
"quote", | "quote", | ||||
"syn", | |||||
"syn 2.0.100", | |||||
] | ] | ||||
[[package]] | [[package]] | ||||
@@ -1281,6 +1562,15 @@ version = "0.52.6" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" | checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" | ||||
[[package]] | |||||
name = "winnow" | |||||
version = "0.7.6" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
checksum = "63d3fcd9bba44b03821e7d699eeee959f3126dcc4aa8e4ae18ec617c2a5cea10" | |||||
dependencies = [ | |||||
"memchr", | |||||
] | |||||
[[package]] | [[package]] | ||||
name = "wit-bindgen-rt" | name = "wit-bindgen-rt" | ||||
version = "0.39.0" | version = "0.39.0" | ||||
@@ -1290,6 +1580,15 @@ dependencies = [ | |||||
"bitflags 2.9.0", | "bitflags 2.9.0", | ||||
] | ] | ||||
[[package]] | |||||
name = "wyz" | |||||
version = "0.5.1" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed" | |||||
dependencies = [ | |||||
"tap", | |||||
] | |||||
[[package]] | [[package]] | ||||
name = "yaml-rust" | name = "yaml-rust" | ||||
version = "0.4.5" | version = "0.4.5" | ||||
@@ -1316,5 +1615,5 @@ checksum = "a996a8f63c5c4448cd959ac1bab0aaa3306ccfd060472f85943ee0750f0169be" | |||||
dependencies = [ | dependencies = [ | ||||
"proc-macro2", | "proc-macro2", | ||||
"quote", | "quote", | ||||
"syn", | |||||
"syn 2.0.100", | |||||
] | ] |
@@ -10,3 +10,5 @@ tokio-postgres = { version = "0.7", features = ["with-serde_json-1", "with-chron | |||||
serde = { version = "1.0", features = ["derive"] } | serde = { version = "1.0", features = ["derive"] } | ||||
serde_json = "1.0" | serde_json = "1.0" | ||||
chrono = { version = "0.4", features = ["serde"] } | chrono = { version = "0.4", features = ["serde"] } | ||||
rust_decimal = { version = "1.32", features = ["serde-float", "db-postgres"] } | |||||
rust_decimal_macros = "1.32" |
@@ -5,6 +5,6 @@ port = 9090 | |||||
[database] | [database] | ||||
host = "10.180.4.100" | host = "10.180.4.100" | ||||
port = 5432 | port = 5432 | ||||
name = "postgres" | |||||
name = "Auseft_RL_WEB_3" | |||||
user = "postgres" | user = "postgres" | ||||
password = "Auseft@2025qwer" | password = "Auseft@2025qwer" |
@@ -4,8 +4,9 @@ use config::Config; | |||||
use tokio_postgres::{NoTls, Error as PgError}; | use tokio_postgres::{NoTls, Error as PgError}; | ||||
use serde::{Deserialize, Serialize}; | use serde::{Deserialize, Serialize}; | ||||
use std::sync::Arc; | use std::sync::Arc; | ||||
use chrono::{DateTime, Utc}; | |||||
use chrono::{DateTime, Utc, NaiveDateTime}; | |||||
use std::error::Error; | use std::error::Error; | ||||
use rust_decimal::Decimal; | |||||
#[derive(Debug, Serialize, Deserialize)] | #[derive(Debug, Serialize, Deserialize)] | ||||
struct InstrumentInfo { | struct InstrumentInfo { | ||||
@@ -34,41 +35,45 @@ struct RecordInfo { | |||||
r#type: Option<String>, | r#type: Option<String>, | ||||
hy_check: Option<i16>, | hy_check: Option<i16>, | ||||
hy_approve: Option<i16>, | hy_approve: Option<i16>, | ||||
check_time: Option<DateTime<Utc>>, | |||||
approve_time: Option<DateTime<Utc>>, | |||||
#[serde(default)] | |||||
check_time: Option<NaiveDateTime>, | |||||
#[serde(default)] | |||||
approve_time: Option<NaiveDateTime>, | |||||
approve_user: Option<String>, | approve_user: Option<String>, | ||||
check_user: Option<String>, | check_user: Option<String>, | ||||
hy_time: Option<DateTime<Utc>>, | |||||
#[serde(default)] | |||||
hy_time: Option<NaiveDateTime>, | |||||
hy_values: Option<String>, | hy_values: Option<String>, | ||||
accept_time: Option<DateTime<Utc>>, | |||||
#[serde(default)] | |||||
accept_time: Option<NaiveDateTime>, | |||||
accept_user: Option<String>, | accept_user: Option<String>, | ||||
mt: Option<f64>, | |||||
mad: Option<f64>, | |||||
aad: Option<f64>, | |||||
ad: Option<f64>, | |||||
vad: Option<f64>, | |||||
vd: Option<f64>, | |||||
var: Option<f64>, | |||||
vdaf: Option<f64>, | |||||
fcad: Option<f64>, | |||||
st_ar: Option<f64>, | |||||
st_ad: Option<f64>, | |||||
st_d: Option<f64>, | |||||
had: Option<f64>, | |||||
hd: Option<f64>, | |||||
qb_ad: Option<f64>, | |||||
qgr_ad: Option<f64>, | |||||
qgr_d: Option<f64>, | |||||
qnet_ar_mj_kg: Option<f64>, | |||||
qnet_ar_j_cal: Option<f64>, | |||||
v: Option<f64>, | |||||
aar: Option<f64>, | |||||
qnet_ar: Option<f64>, | |||||
qnet_ar1: Option<f64>, | |||||
crc: Option<f64>, | |||||
st_daf: Option<f64>, | |||||
cad: Option<f64>, | |||||
cd: Option<f64>, | |||||
mt: Option<Decimal>, | |||||
mad: Option<Decimal>, | |||||
aad: Option<Decimal>, | |||||
ad: Option<Decimal>, | |||||
vad: Option<Decimal>, | |||||
vd: Option<Decimal>, | |||||
var: Option<Decimal>, | |||||
vdaf: Option<Decimal>, | |||||
fcad: Option<Decimal>, | |||||
st_ar: Option<Decimal>, | |||||
st_ad: Option<Decimal>, | |||||
st_d: Option<Decimal>, | |||||
had: Option<Decimal>, | |||||
hd: Option<Decimal>, | |||||
qb_ad: Option<Decimal>, | |||||
qgr_ad: Option<Decimal>, | |||||
qgr_d: Option<Decimal>, | |||||
qnet_ar_mj_kg: Option<Decimal>, | |||||
qnet_ar_j_cal: Option<Decimal>, | |||||
v: Option<Decimal>, | |||||
aar: Option<Decimal>, | |||||
qnet_ar: Option<Decimal>, | |||||
qnet_ar1: Option<Decimal>, | |||||
crc: Option<Decimal>, | |||||
st_daf: Option<Decimal>, | |||||
cad: Option<Decimal>, | |||||
cd: Option<Decimal>, | |||||
isauto: Option<i16>, | isauto: Option<i16>, | ||||
hy_type: Option<String>, | hy_type: Option<String>, | ||||
isnormal: Option<i32>, | isnormal: Option<i32>, | ||||
@@ -229,36 +234,66 @@ async fn handle_client(socket: &mut TcpStream, client: &tokio_postgres::Client) | |||||
let data = String::from_utf8_lossy(&buf[..n]); | let data = String::from_utf8_lossy(&buf[..n]); | ||||
println!("接收到的数据: {}", data); | println!("接收到的数据: {}", data); | ||||
// 尝试解析为不同的数据类型并处理 | |||||
let result = if let Ok(info) = serde_json::from_str::<InstrumentInfo>(&data) { | |||||
println!("接收到仪器信息: {:?}", info); | |||||
match insert_instrument(client, &info).await { | |||||
Ok(_) => true, | |||||
Err(e) => { | |||||
eprintln!("插入仪器信息失败: {}", e); | |||||
false | |||||
} | |||||
} | |||||
} else if let Ok(info) = serde_json::from_str::<InformationInfo>(&data) { | |||||
println!("接收到分析信息: {:?}", info); | |||||
match insert_information(client, &info).await { | |||||
Ok(_) => true, | |||||
Err(e) => { | |||||
eprintln!("插入分析信息失败: {}", e); | |||||
false | |||||
} | |||||
} | |||||
} else if let Ok(info) = serde_json::from_str::<RecordInfo>(&data) { | |||||
println!("接收到记录信息: {:?}", info); | |||||
match insert_record(client, &info).await { | |||||
Ok(_) => true, | |||||
Err(e) => { | |||||
eprintln!("插入记录信息失败: {}", e); | |||||
false | |||||
// 首先解析为通用JSON以获取table_name | |||||
let result = if let Ok(json) = serde_json::from_str::<serde_json::Value>(&data) { | |||||
if let Some(table_name) = json.get("table_name").and_then(|v| v.as_str()) { | |||||
match table_name { | |||||
"hy_instrument" => { | |||||
if let Ok(info) = serde_json::from_str::<InstrumentInfo>(&data) { | |||||
println!("接收到仪器信息: {:?}", info); | |||||
match insert_instrument(client, &info).await { | |||||
Ok(_) => true, | |||||
Err(e) => { | |||||
eprintln!("插入仪器信息失败: {}", e); | |||||
false | |||||
} | |||||
} | |||||
} else { | |||||
eprintln!("解析仪器信息失败"); | |||||
false | |||||
} | |||||
}, | |||||
"hy_information" => { | |||||
if let Ok(info) = serde_json::from_str::<InformationInfo>(&data) { | |||||
println!("接收到分析信息: {:?}", info); | |||||
match insert_information(client, &info).await { | |||||
Ok(_) => true, | |||||
Err(e) => { | |||||
eprintln!("插入分析信息失败: {}", e); | |||||
false | |||||
} | |||||
} | |||||
} else { | |||||
eprintln!("解析分析信息失败"); | |||||
false | |||||
} | |||||
}, | |||||
"hy_record" => { | |||||
if let Ok(info) = serde_json::from_str::<RecordInfo>(&data) { | |||||
println!("接收到记录信息: {:?}", info); | |||||
match insert_record(client, &info).await { | |||||
Ok(_) => true, | |||||
Err(e) => { | |||||
eprintln!("插入记录信息失败: {}", e); | |||||
false | |||||
} | |||||
} | |||||
} else { | |||||
eprintln!("解析记录信息失败"); | |||||
false | |||||
} | |||||
}, | |||||
_ => { | |||||
eprintln!("未知的表名: {}", table_name); | |||||
false | |||||
} | |||||
} | } | ||||
} else { | |||||
eprintln!("JSON数据中缺少table_name字段"); | |||||
false | |||||
} | } | ||||
} else { | } else { | ||||
println!("无法解析JSON数据为任何已知类型"); | |||||
eprintln!("无法解析为JSON数据"); | |||||
false | false | ||||
}; | }; | ||||
@@ -0,0 +1,417 @@ | |||||
-- 化验系统相关表结构 | |||||
-- Created at 2025-04-20 | |||||
CREATE TABLE "public"."hy_record" ( | |||||
"id" serial4 NOT NULL, | |||||
"hy_code" varchar(255), | |||||
"type" varchar(20), | |||||
"hy_check" smallint DEFAULT 0, | |||||
"hy_approve" smallint DEFAULT 0, | |||||
"check_time" timestamp without time zone, | |||||
"approve_time" timestamp without time zone, | |||||
"approve_user" varchar(50), | |||||
"check_user" varchar(50), | |||||
"hy_time" timestamp without time zone, | |||||
"hy_values" varchar(500), | |||||
"accept_time" timestamp without time zone, | |||||
"accept_user" varchar(50), | |||||
"mt" numeric(18,1), | |||||
"mad" numeric(18,2), | |||||
"aad" numeric(18,2), | |||||
"ad" numeric(18,2), | |||||
"vad" numeric(18,2), | |||||
"vd" numeric(18,2), | |||||
"var" numeric(18,2), | |||||
"vdaf" numeric(18,2), | |||||
"fcad" numeric(18,2), | |||||
"st_ar" numeric(18,2), | |||||
"st_ad" numeric(18,2), | |||||
"st_d" numeric(18,2), | |||||
"had" numeric(18,2), | |||||
"hd" numeric(18,2), | |||||
"qb_ad" numeric(18,3), | |||||
"qgr_ad" numeric(18,3), | |||||
"qgr_d" numeric(18,3), | |||||
"qnet_ar_mj_kg" numeric(18,2), | |||||
"qnet_ar_j_cal" numeric(18,0), | |||||
"v" numeric(18,2), | |||||
"aar" numeric(18,2), | |||||
"qnet_ar" numeric(18,2), | |||||
"qnet_ar1" numeric(18,4), | |||||
"crc" numeric(18,0), | |||||
"st_daf" numeric(18,2), | |||||
"cad" numeric(18,2), | |||||
"cd" numeric(18,2), | |||||
"isauto" smallint, | |||||
"hy_type" varchar(255), | |||||
"isnormal" int4, | |||||
CONSTRAINT "PK_HY_RECORD" PRIMARY KEY ("id") | |||||
); | |||||
CREATE TABLE "public"."hy_instrument" ( | |||||
"id" int4 NOT NULL, | |||||
"laboratoryid" int4, | |||||
"name" varchar(100), | |||||
"instrumentcode" varchar(50), | |||||
"informationid" int4, | |||||
"specification" varchar(50), | |||||
"remark" varchar(50), | |||||
CONSTRAINT "PK_HY_Instrument" PRIMARY KEY ("id") | |||||
); | |||||
-- 分配表 | |||||
CREATE TABLE IF NOT EXISTS "public"."hy_allot" ( | |||||
"id" int4 NOT NULL, | |||||
"userid" int4, | |||||
"username" varchar(50), | |||||
"informationid" int4, | |||||
"allottime" timestamp without time zone, | |||||
"hy_code" varchar(50), | |||||
"hy_type" varchar(50), | |||||
"hy_method" varchar(50), | |||||
"hy_quest" varchar(50), | |||||
CONSTRAINT "PK_HY_Allot" PRIMARY KEY ("id") | |||||
); | |||||
-- 全水样品表 | |||||
CREATE TABLE IF NOT EXISTS "public"."hy_fullwatersample" ( | |||||
"id" int4 NOT NULL, | |||||
"qs_code" varchar(50), | |||||
"qs_tonnage" numeric(18,2), | |||||
"mt" numeric(18,1), | |||||
"remark" varchar(50), | |||||
"onecode" varchar(50), | |||||
"towcode" varchar(50), | |||||
"fx_code" varchar(50), | |||||
"fx_onecode" varchar(50), | |||||
"fx_twocode" varchar(50), | |||||
CONSTRAINT "PK_HY_FullWaterSample" PRIMARY KEY ("id") | |||||
); | |||||
-- 化验信息规范表 | |||||
CREATE TABLE IF NOT EXISTS "public"."hy_informationnorm" ( | |||||
"id" int4 NOT NULL, | |||||
"information_id" int4, | |||||
"hy_id" int4, | |||||
"norm_name" varchar(50), | |||||
"flag" smallint, | |||||
"apparatus_id" int4, | |||||
"need_compute" smallint, | |||||
"formula" varchar(255), | |||||
"secondformula" varchar(255), | |||||
"mapping" varchar(255), | |||||
"input_type" int4, | |||||
"round" int4, | |||||
"sort" int4 | |||||
); | |||||
-- 化验项目明细表 | |||||
CREATE TABLE IF NOT EXISTS "public"."hy_itemdetail" ( | |||||
"id" serial4 NOT NULL, | |||||
"record_id" int4, | |||||
"information_id" int4, | |||||
"laboratory_id" int4, | |||||
"number" int4, | |||||
"cancellation" smallint DEFAULT 0, | |||||
"detectionuser" varchar(50), | |||||
"detectiontime" timestamp without time zone, | |||||
"original_num" varchar(50), | |||||
"hy_check" smallint DEFAULT 0, | |||||
"checkuser" varchar(50), | |||||
"checktime" timestamp without time zone, | |||||
"oversize" smallint DEFAULT 0, | |||||
CONSTRAINT "PK_HY_ITEMDETAIL" PRIMARY KEY ("id") | |||||
); | |||||
-- 实验室仪器表 | |||||
CREATE TABLE IF NOT EXISTS "public"."hy_laboratoryinstrument" ( | |||||
"id" serial4 NOT NULL, | |||||
"norm_id" int4, | |||||
"instrument_id" int4, | |||||
CONSTRAINT "hy_laboratoryinstrument_pkey" PRIMARY KEY ("id") | |||||
); | |||||
-- 物料分析类型表 | |||||
CREATE TABLE IF NOT EXISTS "public"."hy_materialanalysis_type" ( | |||||
"id" int4 NOT NULL, | |||||
"name" varchar(255), | |||||
"flag" smallint, | |||||
"sort" int4, | |||||
"createtime" date, | |||||
"createuser" varchar(255), | |||||
CONSTRAINT "hy_Material_AnalysisType_pkey1" PRIMARY KEY ("id") | |||||
); | |||||
-- 物料明细表 | |||||
CREATE TABLE IF NOT EXISTS "public"."hy_materialdetail" ( | |||||
"id" int4 NOT NULL, | |||||
"name" varchar(255), | |||||
"flag" int4, | |||||
"sort" int4, | |||||
"createtime" date, | |||||
"createuser" varchar(255), | |||||
"analysistypeid" int4, | |||||
"materialid" int4, | |||||
CONSTRAINT "hy_Material_AnalysisType_pkey" PRIMARY KEY ("id") | |||||
); | |||||
-- 化验规范表 | |||||
CREATE TABLE IF NOT EXISTS "public"."hy_norm" ( | |||||
"id" serial4 NOT NULL, | |||||
"norm_id" int4, | |||||
"zbvalues" numeric(12,4), | |||||
"itemdetail_id" int4, | |||||
"hy_user" varchar(50), | |||||
"checktime" timestamp without time zone, | |||||
"explain" varchar(200), | |||||
CONSTRAINT "PK_HY_NORM" PRIMARY KEY ("id") | |||||
); | |||||
-- 样品采集明细表 | |||||
CREATE TABLE IF NOT EXISTS "public"."hy_sample_collection_detail" ( | |||||
"id" serial4 NOT NULL, | |||||
"num" int4 NOT NULL, | |||||
"unit_num" int4 NOT NULL, | |||||
"time" timestamp without time zone, | |||||
"type" int4, | |||||
"sy_method" int4, | |||||
"sy_time" timestamp without time zone, | |||||
"one_num" varchar(11), | |||||
"two_num" varchar(11), | |||||
"three_num" varchar(11), | |||||
"sy_starttime" timestamp without time zone, | |||||
"sy_endtime" timestamp without time zone, | |||||
"cy_startnum" varchar(50), | |||||
"cy_endnum" varchar(50), | |||||
"sy_user" varchar(20), | |||||
"sy_car_count" int4, | |||||
"sy_dun_weight" numeric(18,2), | |||||
"byz_bag_count" smallint, | |||||
"y_liu" smallint, | |||||
"zy_user" varchar(20), | |||||
"one_num_createtime" timestamp without time zone, | |||||
"one_num_user" varchar(20), | |||||
"one_num_review_status" smallint, | |||||
"one_num_review_user" varchar(20), | |||||
"one_num_review_time" timestamp without time zone, | |||||
"two_num_createtime" timestamp without time zone, | |||||
"two_num_user" varchar(20), | |||||
"two_num_review_status" smallint, | |||||
"two_num_review_user" varchar(20), | |||||
"two_num_review_time" timestamp without time zone, | |||||
"three_num_createtime" timestamp without time zone, | |||||
"three_num_user" varchar(20), | |||||
"three_num_review_status" smallint, | |||||
"three_num_review_user" varchar(20), | |||||
"three_num_review_time" timestamp without time zone, | |||||
"hy_createtime" timestamp without time zone, | |||||
"hy_time" timestamp without time zone, | |||||
"hy_user" varchar(20), | |||||
"hy_review_user" varchar(20), | |||||
"hy_review_status" smallint, | |||||
"hy_review_time" timestamp without time zone, | |||||
"record_sort" int4, | |||||
"is_print" smallint, | |||||
"print_msg" smallint, | |||||
"pring_user" varchar(8), | |||||
"hy_approve" smallint, | |||||
"hy_approve_time" timestamp without time zone, | |||||
"hy_approve_user" varchar(20), | |||||
"mt" numeric(18,1), | |||||
"mad_clp" numeric(18,4), | |||||
"mad_my" numeric(18,4), | |||||
"mad_hh" numeric(18,4), | |||||
"mad" numeric(18,2), | |||||
"a_hm" numeric(18,4), | |||||
"a_my" numeric(18,4), | |||||
"a_hh" numeric(18,4), | |||||
"a_hm1" numeric(18,4), | |||||
"a_my1" numeric(18,4), | |||||
"a_hh1" numeric(18,4), | |||||
"aad" numeric(18,2), | |||||
"ad" numeric(18,2), | |||||
"v_gg" numeric(18,4), | |||||
"v_my" numeric(18,4), | |||||
"v_hh" numeric(18,4), | |||||
"vad" numeric(18,2), | |||||
"vdaf" numeric(18,2), | |||||
"var_data" numeric(18,2), | |||||
"vd" numeric(18,2), | |||||
"fcad" numeric(18,2), | |||||
"st_ad" numeric(18,2), | |||||
"st_d" numeric(18,2), | |||||
"st_ar" numeric(18,2), | |||||
"had" numeric(18,2), | |||||
"hd" numeric(18,2), | |||||
"qb_ad" numeric(18,3), | |||||
"qgr_ad" numeric(18,3), | |||||
"qnet_ar" numeric(18,2), | |||||
"qgr_d" numeric(18,2), | |||||
"qnet_ar1" numeric(18,4), | |||||
"byz_bag_user" varchar(50), | |||||
"byz_bag_time" timestamp without time zone, | |||||
"byz_bag_remark" varchar(500), | |||||
"fc" smallint, | |||||
"fc_reason" varchar(500), | |||||
"fc_user" varchar(50), | |||||
"fc_time" timestamp without time zone, | |||||
"xk_time" timestamp without time zone, | |||||
"xk_user" varchar(50), | |||||
"xk_card_num" varchar(50), | |||||
"allow_sync" smallint, | |||||
"sync" smallint, | |||||
"sync_time" timestamp without time zone, | |||||
"mc_unit" int4, | |||||
"mc_review" smallint, | |||||
"msg_produce" smallint, | |||||
"supply_num" int4, | |||||
"v_data" numeric(18,2), | |||||
"cc" smallint, | |||||
"cc_user" varchar(50), | |||||
"cc_time" timestamp without time zone, | |||||
"aar" numeric(18,2), | |||||
"is_delete" smallint, | |||||
"alarm_remark" varchar(500), | |||||
"zs" smallint, | |||||
"zs_detail" smallint, | |||||
"zs_sy_num" int4, | |||||
"kf_qs" smallint, | |||||
"kf_qs_time" timestamp without time zone, | |||||
"kf_qs_reason" varchar(500), | |||||
"qs_time" timestamp without time zone, | |||||
"crc" numeric(18,0), | |||||
"dk_hy" smallint, | |||||
"dk_hy_num" varchar(50), | |||||
"hy_copy" smallint, | |||||
"hy_copy_num" varchar(50), | |||||
"hy_copy_user" varchar(50), | |||||
"hy_copy_time" timestamp without time zone, | |||||
"already_send" smallint, | |||||
"send_time" timestamp without time zone, | |||||
"st_daf" numeric(18,2), | |||||
"st" numeric(18,2), | |||||
"two_num_weight" numeric(12,4), | |||||
CONSTRAINT "PK_收样明细表" PRIMARY KEY ("id") | |||||
); | |||||
-- 样品交付表 | |||||
CREATE TABLE IF NOT EXISTS "public"."hy_sample_delivery" ( | |||||
"id" int4 NOT NULL, | |||||
"sample_number" varchar(255) DEFAULT '样品编号'::character varying, | |||||
"coal_sample" varchar(255), | |||||
"sample_weight" numeric, | |||||
"sampler_user" varchar(255), | |||||
"state" varchar(255), | |||||
"check_weight" numeric, | |||||
"sample_type" varchar(255), | |||||
"time" date, | |||||
"entering_type" varchar(255), | |||||
"sample_delivery_type" varchar(255), | |||||
"granularity" numeric, | |||||
"container_weight" numeric, | |||||
"sample_delivery_time" date, | |||||
"receive_time" date, | |||||
"sample_delivery_user" varchar(255), | |||||
"receive_user" varchar(255), | |||||
"notes" varchar(255), | |||||
"serial_number" int4, | |||||
"type" varchar(255), | |||||
"receive_number" varchar(255), | |||||
"samples_number_t" int4, | |||||
"samples_number_d" int4, | |||||
"coal_sample_d" int4, | |||||
"receive_state" varchar(255), | |||||
"coal_sample_t" int4, | |||||
CONSTRAINT "zy_sample_delivery_pkey" PRIMARY KEY ("id") | |||||
); | |||||
-- 抽查表 | |||||
CREATE TABLE IF NOT EXISTS "public"."hy_spotcheck" ( | |||||
"Id" int4 NOT NULL, | |||||
"Spotcheck_Code" varchar(50), | |||||
"Spotcheck_User" character(10), | |||||
"Spotcheck_Time" timestamp without time zone, | |||||
"Spotcheck_Type" varchar(50), | |||||
"CoalSampleCode" varchar(50), | |||||
"SampleCustodian" varchar(50), | |||||
"SamplingTime" timestamp without time zone, | |||||
"QualityIncoming" numeric(18,1), | |||||
"Granularity" varchar(20), | |||||
"SpotcheckCompare" varchar(50), | |||||
"Mt" numeric(18,1), | |||||
"Mad" numeric(18,2), | |||||
"Aad" numeric(18,2) NOT NULL, | |||||
"Ad" numeric(18,2), | |||||
"Vad" numeric(18,2), | |||||
"Vdaf" numeric(18,2), | |||||
"Var" numeric(18,2), | |||||
"St_ad" numeric(18,2), | |||||
"St_d" numeric(18,2), | |||||
"Qb_ad" numeric(18,3), | |||||
"Had" numeric(18,2), | |||||
"Qnet_ar" numeric(18,2), | |||||
"Qnet_ar1" numeric(18,2), | |||||
"Qgr_d" numeric(18,2), | |||||
"Qgr_ad" numeric(18,3), | |||||
"Vd" numeric(18,2), | |||||
"Aar" numeric(18,2), | |||||
"St_ar" numeric(18,2), | |||||
"Hd" numeric(18,2), | |||||
"FCad" numeric(18,2), | |||||
"CRC" numeric(18,0), | |||||
"St_daf" numeric(18,2), | |||||
CONSTRAINT "PK_HY_Spotcheck" PRIMARY KEY ("Id") | |||||
); | |||||
-- 任务表 | |||||
CREATE TABLE IF NOT EXISTS "public"."hy_task" ( | |||||
"id" int4 NOT NULL, | |||||
"task_name" varchar(255), | |||||
"task_type" varchar(255), | |||||
"task_num" varchar(255), | |||||
"is_auto" boolean, | |||||
"task_time" date, | |||||
"state" int4, | |||||
"create_by" varchar(64), | |||||
"create_time" timestamp without time zone, | |||||
"update_by" varchar(64), | |||||
"update_time" timestamp without time zone, | |||||
CONSTRAINT "hy_task_pkey" PRIMARY KEY ("id") | |||||
); | |||||
-- 温湿度表 | |||||
CREATE TABLE IF NOT EXISTS "public"."hy_warmhumid" ( | |||||
"id" int4 NOT NULL, | |||||
"laboratoryid" int4, | |||||
"temperature" numeric(18,2), | |||||
"humidity" numeric(18,2), | |||||
"begintime" timestamp without time zone, | |||||
"endtime" timestamp without time zone, | |||||
"username" varchar(50), | |||||
CONSTRAINT "PK_HY_warmhumid" PRIMARY KEY ("id") | |||||
); | |||||
-- 重量输入表 | |||||
CREATE TABLE IF NOT EXISTS "public"."hy_weight_input" ( | |||||
"id" int4 NOT NULL, | |||||
"information_id" int4 NOT NULL, | |||||
"information_norm_id" int4 NOT NULL, | |||||
CONSTRAINT "PK__hy_weigh__3213E83F7BF969DE" PRIMARY KEY ("id") | |||||
); | |||||
-- 添加注释 | |||||
COMMENT ON TABLE "public"."hy_allot" IS '化验分配表'; | |||||
COMMENT ON TABLE "public"."hy_fullwatersample" IS '全水样品表'; | |||||
COMMENT ON TABLE "public"."hy_informationnorm" IS '化验信息规范表'; | |||||
COMMENT ON TABLE "public"."hy_itemdetail" IS '化验项目明细表'; | |||||
COMMENT ON TABLE "public"."hy_laboratoryinstrument" IS '实验室仪器表'; | |||||
COMMENT ON TABLE "public"."hy_materialanalysis_type" IS '物料分析类型表'; | |||||
COMMENT ON TABLE "public"."hy_materialdetail" IS '物料明细表'; | |||||
COMMENT ON TABLE "public"."hy_norm" IS '化验规范表'; | |||||
COMMENT ON TABLE "public"."hy_sample_collection_detail" IS '样品采集明细表'; | |||||
COMMENT ON TABLE "public"."hy_sample_delivery" IS '样品交付表'; | |||||
COMMENT ON TABLE "public"."hy_spotcheck" IS '抽查表'; | |||||
COMMENT ON TABLE "public"."hy_task" IS '任务表'; | |||||
COMMENT ON TABLE "public"."hy_warmhumid" IS '温湿度表'; | |||||
COMMENT ON TABLE "public"."hy_weight_input" IS '重量输入表'; |
@@ -1 +1 @@ | |||||
{"rustc_fingerprint":3807311574931242264,"outputs":{"17747080675513052775":{"success":true,"status":"","code":0,"stdout":"rustc 1.85.0 (4d91de4e4 2025-02-17)\nbinary: rustc\ncommit-hash: 4d91de4e48198da2e33413efdcd9cd2cc0c46688\ncommit-date: 2025-02-17\nhost: x86_64-pc-windows-msvc\nrelease: 1.85.0\nLLVM version: 19.1.7\n","stderr":""},"13331785392996375709":{"success":true,"status":"","code":0,"stdout":"___.exe\nlib___.rlib\n___.dll\n___.dll\n___.lib\n___.dll\nC:\\Users\\qq101\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\npacked\n___\ndebug_assertions\npanic=\"unwind\"\nproc_macro\ntarget_abi=\"\"\ntarget_arch=\"x86_64\"\ntarget_endian=\"little\"\ntarget_env=\"msvc\"\ntarget_family=\"windows\"\ntarget_feature=\"cmpxchg16b\"\ntarget_feature=\"fxsr\"\ntarget_feature=\"sse\"\ntarget_feature=\"sse2\"\ntarget_feature=\"sse3\"\ntarget_has_atomic=\"128\"\ntarget_has_atomic=\"16\"\ntarget_has_atomic=\"32\"\ntarget_has_atomic=\"64\"\ntarget_has_atomic=\"8\"\ntarget_has_atomic=\"ptr\"\ntarget_os=\"windows\"\ntarget_pointer_width=\"64\"\ntarget_vendor=\"pc\"\nwindows\n","stderr":""}},"successes":{}} | |||||
{"rustc_fingerprint":3807311574931242264,"outputs":{"13331785392996375709":{"success":true,"status":"","code":0,"stdout":"___.exe\nlib___.rlib\n___.dll\n___.dll\n___.lib\n___.dll\nC:\\Users\\qq101\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\npacked\n___\ndebug_assertions\npanic=\"unwind\"\nproc_macro\ntarget_abi=\"\"\ntarget_arch=\"x86_64\"\ntarget_endian=\"little\"\ntarget_env=\"msvc\"\ntarget_family=\"windows\"\ntarget_feature=\"cmpxchg16b\"\ntarget_feature=\"fxsr\"\ntarget_feature=\"sse\"\ntarget_feature=\"sse2\"\ntarget_feature=\"sse3\"\ntarget_has_atomic=\"128\"\ntarget_has_atomic=\"16\"\ntarget_has_atomic=\"32\"\ntarget_has_atomic=\"64\"\ntarget_has_atomic=\"8\"\ntarget_has_atomic=\"ptr\"\ntarget_os=\"windows\"\ntarget_pointer_width=\"64\"\ntarget_vendor=\"pc\"\nwindows\n","stderr":""},"17747080675513052775":{"success":true,"status":"","code":0,"stdout":"rustc 1.85.0 (4d91de4e4 2025-02-17)\nbinary: rustc\ncommit-hash: 4d91de4e48198da2e33413efdcd9cd2cc0c46688\ncommit-date: 2025-02-17\nhost: x86_64-pc-windows-msvc\nrelease: 1.85.0\nLLVM version: 19.1.7\n","stderr":""}},"successes":{}} |
@@ -1 +0,0 @@ | |||||
This file has an mtime of when this was started. |
@@ -1 +0,0 @@ | |||||
1904add04e852e27 |
@@ -1 +0,0 @@ | |||||
{"rustc":13800692020808712694,"features":"[\"clone-impls\", \"default\", \"derive\", \"full\", \"parsing\", \"printing\", \"proc-macro\"]","declared_features":"[\"clone-impls\", \"default\", \"derive\", \"extra-traits\", \"fold\", \"full\", \"parsing\", \"printing\", \"proc-macro\", \"test\", \"visit\", \"visit-mut\"]","target":9442126953582868550,"profile":2225463790103693989,"path":77942462113924919,"deps":[[1988483478007900009,"unicode_ident",false,170341909937493778],[3060637413840920116,"proc_macro2",false,16755537720115296615],[17990358020177143287,"quote",false,6087577158980769008]],"local":[{"CheckDepInfo":{"dep_info":"debug\\.fingerprint\\syn-a1c19dc1a4736903\\dep-lib-syn","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0} |
@@ -1 +1 @@ | |||||
0c18376461b43be3 | |||||
ca9993560cbc342a |
@@ -1 +1 @@ | |||||
{"rustc":13800692020808712694,"features":"[]","declared_features":"[]","target":8765685456636761285,"profile":8731458305071235362,"path":4942398508502643691,"deps":[[4679662532519462650,"tokio_postgres",false,10165692077103750655],[5138218615291878843,"tokio",false,15265975105261538754],[6547980334806251551,"chrono",false,15080356830784337688],[9689903380558560274,"serde",false,9113250839399411242],[15367738274754116744,"serde_json",false,13898242479202773795],[18150860780478849731,"config",false,16692050494851569320]],"local":[{"CheckDepInfo":{"dep_info":"debug\\.fingerprint\\tcp_server-d434eb7e44cc404e\\dep-bin-tcp_server","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0} | |||||
{"rustc":13800692020808712694,"features":"[]","declared_features":"[]","target":8765685456636761285,"profile":8731458305071235362,"path":4942398508502643691,"deps":[[4679662532519462650,"tokio_postgres",false,7531834590798733563],[5138218615291878843,"tokio",false,15265975105261538754],[6547980334806251551,"chrono",false,18181897001072770200],[7129307162086508934,"rust_decimal_macros",false,12660730066196287496],[9689903380558560274,"serde",false,9113250839399411242],[15367738274754116744,"serde_json",false,13898242479202773795],[16682465660942253309,"rust_decimal",false,8924523735967141173],[18150860780478849731,"config",false,16692050494851569320]],"local":[{"CheckDepInfo":{"dep_info":"debug\\.fingerprint\\tcp_server-d434eb7e44cc404e\\dep-bin-tcp_server","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0} |
@@ -1 +0,0 @@ | |||||
This file has an mtime of when this was started. |
@@ -1 +0,0 @@ | |||||
76ffde951eca86f1 |
@@ -1 +0,0 @@ | |||||
{"rustc":13800692020808712694,"features":"[\"bytes\", \"default\", \"fs\", \"full\", \"io-std\", \"io-util\", \"libc\", \"macros\", \"mio\", \"net\", \"parking_lot\", \"process\", \"rt\", \"rt-multi-thread\", \"signal\", \"signal-hook-registry\", \"socket2\", \"sync\", \"time\", \"tokio-macros\", \"windows-sys\"]","declared_features":"[\"bytes\", \"default\", \"fs\", \"full\", \"io-std\", \"io-util\", \"libc\", \"macros\", \"mio\", \"net\", \"parking_lot\", \"process\", \"rt\", \"rt-multi-thread\", \"signal\", \"signal-hook-registry\", \"socket2\", \"sync\", \"test-util\", \"time\", \"tokio-macros\", \"tracing\", \"windows-sys\"]","target":9605832425414080464,"profile":14976613090486706789,"path":14736967244800954302,"deps":[[1208444357745175282,"mio",false,218289742521576164],[1812404384583366124,"tokio_macros",false,2109290176204819289],[1906322745568073236,"pin_project_lite",false,11031862966497896114],[2062481783838671931,"parking_lot",false,752702392408332930],[6763978947554154845,"windows_sys",false,12105192137914848989],[8431740714262224655,"socket2",false,933751913759045544],[16066129441945555748,"bytes",false,13175939659872797179]],"local":[{"CheckDepInfo":{"dep_info":"debug\\.fingerprint\\tokio-961bc1247c87e921\\dep-lib-tokio","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0} |
@@ -1 +0,0 @@ | |||||
This file has an mtime of when this was started. |
@@ -1 +0,0 @@ | |||||
59cbe8603db4451d |
@@ -1 +0,0 @@ | |||||
{"rustc":13800692020808712694,"features":"[]","declared_features":"[]","target":5059940852446330081,"profile":2225463790103693989,"path":14442257746204304081,"deps":[[3060637413840920116,"proc_macro2",false,16755537720115296615],[8986759836770526006,"syn",false,2823340589962822681],[17990358020177143287,"quote",false,6087577158980769008]],"local":[{"CheckDepInfo":{"dep_info":"debug\\.fingerprint\\tokio-macros-8d0c2bf3c0724488\\dep-lib-tokio_macros","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0} |
@@ -1,10 +0,0 @@ | |||||
; ModuleID = 'autocfg_d39f9e1e994666dd_0.99b03d09eb49bc1c-cgu.0' | |||||
source_filename = "autocfg_d39f9e1e994666dd_0.99b03d09eb49bc1c-cgu.0" | |||||
target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" | |||||
target triple = "x86_64-pc-windows-msvc" | |||||
!llvm.module.flags = !{!0} | |||||
!llvm.ident = !{!1} | |||||
!0 = !{i32 8, !"PIC Level", i32 2} | |||||
!1 = !{!"rustc version 1.85.0 (4d91de4e4 2025-02-17)"} |
@@ -1,53 +0,0 @@ | |||||
C:\A_Code\auseft.Platform.DataSync\tcp_server\target\debug\deps\libsyn-a1c19dc1a4736903.rmeta: C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\lib.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\macros.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\group.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\token.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\attr.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\bigint.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\buffer.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\classify.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\custom_keyword.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\custom_punctuation.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\data.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\derive.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\drops.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\error.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\expr.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\ext.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\file.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\fixup.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\generics.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\ident.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\item.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\lifetime.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\lit.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\lookahead.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\mac.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\meta.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\op.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\parse.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\discouraged.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\parse_macro_input.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\parse_quote.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\pat.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\path.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\precedence.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\print.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\punctuated.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\restriction.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\sealed.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\span.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\spanned.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\stmt.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\thread.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\ty.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\verbatim.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\whitespace.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\export.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\gen\clone.rs | |||||
C:\A_Code\auseft.Platform.DataSync\tcp_server\target\debug\deps\libsyn-a1c19dc1a4736903.rlib: C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\lib.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\macros.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\group.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\token.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\attr.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\bigint.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\buffer.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\classify.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\custom_keyword.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\custom_punctuation.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\data.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\derive.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\drops.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\error.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\expr.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\ext.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\file.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\fixup.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\generics.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\ident.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\item.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\lifetime.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\lit.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\lookahead.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\mac.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\meta.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\op.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\parse.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\discouraged.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\parse_macro_input.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\parse_quote.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\pat.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\path.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\precedence.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\print.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\punctuated.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\restriction.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\sealed.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\span.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\spanned.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\stmt.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\thread.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\ty.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\verbatim.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\whitespace.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\export.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\gen\clone.rs | |||||
C:\A_Code\auseft.Platform.DataSync\tcp_server\target\debug\deps\syn-a1c19dc1a4736903.d: C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\lib.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\macros.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\group.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\token.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\attr.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\bigint.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\buffer.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\classify.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\custom_keyword.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\custom_punctuation.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\data.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\derive.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\drops.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\error.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\expr.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\ext.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\file.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\fixup.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\generics.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\ident.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\item.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\lifetime.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\lit.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\lookahead.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\mac.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\meta.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\op.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\parse.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\discouraged.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\parse_macro_input.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\parse_quote.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\pat.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\path.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\precedence.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\print.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\punctuated.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\restriction.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\sealed.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\span.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\spanned.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\stmt.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\thread.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\ty.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\verbatim.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\whitespace.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\export.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\gen\clone.rs | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\lib.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\macros.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\group.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\token.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\attr.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\bigint.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\buffer.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\classify.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\custom_keyword.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\custom_punctuation.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\data.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\derive.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\drops.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\error.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\expr.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\ext.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\file.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\fixup.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\generics.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\ident.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\item.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\lifetime.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\lit.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\lookahead.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\mac.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\meta.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\op.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\parse.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\discouraged.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\parse_macro_input.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\parse_quote.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\pat.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\path.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\precedence.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\print.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\punctuated.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\restriction.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\sealed.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\span.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\spanned.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\stmt.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\thread.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\ty.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\verbatim.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\whitespace.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\export.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\syn-2.0.100\src\gen\clone.rs: |
@@ -1,7 +0,0 @@ | |||||
C:\A_Code\auseft.Platform.DataSync\tcp_server\target\debug\deps\tokio_macros-8d0c2bf3c0724488.dll: C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\tokio-macros-2.5.0\src\lib.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\tokio-macros-2.5.0\src\entry.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\tokio-macros-2.5.0\src\select.rs | |||||
C:\A_Code\auseft.Platform.DataSync\tcp_server\target\debug\deps\tokio_macros-8d0c2bf3c0724488.d: C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\tokio-macros-2.5.0\src\lib.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\tokio-macros-2.5.0\src\entry.rs C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\tokio-macros-2.5.0\src\select.rs | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\tokio-macros-2.5.0\src\lib.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\tokio-macros-2.5.0\src\entry.rs: | |||||
C:\Users\qq101\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\tokio-macros-2.5.0\src\select.rs: |