ion-core 0.2.0

Embeddable scripting language with a bytecode VM
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "ion-core"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Embeddable scripting language with a bytecode VM"
readme = "README.md"
keywords = [
    "scripting",
    "embedded",
    "interpreter",
    "vm",
    "language",
]
categories = [
    "compilers",
    "game-development",
]
license = "MIT"
repository = "https://github.com/paiml/ionlang"

[features]
concurrency = ["crossbeam-channel"]
default = [
    "derive",
    "vm",
    "optimize",
]
derive = ["ion-derive"]
msgpack = ["rmpv"]
obfuscate = ["obfstr"]
optimize = ["vm"]
rewrite = []
vm = []

[lib]
name = "ion_core"
path = "src/lib.rs"

[[example]]
name = "embed"
path = "examples/embed.rs"

[[example]]
name = "tokio_host"
path = "examples/tokio_host.rs"
required-features = ["concurrency"]

[[test]]
name = "concurrency"
path = "tests/concurrency.rs"

[[test]]
name = "cross_validate"
path = "tests/cross_validate.rs"

[[test]]
name = "edge_cases"
path = "tests/edge_cases.rs"

[[test]]
name = "integration"
path = "tests/integration.rs"

[[test]]
name = "vm"
path = "tests/vm.rs"

[[bench]]
name = "ion_bench"
path = "benches/ion_bench.rs"
harness = false

[dependencies.crossbeam-channel]
version = "0.5"
optional = true

[dependencies.indexmap]
version = "2"
features = ["serde"]

[dependencies.ion-derive]
version = "0.2.0"
optional = true

[dependencies.obfstr]
version = "0.4"
optional = true

[dependencies.rmpv]
version = "1"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.tokio]
version = "1"
features = [
    "rt",
    "rt-multi-thread",
    "macros",
    "time",
]