[package]
edition = "2021"
rust-version = "1.77"
name = "maned"
version = "0.4.1"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Call .mnd scripts in-process, through the mnd_* C ABI"
homepage = "https://maned-lang.com"
documentation = "https://docs.rs/maned"
readme = "README.md"
keywords = [
"maned",
"mnd",
"tensor",
"inference",
]
categories = [
"api-bindings",
"science",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/FabianoDicheti/maned-rs"
[package.metadata.docs.rs]
features = [
"docsrs-stub",
"tokio",
]
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = ["json"]
docsrs-stub = ["maned-sys/docsrs-stub"]
json = []
tokio = ["dep:tokio"]
[lib]
name = "maned"
path = "src/lib.rs"
[[example]]
name = "decimals_tokio"
path = "examples/decimals_tokio.rs"
required-features = ["tokio"]
[[example]]
name = "files"
path = "examples/files.rs"
[[example]]
name = "parity_probe"
path = "examples/parity_probe.rs"
[[example]]
name = "routed"
path = "examples/routed.rs"
[[example]]
name = "scoring"
path = "examples/scoring.rs"
[[test]]
name = "async_api"
path = "tests/async_api.rs"
[[test]]
name = "compile_fail"
path = "tests/compile_fail.rs"
[[test]]
name = "conformance"
path = "tests/conformance.rs"
[[test]]
name = "io"
path = "tests/io.rs"
[[test]]
name = "script_api"
path = "tests/script_api.rs"
[[test]]
name = "shutdown"
path = "tests/shutdown.rs"
[[test]]
name = "soak"
path = "tests/soak.rs"
[[test]]
name = "threads"
path = "tests/threads.rs"
[dependencies.maned-sys]
version = "0.4.1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.tokio]
version = "1"
features = ["rt"]
optional = true
[dev-dependencies.tokio]
version = "1"
features = [
"rt",
"rt-multi-thread",
"macros",
"time",
]
[dev-dependencies.trybuild]
version = "1"