forked from rsmpi/rsmpi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
71 lines (59 loc) · 1.82 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
65
66
67
68
69
70
71
[package]
name = "mpi"
version = "0.6.0"
authors = [
"Benedikt Steinbusch <[email protected]>",
"Andrew Gaspar <[email protected]>"
]
description = "Message Passing Interface bindings for Rust"
homepage = "https://github.com/rsmpi/rsmpi"
repository = "https://github.com/rsmpi/rsmpi"
documentation = "https://docs.rs/mpi"
readme = "README.md"
keywords = [ "message-passing", "parallel" ]
categories = [ "concurrency" ]
license = "MIT/Apache-2.0"
edition = "2021"
rust-version = "1.60"
[workspace]
members = ["mpi-derive"]
[features]
default = ["user-operations"]
user-operations = ["libffi"]
derive = ["mpi-derive"]
[dependencies]
conv = "0.3.3"
libffi = { version = "3.2.0", optional = true }
# Public dependency ("derive" feature)
memoffset = "0.8"
mpi-derive = { path = "mpi-derive", version = "0.1", optional = true }
mpi-sys = { path = "mpi-sys", version = "0.2" }
# Public dependency ("derive" feature)
once_cell = "1.17"
smallvec = "1.10.0"
thiserror = "1.0.40"
[build-dependencies]
build-probe-mpi = { path = "build-probe-mpi", version = "0.1.2" }
# The following tests depend on specific features
[[example]]
name = "struct"
required-features = ["derive"]
[[example]]
name = "derive_multiple_thread_init"
required-features = ["derive"]
[[example]]
name = "derive_nonthreaded_panic"
required-features = ["derive"]
[[example]]
name = "derive_postfinalize_panic"
required-features = ["derive"]
[[example]]
name = "derive_preinit_panic"
required-features = ["derive"]
[package.metadata.release]
tag-name = "{{crate_name}}-{{version}}"
pre-release-replacements = [
{ file="README.md", search="version = \"[0-9.]*\"", replace="version = \"{{version}}\"" },
{ file="src/lib.rs", search="mpi = \"[0-9.]*\"", replace="mpi = \"{{version}}\"" },
{ file="CHANGELOG.md", search="`main` branch", replace="{{version}} ({{date}})" }
]