@sjcrh/proteinpaint-rust 2.145.1 → 2.146.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Cargo.toml +11 -2
- package/README.md +17 -0
- package/package.json +1 -1
- package/src/aichatbot.rs +730 -0
- package/src/sjprovider.rs +1134 -0
- package/src/wilcoxon.rs +0 -1
package/Cargo.toml
CHANGED
|
@@ -9,6 +9,7 @@ autobins = false
|
|
|
9
9
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
10
10
|
|
|
11
11
|
[dependencies]
|
|
12
|
+
anyhow = "1.0.99"
|
|
12
13
|
kodama = "0.3"
|
|
13
14
|
rayon = "1.7.0"
|
|
14
15
|
bgzip = "0.3.1"
|
|
@@ -26,17 +27,21 @@ bigtools = "^0.1.11"
|
|
|
26
27
|
libmath = "^0.2.1"
|
|
27
28
|
json = "^0.12.4"
|
|
28
29
|
serde = {version = "^1.0.147", features = ["derive"]}
|
|
29
|
-
serde_json="^1.0.
|
|
30
|
+
serde_json="^1.0.142"
|
|
30
31
|
num = "^0.4.1"
|
|
31
32
|
r_mathlib="^0.2.0"
|
|
32
33
|
tokio = { version="1", features = ["full"] }
|
|
33
|
-
reqwest = "0.
|
|
34
|
+
reqwest = "0.12.23"
|
|
34
35
|
flate2 = "1"
|
|
36
|
+
schemars = "1.0.4"
|
|
35
37
|
futures = "0.3"
|
|
36
38
|
num_cpus = "1.16.0"
|
|
37
39
|
memchr = "2"
|
|
38
40
|
r2d2_sqlite = "0.29.0"
|
|
39
41
|
r2d2 = "0.8.10"
|
|
42
|
+
rig-core = "0.20.0"
|
|
43
|
+
url = "2.5.7"
|
|
44
|
+
async-stream = "0.3.6"
|
|
40
45
|
|
|
41
46
|
[profile.release]
|
|
42
47
|
lto = "fat"
|
|
@@ -116,3 +121,7 @@ path="src/cerno.rs"
|
|
|
116
121
|
name="readH5"
|
|
117
122
|
path="src/readH5.rs"
|
|
118
123
|
|
|
124
|
+
[[bin]]
|
|
125
|
+
name="aichatbot"
|
|
126
|
+
path="src/aichatbot.rs"
|
|
127
|
+
|
package/README.md
CHANGED
|
@@ -2,6 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
This directory holds the source code for rust-compiled utilities.
|
|
4
4
|
|
|
5
|
+
|
|
6
|
+
## Rust version
|
|
7
|
+
|
|
8
|
+
Current rust version is 1.89.0. TODO introduce `rust-toolchain` file, and pin the rust version there.
|
|
9
|
+
|
|
10
|
+
Currently the version is hardcoded in:
|
|
11
|
+
|
|
12
|
+
the Github Actions workflow file `.github/workflows/CD-rust-build.yml`.
|
|
13
|
+
|
|
14
|
+
The Github Actions workflow file `.github/workflows/CI-unit.yml`.
|
|
15
|
+
|
|
16
|
+
The rust build docker file `container/rust/Dockerfile`.
|
|
17
|
+
|
|
18
|
+
When bumping the rust version, please update these files accordingly, and publish the new rust build env image using:
|
|
19
|
+
|
|
20
|
+
https://github.com/stjude/proteinpaint/actions/workflows/CD-publish-rust-bookworm-env-image.yml
|
|
21
|
+
|
|
5
22
|
## Code layout
|
|
6
23
|
|
|
7
24
|
All source code files should be directly under the `src/` directory. For a source
|
package/package.json
CHANGED