-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
86 lines (77 loc) · 2.15 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[package]
name = "firestore-emulator"
description = "Google Cloud Firestore emulator with focus on stability"
version = { workspace = true }
edition = "2021"
rust-version = "1.82"
[features]
default = ["ui"]
# The console feature enables the use of the tokio console for runtime insight in async behavior.
console = ["emulator-tracing/console"]
# Enable the web interface on the same host:port as the other emulator endpoints
ui = ["emulator-http/ui"]
[workspace]
members = ["crates/*"]
[workspace.package]
version = "0.1.2"
[workspace.dependencies]
async-trait = "0.1.85"
axum = "0.6.20"
base64 = "0.22.1"
clap = "4.5.26"
color-eyre = "0.6.3"
console-subscriber = "0.3.0"
ctreg = "1.0.2"
futures = "0.3.31"
hyper = "0.14"
itertools = "0.13.0"
once_cell = "1.20.2"
pin-project = "1.1.8"
prost = "0.12"
rstest = "0.21.0"
serde = "1.0.217"
serde_json = "1.0.135"
serde_with = "3.12.0"
string_cache = "0.8.7"
thiserror = "1.0.69"
tikv-jemallocator = "0.5.4"
time = "0.3.37"
tokio = "1.43.0"
tokio-stream = "0.1.17"
tonic = "0.11"
tonic-build = "0.11"
tower = "0.4.13"
tower-http = "0.4.4"
tracing = "0.1.41"
tracing-subscriber = "0.3.19"
[workspace.lints.rust]
unsafe_code = "forbid"
explicit_outlives_requirements = "forbid"
let_underscore_drop = "warn"
missing_copy_implementations = "warn"
missing_debug_implementations = "warn"
non_ascii_idents = "forbid"
single_use_lifetimes = "warn"
unit_bindings = "warn"
unreachable_pub = "warn"
unused_crate_dependencies = "warn"
unused_lifetimes = "warn"
unused_macro_rules = "warn"
unused_qualifications = "warn"
[dependencies]
axum = { workspace = true }
clap = { workspace = true, features = ["derive", "env"] }
color-eyre = { workspace = true }
emulator-database = { path = "crates/emulator-database" }
emulator-grpc = { path = "crates/emulator-grpc" }
emulator-http = { path = "crates/emulator-http" }
emulator-tracing = { path = "crates/emulator-tracing" }
hybrid-axum-tonic = { path = "crates/hybrid-axum-tonic" }
tikv-jemallocator = { workspace = true }
tokio = { workspace = true, features = ["macros", "rt-multi-thread", "signal"] }
tracing = { workspace = true }
[profile.release]
codegen-units = 1
lto = "fat"
panic = "abort"
strip = true