2014-06-25 01:25:57 +08:00
|
|
|
[package]
|
|
|
|
name = "nalgebra"
|
2020-06-07 16:29:10 +08:00
|
|
|
version = "0.21.1"
|
2016-12-05 05:44:42 +08:00
|
|
|
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."
|
2019-06-12 02:56:50 +08:00
|
|
|
documentation = "https://nalgebra.org/rustdoc/nalgebra/index.html"
|
|
|
|
homepage = "https://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"
|
2018-08-31 18:57:52 +08:00
|
|
|
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"]
|
|
|
|
|
2014-08-16 18:16:26 +08:00
|
|
|
[lib]
|
2014-07-23 01:58:26 +08:00
|
|
|
name = "nalgebra"
|
|
|
|
path = "src/lib.rs"
|
2014-12-26 05:05:33 +08:00
|
|
|
|
2015-01-10 08:36:13 +08:00
|
|
|
[features]
|
2018-06-09 23:44:19 +08:00
|
|
|
default = [ "std" ]
|
2020-03-21 19:16:46 +08:00
|
|
|
std = [ "matrixmultiply", "rand/std", "rand_distr", "simba/std" ]
|
2018-06-09 23:44:19 +08:00
|
|
|
stdweb = [ "rand/stdweb" ]
|
2017-08-03 01:37:44 +08:00
|
|
|
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" ]
|
2018-10-21 04:27:18 +08:00
|
|
|
sparse = [ ]
|
2019-03-03 02:33:49 +08:00
|
|
|
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" ]
|
2015-01-10 08:36:13 +08:00
|
|
|
|
2014-12-26 05:05:33 +08:00
|
|
|
[dependencies]
|
2019-10-28 20:40:37 +08:00
|
|
|
typenum = "1.11"
|
2019-10-28 20:36:23 +08:00
|
|
|
generic-array = "0.13"
|
2019-10-12 02:01:36 +08:00
|
|
|
rand = { version = "0.7", default-features = false }
|
2018-05-19 23:15:15 +08:00
|
|
|
num-traits = { version = "0.2", default-features = false }
|
2018-05-25 16:22:37 +08:00
|
|
|
num-complex = { version = "0.2", default-features = false }
|
2019-04-10 02:39:36 +08:00
|
|
|
num-rational = { version = "0.2", default-features = false }
|
2018-07-20 05:56:07 +08:00
|
|
|
approx = { version = "0.3", default-features = false }
|
2020-03-23 16:59:26 +08:00
|
|
|
simba = { version = "0.1", default-features = false }
|
2020-04-05 23:53:27 +08:00
|
|
|
alga = { version = "0.9", default-features = false, optional = true }
|
2019-10-12 02:01:36 +08:00
|
|
|
rand_distr = { version = "0.2", optional = true }
|
2018-12-18 22:44:53 +08:00
|
|
|
matrixmultiply = { version = "0.2", optional = true }
|
2017-08-03 01:37:44 +08:00
|
|
|
serde = { version = "1.0", optional = true }
|
|
|
|
serde_derive = { version = "1.0", optional = true }
|
2018-12-18 22:44:53 +08:00
|
|
|
abomonation = { version = "0.7", optional = true }
|
2018-05-19 23:15:15 +08:00
|
|
|
mint = { version = "0.5", optional = true }
|
2019-10-12 02:01:36 +08:00
|
|
|
quickcheck = { version = "0.9", 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
|
|
|
|
|
|
|
[dev-dependencies]
|
2017-04-25 02:05:45 +08:00
|
|
|
serde_json = "1.0"
|
2019-10-12 02:01:36 +08:00
|
|
|
rand_xorshift = "0.2"
|
2019-11-16 03:29:18 +08:00
|
|
|
rand_isaac = "0.2"
|
2019-03-31 19:32:09 +08:00
|
|
|
### Uncomment this line before running benchmarks.
|
2019-06-08 00:54:56 +08:00
|
|
|
### We can't just let this uncommented because that would break
|
2019-03-31 19:32:09 +08:00
|
|
|
### compilation for #[no-std] because of the terrible Cargo bug
|
|
|
|
### https://github.com/rust-lang/cargo/issues/4866
|
2020-04-06 00:15:36 +08:00
|
|
|
#criterion = "0.2.10"
|
2017-08-03 01:37:44 +08:00
|
|
|
|
|
|
|
[workspace]
|
2019-02-18 01:22:29 +08:00
|
|
|
members = [ "nalgebra-lapack", "nalgebra-glm" ]
|
2019-03-03 02:33:49 +08:00
|
|
|
|
2019-03-24 01:01:04 +08:00
|
|
|
[[bench]]
|
|
|
|
name = "nalgebra_bench"
|
|
|
|
harness = false
|
|
|
|
path = "benches/lib.rs"
|
|
|
|
|
|
|
|
[profile.bench]
|
|
|
|
lto = true
|
2020-03-21 19:16:46 +08:00
|
|
|
|
|
|
|
#[patch.crates-io]
|
2020-04-05 23:53:27 +08:00
|
|
|
#simba = { path = "../simba" }
|