2.129.6 • Published 1 month ago

@sjcrh/proteinpaint-rust v2.129.6

Weekly downloads
-
License
SEE LICENSE IN ./...
Repository
github
Last release
1 month ago

Rust-compiled utilities

This directory holds the source code for rust-compiled utilities.

Code layout

All source code files should be directly under the src/ directory. For a source code file to be compiled, create a [[bin]] entry for it in the Cargo.toml file:

[[bin]]
name="tool0"
path="src/tool0.rs"

[[bin]]
name="othertool1"
path="src/othertool1.rs"

Note that the default package.autobins has been disabled, so that we avoid using the src/bin subdirectory to hold uncompiled source code files. The convention in the Proteinpaint project is to put bundled or compiled code under a bin/ folder, which goes against rust cargo's assumptions of having source code under src/bin.

Using from nodejs

// Assuming a js or ts file from server/src 

import { run_rust } from '@sjcrh/proteinpaint-rust'


// 'indel' may be replaced by any binary name as specified in Cargo.toml
const out = await run_rust('indel', input_data)

Test

From the proteinpaint/server directory,

npx test
npx tsc

Build

npm run build # cargo build --release

The compiled dependencies and target binaries will be generated under ./target/release.

Release

Use Github Actions to coordinate the release of related package updates. The package versioning, build, and deployment uses the standard npm tooling under the hood (version, pack, and publish, respectively).

2.129.0

2 months ago

2.125.0

2 months ago

2.119.0-0

3 months ago

2.123.0

2 months ago

2.121.0

3 months ago

2.99.0

6 months ago

2.116.0

3 months ago

2.114.0

4 months ago

2.112.0

4 months ago

2.108.6-0

4 months ago

2.128.1

2 months ago

2.126.2

2 months ago

2.126.0

2 months ago

2.124.0

2 months ago

2.122.0

3 months ago

2.120.1

3 months ago

2.120.0

3 months ago

2.120.2-0

3 months ago

2.110.0

4 months ago

2.119.0

3 months ago

2.117.0

3 months ago

2.108.3-0

4 months ago

2.111.0

4 months ago

2.84.0

8 months ago

2.129.6

1 month ago

2.129.2

1 month ago

2.81.5

9 months ago

2.74.0

11 months ago

2.73.0

11 months ago

2.78.0

10 months ago

2.75.0

10 months ago

2.60.0

1 year ago

2.61.1

1 year ago

2.59.0

1 year ago

2.58.0

1 year ago

2.58.0-0

1 year ago

2.57.1-1

1 year ago

2.55.0

1 year ago

2.49.0

1 year ago

2.44.0

1 year ago

2.40.6

1 year ago

2.39.0

2 years ago

2.38.1

2 years ago

2.38.0

2 years ago

2.37.0

2 years ago

2.34.0

2 years ago

2.33.0

2 years ago

2.31.0

2 years ago

2.30.2

2 years ago

2.29.6

2 years ago

2.29.2

2 years ago

2.27.0

2 years ago

2.26.1

2 years ago

2.26.0

2 years ago

2.25.0

2 years ago

2.12.0

2 years ago

2.11.1

2 years ago

2.11.0

2 years ago

2.10.0

2 years ago

2.9.1

2 years ago

2.9.0

2 years ago

2.8.2

2 years ago

2.8.1

2 years ago