-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
41 lines (34 loc) · 1016 Bytes
/
Copy pathCargo.toml
File metadata and controls
41 lines (34 loc) · 1016 Bytes
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
# Single-package workspace so this crate builds standalone (canonical
# state when the repo is cloned on its own). Consumed in the Polylayer
# monorepo via git submodule under solana/polyleverage.
[workspace]
[package]
name = "polyleverage"
version = "0.1.0"
edition = "2021"
license = "Apache-2.0"
description = "Pairwise matched leverage contracts on prediction markets"
repository = "https://github.com/polylayer/polyleverage"
[lib]
crate-type = ["cdylib", "lib"]
name = "polyleverage"
[features]
no-entrypoint = []
test-sbf = []
[dependencies]
solana-program = "2.1"
borsh = "1.5"
bytemuck = { version = "1.19", features = ["derive", "min_const_generics"] }
thiserror = "1.0"
spl-token = { version = "7.0", features = ["no-entrypoint"] }
spl-associated-token-account = { version = "6.0", features = ["no-entrypoint"] }
num_enum = "0.7"
arrayref = "0.3"
[dev-dependencies]
proptest = "1.5"
[lints.rust]
unsafe_op_in_unsafe_fn = "warn"
[profile.release]
overflow-checks = true
lto = "fat"
codegen-units = 1