-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
30 lines (26 loc) · 1.2 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
[package]
name = "mathcat_c"
version = "0.6.6"
authors = ["Neil Soiffer <[email protected]>"]
edition = "2021"
license = "MIT"
description = "C/C++ interface for MathCAT (for MathCAT info, see crates.io or nsoiffer.github.io/MathCAT)"
resolver = "2" # allows different build dependency features
[dependencies.mathcat]
version = "0.6.6"
# for testing MathCAT without having to publish a new version (change here and in build-dependencies)
# path = "../MathCAT/"
features = ["include-zip"] # for building, we want the zip files so we can include them separately
[lib]
name = "libmathcat_c"
crate-type = ["cdylib"] # Creates dynamic lib
[build-dependencies]
zip = { version = "2.1", default-features = false, features = ["bzip2"] }
cbindgen = "0.24"
# for testing MathCAT without having to publish a new version (change two occurences)
# mathcat = {path = "../MathCAT/", version = "0.6.6", features = ["include-zip"]} # for building, we want the zip files so we can include them separately
mathcat = {version = "0.6.6", features = ["include-zip"]} # for building, we want the zip files so we can include them separately
[profile.release]
debug = true
lto = true
# opt-level = "z" # Optimize for size.