-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathCargo.toml
64 lines (53 loc) · 2.04 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
[package]
name = "pyfusion"
version = "2.0.7"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "fusion"
# rlib is needed to be able to separate tests into tests/
crate-type = ["cdylib", "rlib"]
[dependencies]
pyo3 = { version = "0.22.4"}
pyo3-log = { version = "0.11.0" }
log = { version = "~0.4.4", default-features = false, features = ["std"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
chrono = { version = "0.4.38", features = ["serde"] }
bincode = "1.3.3"
reqwest = { version = "0.12.7", features = ["json", "rustls-tls", "rustls-tls-native-roots"] }
tokio = { version = "1.40", features = ["rt-multi-thread", "full"] }
url = { version = "2.5", features = [] }
json = { version = "0.12" }
jsonwebtoken = {version = "9.3.0"}
state = { version = "0.6"}
# Struggling to get OPEN_SSL env vars to point to the installed libs on these archs
# Remove these once we figure out the magic
[target.'cfg(target_arch = "aarch64")'.dependencies]
openssl = { version = "0.10.64", features = ["vendored"] }
[target.'cfg(target_arch = "arm")'.dependencies]
openssl = { version = "0.10.64", features = ["vendored"] }
[target.'cfg(target_arch = "powerpc64")'.dependencies]
openssl = { version = "0.10.64", features = ["vendored"] }
[target.'cfg(target_env = "musl")'.dependencies]
openssl = { version = "0.10.64", features = ["vendored"] }
[package.metadata.cargo-llvm-cov]
# End OPEN_SSL
# Ignore directories and files that are not part of the Rust source code
ignore-filename-regex = "(.cargo|py_integ|py_src|py_tests|dist|docs|downloads|runnable|site|target|\\.git|\\.github)/"
ignore-glob = ["py_integ/*", "py_src/*", "py_tests/*", "dist/*", "docs/*", "downloads/*", "runnable/*", "site/*", "target/*"]
[dev-dependencies]
tempdir = "0.3.7"
criterion = { version = "0.5.1", features = ["html_reports"] }
mockito = "1.4"
reqwest_mock = "0.7"
[profile.release]
lto = "fat"
codegen-units = 1
strip = true
[[bench]]
name = "ex_bench"
harness = false
[features]
default = []
experiments = []