forked from cds-astro/mocpy
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
73 lines (61 loc) · 1.68 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
[package]
name = "MOCPy"
version = "0.8.5"
authors = [
"Thomas Boch <[email protected]>",
"Matthieu Baumann <[email protected]>",
"F.-X. Pineau <[email protected]>"
]
edition = "2018"
license = "BSD"
readme = "README.rst"
categories = ["algorithms", "science"]
repository = "https://github.com/cds-astro/mocpy"
description = "MOC parsing and manipulation in Python"
documentation = "https://cds-astro.github.io/mocpy"
[badges]
maintenance = { status = "actively-developed" }
[package.metadata.maturin]
# Python dependencies
requires-dist=[
"astropy",
"cdshealpix",
"matplotlib", # Used in fill and border
"networkx", # Used in get_boundaries
"lark-parser", # Used in from_str for parsing the string given and create the MOC from it
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"License :: OSI Approved :: BSD License",
"Topic :: Scientific/Engineering :: Astronomy"
]
[lib]
name = "mocpy"
path = "src/lib.rs"
test = true
doctest = true
bench = true
crate-type = ["cdylib"]
[dependencies]
rand = "0.7.3"
intervals = { path = "./src/intervals" }
healpix = { package = "cdshealpix", git = 'https://github.com/cds-astro/cds-healpix-rust', branch = 'master' }
num = "0.2"
time = "*"
rayon = "1.3.0"
lazy_static = "1.4.0"
[dependencies.numpy]
version = "0.13.0"
[dependencies.ndarray]
version = "0.14.0"
default-features = false # do not include the default features, and optionally
# cherry-pick individual features
features = ["rayon"]
[dependencies.pyo3]
version = "0.13.2"
features = ["extension-module"]
[profile.release]
opt-level = 3
[profile.dev]
opt-level = 0