-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
129 lines (116 loc) · 3.94 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
cargo-features = ["codegen-backend"]
[workspace]
resolver = "2"
members = ["crates/*", "xtask"]
[workspace.package]
version = "0.1.2"
authors = [
"Roberts Pumpurs <roberts@pumpurlabs.com>",
]
description = """
Utilities for interacting with Supabase form Rust
"""
keywords = ["auth", "supabase", "postgrest", "async", "jwt", "realtime", "websockets"]
categories = ["database", "authentication", "asynchronous"]
documentation = "https://github.com/roberts-pumpurs/supabase-rs-utils"
repository = "https://github.com/roberts-pumpurs/supabase-rs-utils"
homepage = "https://github.com/roberts-pumpurs/supabase-rs-utils"
license = "MIT/Apache-2.0"
edition = "2021"
exclude = [
"/.github/",
"/xtask/",
"/supabase/",
]
[workspace.lints.clippy]
cargo = { priority = -1, level = "deny" }
complexity = { priority = -1, level = "deny" }
correctness = { priority = -1, level = "deny" }
nursery = { priority = -1, level = "deny" }
pedantic = { priority = -1, level = "deny" }
perf = { priority = -1, level = "deny" }
restriction = { priority = -1, level = "deny" }
style = { priority = -1, level = "deny" }
suspicious = { priority = -1, level = "deny" }
cargo_common_metadata = "allow"
missing_docs_in_private_items = "allow"
blanket_clippy_restriction_lints = "allow"
implicit_return = "allow"
dbg_macro = "allow"
single_call_fn = "allow"
missing_inline_in_public_items = "allow"
question_mark_used = "allow"
absolute_paths = "allow"
missing_trait_methods = "allow"
wildcard_imports = "allow"
shadow_reuse = "allow"
exhaustive_enums = "allow"
ref_patterns = "allow"
pub_use = "allow"
single_char_lifetime_names = "allow"
multiple_crate_versions = "allow"
exhaustive_structs = "allow"
future_not_send = "allow"
separated_literal_suffix = "allow"
mod_module_files = "allow"
[workspace.dependencies]
# our cretes
rp-supabase-mock = { path = "crates/supabase-mock", version = "0.1" }
rp-supabase-auth = { path = "crates/supabase-auth", version = "0.1" }
rp-supabase-client = { path = "crates/supabase-client", version = "0.1" }
rp-postgrest-error = { path = "crates/postgrest-error", version = "0.1" }
rp-supabase-realtime = { path = "crates/supabase-realtime", version = "0.1" }
# fork of postgrest-rs
rp-postgrest = { version = "1" }
# Async
futures-concurrency = "7.4"
futures-util = "0.3"
futures = "0.3"
reqwest = { version = "0.12", default-features = false, features = ["json", "gzip", "deflate", "rustls-tls", "stream", "http2"] }
tokio = { version = "1", default-features = false, features = [] }
pin-project = "1"
futures-timer = "3"
tokio-stream = "0.1"
# Errors
eyre = "0.6"
color-eyre = "0.6"
chrono = { version = "0.4", default-features = false, features = ["serde", "clock", "std"] }
serde = { version = "1", features = ["derive"] }
redact = "0.1"
simd-json = "0.14"
url = "2"
rand = { version = "0.8", features = ["small_rng"] }
thiserror = "1"
typed-builder = "0.18"
jwt-simple = { version = "0.12", default-features = false, features = ["pure-rust"] }
rust_decimal_macros = "1"
rust_decimal = { version = "1", features = ["maths"] }
arrayvec = "0.7"
itertools = "0.13"
base64 = "0.22"
hyper-util = { version = "0.1.0", features = ["tokio"] }
http-body-util = { version = "0.1.0" }
tokio-rustls = { version = "0.26", default-features = false, features = ["tls12"] }
rustls-pemfile = "2"
rustls = { version = "0.23", default-features = false }
rustls-native-certs = "0.8"
bytes = "1.7"
clap = { version = "4.5", features = ["derive"] }
hyper = { version = "1", features = ["http1", "client"] }
fastwebsockets = { version = "0.8", features = ["upgrade"] }
# Tests
rstest = "0.23"
test-log = { version = "0.2", features = ["trace"], default-features = false }
pretty_assertions = "1"
assert_matches = "1"
mockito = "1"
# Tracing
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt", "tracing-log", "json", "valuable", "tracing"] }
[profile.release]
lto = true
codegen-units = 1
panic = "abort"
[profile.dev]
debug = 0
# codegen-backend = "cranelift" (not supported on m1 mac)