nalgebra/Cargo.toml

74 lines
2.4 KiB
TOML
Raw Normal View History

2014-06-25 01:25:57 +08:00
[package]
name = "nalgebra"
2019-03-31 21:25:54 +08:00
version = "0.18.0"
authors = [ "Sébastien Crozet <developer@crozet.re>" ]
2014-06-25 01:25:57 +08:00
2017-05-26 04:04:42 +08:00
description = "Linear algebra library with transformations and statically-sized or dynamically-sized matrices."
documentation = "http://nalgebra.org/rustdoc/nalgebra/index.html"
2014-11-23 02:51:28 +08:00
homepage = "http://nalgebra.org"
2018-09-15 12:29:53 +08:00
repository = "https://github.com/rustsim/nalgebra"
2014-11-23 02:51:28 +08:00
readme = "README.md"
categories = [ "science" ]
keywords = [ "linear", "algebra", "matrix", "vector", "math" ]
2014-11-23 02:51:28 +08:00
license = "BSD-3-Clause"
2019-03-23 21:29:07 +08:00
edition = "2018"
2014-11-23 02:51:28 +08:00
2019-02-18 01:22:29 +08:00
exclude = ["/ci/*", "/.travis.yml", "/Makefile"]
[lib]
2014-07-23 01:58:26 +08:00
name = "nalgebra"
path = "src/lib.rs"
[features]
default = [ "std" ]
std = [ "matrixmultiply", "rand/std", "alga/std" ]
stdweb = [ "rand/stdweb" ]
arbitrary = [ "quickcheck" ]
2017-06-10 07:13:38 +08:00
serde-serialize = [ "serde", "serde_derive", "num-complex/serde" ]
2017-08-14 22:26:36 +08:00
abomonation-serialize = [ "abomonation" ]
sparse = [ ]
debug = [ "approx/num-complex", "rand/std" ]
2018-05-24 23:17:34 +08:00
alloc = [ ]
2018-11-07 01:31:04 +08:00
io = [ "pest", "pest_derive" ]
[dependencies]
typenum = "1.10"
generic-array = "0.12"
rand = { version = "0.6", default-features = false }
num-traits = { version = "0.2", default-features = false }
2018-05-25 16:22:37 +08:00
num-complex = { version = "0.2", default-features = false }
num-rational = { version = "0.2", default-features = false }
2018-07-20 05:56:07 +08:00
approx = { version = "0.3", default-features = false }
2019-03-31 21:25:54 +08:00
alga = { version = "0.9", default-features = false }
matrixmultiply = { version = "0.2", optional = true }
serde = { version = "1.0", optional = true }
serde_derive = { version = "1.0", optional = true }
abomonation = { version = "0.7", optional = true }
mint = { version = "0.5", optional = true }
2019-02-03 22:45:25 +08:00
quickcheck = { version = "0.8", optional = true }
2018-11-07 01:31:04 +08:00
pest = { version = "2.0", optional = true }
pest_derive = { version = "2.0", optional = true }
2017-02-13 01:17:09 +08:00
2019-03-31 21:25:54 +08:00
#[patch.crates-io]
#alga = { git = "https://github.com/rustsim/alga", branch = "dev" }
2019-02-27 10:12:30 +08:00
2017-02-13 01:17:09 +08:00
[dev-dependencies]
2017-04-25 02:05:45 +08:00
serde_json = "1.0"
rand_xorshift = "0.1"
### Uncomment this line before running benchmarks.
### We can't just let this uncommented because that would breack
### compilation for #[no-std] because of the terrible Cargo bug
### https://github.com/rust-lang/cargo/issues/4866
#criterion = "0.2.10"
[workspace]
2019-02-18 01:22:29 +08:00
members = [ "nalgebra-lapack", "nalgebra-glm" ]
[[bench]]
name = "nalgebra_bench"
harness = false
path = "benches/lib.rs"
[profile.bench]
lto = true