2022-12-01 06:56:20 +00:00
|
|
|
[package]
|
|
|
|
name = "flowy-codegen"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2023-03-03 12:38:31 +00:00
|
|
|
log = "0.4.17"
|
2024-01-22 05:34:15 +00:00
|
|
|
serde = { workspace = true, features = ["derive"]}
|
2023-11-12 13:18:27 +00:00
|
|
|
serde_json.workspace = true
|
2023-12-30 23:29:40 +00:00
|
|
|
flowy-ast.workspace = true
|
2022-12-01 08:03:03 +00:00
|
|
|
quote = "1.0"
|
2022-12-01 06:56:20 +00:00
|
|
|
|
2023-02-03 06:13:33 +00:00
|
|
|
cmd_lib = { version = "1.3.0", optional = true }
|
2022-12-01 06:56:20 +00:00
|
|
|
protoc-rust = { version = "2", optional = true }
|
|
|
|
walkdir = { version = "2", optional = true }
|
2023-03-03 12:38:31 +00:00
|
|
|
similar = { version = "1.3.0", optional = true }
|
|
|
|
syn = { version = "1.0.109", features = ["extra-traits", "parsing", "derive", "full"] }
|
2022-12-01 06:56:20 +00:00
|
|
|
fancy-regex = { version = "0.10.0", optional = true }
|
|
|
|
lazy_static = { version = "1.4.0", optional = true }
|
2023-03-03 12:38:31 +00:00
|
|
|
tera = { version = "1.17.1", optional = true}
|
2022-12-01 06:56:20 +00:00
|
|
|
itertools = { version = "0.10", optional = true }
|
|
|
|
phf = { version = "0.8.0", features = ["macros"], optional = true }
|
2023-03-03 12:38:31 +00:00
|
|
|
console = {version = "0.14.1", optional = true}
|
2022-12-01 06:56:20 +00:00
|
|
|
protoc-bin-vendored = { version = "3.0", optional = true }
|
2023-03-03 12:38:31 +00:00
|
|
|
toml = {version = "0.5.11", optional = true}
|
2022-12-01 06:56:20 +00:00
|
|
|
|
|
|
|
|
|
|
|
[features]
|
|
|
|
proto_gen = [
|
|
|
|
"similar",
|
|
|
|
"fancy-regex",
|
|
|
|
"lazy_static",
|
|
|
|
"tera",
|
|
|
|
"itertools",
|
|
|
|
"phf",
|
|
|
|
"walkdir",
|
|
|
|
"console",
|
|
|
|
"toml",
|
|
|
|
"cmd_lib",
|
|
|
|
"protoc-rust",
|
|
|
|
"walkdir",
|
|
|
|
"protoc-bin-vendored",
|
|
|
|
]
|
2023-01-18 03:22:13 +00:00
|
|
|
dart_event = ["walkdir", "tera", ]
|
2023-01-17 08:27:17 +00:00
|
|
|
dart = ["proto_gen", "dart_event"]
|
2023-01-18 03:22:13 +00:00
|
|
|
ts_event = ["walkdir", "tera", ]
|
2023-03-03 12:38:31 +00:00
|
|
|
ts = ["proto_gen", "ts_event"]
|