Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
74 lines (70 loc) · 2.44 KB
/
Copy pathCargo.toml
File metadata and controls
74 lines (70 loc) · 2.44 KB
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
[workspace]
members = ["my-token", "my-token-tests", "safe-swap", "safe-swap-tests", "clob", "clob-tests", "arena", "arena-tests"]
resolver = "3"
[workspace.package]
authors = ["Your Name <your.email@example.com>"]
edition = "2024"
license = "MIT OR Apache-2.0"
publish = false
rust-version = "1.93.1"
version = "0.1.0"
[workspace.dependencies]
borsh = { version = ">=1.5, <1.6.0", default-features = false, features = ["derive"] }
client-sdk = { git = "https://github.com/gen-bc/gen-framework-preview", tag = "v0.4.2", features = ["http"] }
client-sdk-macros = { git = "https://github.com/gen-bc/gen-framework-preview", tag = "v0.4.2" }
genie = { git = "https://github.com/gen-bc/gen-framework-preview", tag = "v0.4.2" }
gen-test-tools = { git = "https://github.com/gen-bc/gen-framework-preview", tag = "v0.4.2" }
rstest = "0.24"
serde = { version = "1", default-features = false, features = ["derive"] }
thiserror = { version = "2.0.12", default-features = false }
tokio = { version = "1", features = ["full", "fs"] }
tracing = "0.1"
# Shared lints for the workspace
[workspace.lints.clippy]
allow_attributes = "deny"
big_endian_bytes = "deny"
doc_link_code = "deny"
doc_link_with_quotes = "deny"
host_endian_bytes = "deny"
panic_in_result_fn = "deny"
undocumented_unsafe_blocks = "deny"
uninlined_format_args = "deny"
unwrap_in_result = "deny"
unwrap_used = "deny"
wildcard_dependencies = "deny"
wildcard_imports = "deny"
wildcard_in_or_patterns = "deny"
[workspace.lints.rust]
absolute_paths_not_starting_with_crate = "deny"
ambiguous_negative_literals = "deny"
closure_returning_async_block = "deny"
deprecated_safe_2024 = "deny"
elided_lifetimes_in_paths = "deny"
explicit_outlives_requirements = "deny"
if_let_rescope = "deny"
impl_trait_overcaptures = "deny"
impl_trait_redundant_captures = "deny"
let_underscore_drop = "deny"
macro_use_extern_crate = "deny"
meta_variable_misuse = "deny"
missing_unsafe_on_extern = "deny"
non_ascii_idents = "deny"
redundant_imports = "deny"
redundant_lifetimes = "deny"
single_use_lifetimes = "deny"
tail_expr_drop_order = "deny"
trivial_casts = "deny"
trivial_numeric_casts = "deny"
unit_bindings = "deny"
unnameable_types = "deny"
unreachable_pub = "deny"
unsafe_attr_outside_unsafe = "deny"
unsafe_code = "deny"
unsafe_op_in_unsafe_fn = "deny"
unstable_features = "deny"
unused_extern_crates = "deny"
unused_import_braces = "deny"
unused_lifetimes = "deny"
unused_macro_rules = "deny"
unused_qualifications = "deny"
variant_size_differences = "deny"