2021-07-10 08:27:20 +00:00
|
|
|
[package]
|
2021-11-19 06:38:11 +00:00
|
|
|
name = "lib-infra"
|
2021-07-10 08:27:20 +00:00
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2021-07-13 09:19:39 +00:00
|
|
|
log = "0.4.14"
|
2021-08-20 14:00:03 +00:00
|
|
|
chrono = "0.4.19"
|
2021-08-31 15:01:46 +00:00
|
|
|
bytes = { version = "1.0" }
|
2021-10-03 06:05:15 +00:00
|
|
|
pin-project = "1.0"
|
2022-02-08 13:22:11 +00:00
|
|
|
futures-core = { version = "0.3" }
|
2021-10-17 14:44:51 +00:00
|
|
|
tokio = { version = "1.0", features = ["time", "rt"] }
|
2022-04-28 13:16:28 +00:00
|
|
|
rand = "0.8.5"
|
2022-02-09 05:08:49 +00:00
|
|
|
serde = { version = "1.0", features = ["derive"]}
|
|
|
|
serde_json = "1.0"
|
2021-12-12 08:02:58 +00:00
|
|
|
|
2022-05-17 08:57:37 +00:00
|
|
|
|
2022-02-08 06:36:59 +00:00
|
|
|
cmd_lib = { version = "1", optional = true }
|
|
|
|
protoc-rust = { version = "2", optional = true }
|
|
|
|
walkdir = { version = "2", optional = true }
|
|
|
|
|
2022-02-09 01:57:03 +00:00
|
|
|
flowy-ast = { path = "../flowy-ast", optional = true}
|
|
|
|
similar = { version = "1.2.2", optional = true }
|
|
|
|
syn = { version = "1.0.60", features = ["extra-traits", "parsing", "derive", "full"], optional = true }
|
2022-04-28 13:16:28 +00:00
|
|
|
fancy-regex = { version = "0.10.0", optional = true }
|
2022-02-09 01:57:03 +00:00
|
|
|
lazy_static = { version = "1.4.0", optional = true }
|
|
|
|
tera = { version = "1.5.0", optional = true}
|
2022-02-09 11:17:15 +00:00
|
|
|
itertools = { version = "0.10", optional = true }
|
2022-02-09 01:57:03 +00:00
|
|
|
phf = { version = "0.8.0", features = ["macros"], optional = true }
|
|
|
|
console = {version = "0.14.0", optional = true}
|
2022-02-13 04:04:34 +00:00
|
|
|
protoc-bin-vendored = { version = "3.0", optional = true }
|
2022-02-09 01:57:03 +00:00
|
|
|
toml = {version = "0.5.8", optional = true}
|
|
|
|
|
2022-02-08 06:36:59 +00:00
|
|
|
[features]
|
2022-02-09 01:57:03 +00:00
|
|
|
proto_gen = [
|
|
|
|
"flowy-ast",
|
|
|
|
"similar",
|
|
|
|
"syn",
|
|
|
|
"fancy-regex",
|
|
|
|
"lazy_static",
|
|
|
|
"tera",
|
|
|
|
"itertools",
|
|
|
|
"phf",
|
|
|
|
"walkdir",
|
|
|
|
"console",
|
2022-11-08 13:13:28 +00:00
|
|
|
"toml",
|
|
|
|
"cmd_lib",
|
|
|
|
"protoc-rust",
|
|
|
|
"walkdir",
|
|
|
|
"protoc-bin-vendored",
|
2022-02-09 01:57:03 +00:00
|
|
|
]
|
2022-02-15 13:27:00 +00:00
|
|
|
dart_event = ["walkdir", "flowy-ast", "tera", "syn"]
|
2022-02-16 02:00:31 +00:00
|
|
|
dart = ["proto_gen", "dart_event"]
|