mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
aa5f052ecf
* chore: fix wanrings * chore: remove protobuf ref in flowy-error-code * chore: remove protobuf ref in lib-ws * refactor: remove protobuf trait in flowy http model * refactor: remove flowy-error-code crate Co-authored-by: nathan <nathan@appflowy.io>
49 lines
1.3 KiB
TOML
49 lines
1.3 KiB
TOML
[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]
|
|
log = "0.4.14"
|
|
serde = { version = "1.0", features = ["derive"]}
|
|
serde_json = "1.0"
|
|
flowy-ast = { path = "../flowy-ast"}
|
|
quote = "1.0"
|
|
|
|
cmd_lib = { version = "1", optional = true }
|
|
protoc-rust = { version = "2", optional = true }
|
|
walkdir = { version = "2", optional = true }
|
|
similar = { version = "1.2.2", optional = true }
|
|
syn = { version = "1.0.60", features = ["extra-traits", "parsing", "derive", "full"], optional = true }
|
|
fancy-regex = { version = "0.10.0", optional = true }
|
|
lazy_static = { version = "1.4.0", optional = true }
|
|
tera = { version = "1.5.0", optional = true}
|
|
itertools = { version = "0.10", optional = true }
|
|
phf = { version = "0.8.0", features = ["macros"], optional = true }
|
|
console = {version = "0.14.0", optional = true}
|
|
protoc-bin-vendored = { version = "3.0", optional = true }
|
|
toml = {version = "0.5.8", optional = true}
|
|
|
|
|
|
|
|
[features]
|
|
proto_gen = [
|
|
"similar",
|
|
"syn",
|
|
"fancy-regex",
|
|
"lazy_static",
|
|
"tera",
|
|
"itertools",
|
|
"phf",
|
|
"walkdir",
|
|
"console",
|
|
"toml",
|
|
"cmd_lib",
|
|
"protoc-rust",
|
|
"walkdir",
|
|
"protoc-bin-vendored",
|
|
]
|
|
dart_event = ["walkdir", "tera", "syn"]
|
|
dart = ["proto_gen", "dart_event"] |