[package]
name            = "coaster-nn"
description     = "coaster plugin providing Neural Network operations"
version         = "0.4.1"
authors         = ["Bernhard Schuster <bernhard@ratpoison.io>",
		   "Michael Hirn <mj@autumnai.com>",
                   "Maximilian Goisser <max@autumnai.com>"]

repository      = "https://github.com/ratpoison-io/coaster-nn"
homepage        = "https://ratpoison.io/coaster-nn"
documentation   = "https://ratpoison.io/projects/coaster-nn/documentation"
readme          = "README.md"

keywords        = ["neural-network", "coaster", "computation", "hpc", "plugin"]
license         = "MIT OR Apache-2.0"

[dependencies]
coaster = { path = "../coaster", default-features = false, version = "0.1.0" }
rcudnn = { path = "../rust-cudnn/cudnn", optional = true, version = "1.5.0" }
libc = "0.2"
lazy_static = "0.1"
log = "0.3.2"

clippy = { version = "0.0.27", optional = true }

[dev-dependencies]

rand = "0.3"

[features]
default = ["native", "cuda", "opencl"]
native = ["coaster/native"]
cuda = ["coaster/cuda", "rcudnn"]
opencl = ["coaster/opencl"]
unstable = []

travis = ["native"]
dev = []
lint = ["clippy"]
