[package]
edition = "2024"
name = "gluon"
version = "0.18.4"
authors = ["Markus <marwes91@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A static, type inferred programming language for application embedding"
homepage = "https://gluon-lang.org"
documentation = "https://docs.rs/gluon"
readme = "README.md"
keywords = [
"script",
"scripting",
"language",
]
license = "MIT"
repository = "https://github.com/gluon-lang/gluon"
resolver = "2"
[package.metadata.docs.rs]
features = ["docs_rs"]
[features]
async = ["tokio"]
default = [
"async",
"regex",
"random",
]
docs_rs = ["serialization"]
gluon_completion = [
"dep:gluon_completion",
"gluon_vm/gluon_completion",
]
nightly = [
"dep:compiletest_rs",
"gluon_base/nightly",
]
random = [
"dep:rand",
"dep:rand_xorshift",
]
serialization = [
"serde",
"serde_state",
"serde_derive_state",
"gluon_vm/serialization",
]
test = [
"serialization",
"dep:little-skeptic",
"http",
"web",
"gluon_vm/test",
]
test_nightly = [
"test",
"nightly",
]
web = [
"async",
"dep:hyper",
"dep:hyper-util",
"dep:http-body-util",
"http",
"dep:tower-service",
"tokio/net",
"dep:tokio-stream",
"dep:pin-project-lite",
]
web-tls = [
"tokio/fs",
"dep:native-tls",
"dep:tokio-native-tls",
]
[lib]
name = "gluon"
path = "src/lib.rs"
[[example]]
name = "24"
path = "examples/24.rs"
[[example]]
name = "fib"
path = "examples/fib.rs"
[[example]]
name = "http"
path = "examples/http/main.rs"
required-features = [
"serialization",
"web",
]
[[example]]
name = "lisp"
path = "examples/lisp/main.rs"
[[example]]
name = "marshalling"
path = "examples/marshalling.rs"
required-features = ["serialization"]
[[test]]
name = "api"
path = "tests/api.rs"
[[test]]
name = "array"
path = "tests/array.rs"
[[test]]
name = "compiletest"
path = "tests/compiletest.rs"
[[test]]
name = "de"
path = "tests/de.rs"
[[test]]
name = "debug"
path = "tests/debug.rs"
[[test]]
name = "error"
path = "tests/error.rs"
[[test]]
name = "fail"
path = "tests/fail.rs"
[[test]]
name = "inline"
path = "tests/inline.rs"
[[test]]
name = "io"
path = "tests/io.rs"
[[test]]
name = "limits"
path = "tests/limits.rs"
[[test]]
name = "main"
path = "tests/main.rs"
harness = false
required-features = ["serialization"]
[[test]]
name = "metadata"
path = "tests/metadata.rs"
[[test]]
name = "parallel"
path = "tests/parallel.rs"
[[test]]
name = "pattern_match"
path = "tests/pattern_match.rs"
[[test]]
name = "row_polymorphism"
path = "tests/row_polymorphism.rs"
[[test]]
name = "safety"
path = "tests/safety.rs"
[[test]]
name = "serialization"
path = "tests/serialization.rs"
[[test]]
name = "skeptic-tests"
path = "tests/skeptic-tests.rs"
[[test]]
name = "stack_overflow"
path = "tests/stack_overflow.rs"
[[test]]
name = "tutorial"
path = "tests/tutorial.rs"
[[test]]
name = "ui"
path = "tests/ui.rs"
[[test]]
name = "vm"
path = "tests/vm.rs"
[[bench]]
name = "check"
path = "benches/check.rs"
harness = false
[[bench]]
name = "function_call"
path = "benches/function_call.rs"
harness = false
[[bench]]
name = "precompiled"
path = "benches/precompiled.rs"
harness = false
[dependencies.async-trait]
version = "0.1.73"
[dependencies.codespan]
version = "0.13"
[dependencies.codespan-reporting]
version = "0.13"
[dependencies.collect-mac]
version = "0.1.0"
[dependencies.compiletest_rs]
version = "0.11"
optional = true
[dependencies.either]
version = "1.9.0"
[dependencies.futures]
version = "0.3.28"
default-features = false
[dependencies.gluon_base]
version = "0.18.4"
[dependencies.gluon_check]
version = "0.18.4"
[dependencies.gluon_codegen]
version = "0.18.4"
[dependencies.gluon_completion]
version = "0.18.4"
optional = true
default-features = false
[dependencies.gluon_format]
version = "0.18.4"
default-features = false
[dependencies.gluon_parser]
version = "0.18.4"
[dependencies.gluon_vm]
version = "0.18.4"
default-features = false
[dependencies.http]
version = "1"
optional = true
[dependencies.http-body-util]
version = "0.1"
optional = true
[dependencies.hyper]
version = "1"
features = [
"server",
"http1",
"client",
]
optional = true
default-features = false
[dependencies.hyper-util]
version = "0.1"
features = [
"server-auto",
"tokio",
"client-legacy",
"http1",
]
optional = true
[dependencies.itertools]
version = "0.15.0"
[dependencies.log]
version = "0.4.20"
[dependencies.native-tls]
version = "0.2.11"
optional = true
[dependencies.pin-project-lite]
version = "0.2.13"
optional = true
[dependencies.quick-error]
version = "2.0.1"
[dependencies.regex]
version = "1.9.4"
optional = true
[dependencies.salsa]
version = "0.15.2"
package = "gluon-salsa"
[dependencies.serde]
version = "1.0.188"
optional = true
[dependencies.serde_derive_state]
version = "0.4.10"
optional = true
[dependencies.serde_state]
version = "0.4.8"
optional = true
[dependencies.tokio]
version = "1.32.0"
features = [
"sync",
"rt",
]
optional = true
[dependencies.tokio-native-tls]
version = "0.3.1"
optional = true
[dependencies.tokio-stream]
version = "0.1"
features = ["net"]
optional = true
[dependencies.tower-service]
version = "0.3.2"
optional = true
[dev-dependencies.anyhow]
version = "1.0.75"
[dev-dependencies.bincode]
version = "2.0.0"
[dev-dependencies.clap]
version = "4.6.1"
features = ["derive"]
[dev-dependencies.collect-mac]
version = "0.1.0"
[dev-dependencies.criterion]
version = "0.8.2"
[dev-dependencies.env_logger]
version = "0.11"
[dev-dependencies.expect-test]
version = "1.4.1"
[dev-dependencies.gluon_codegen]
version = "0.18.4"
[dev-dependencies.gluon_completion]
version = "0.18.4"
[dev-dependencies.insta]
version = "1.31.0"
[dev-dependencies.pretty_assertions]
version = "1.4.0"
[dev-dependencies.pulldown-cmark]
version = "0.13.4"
[dev-dependencies.serde]
version = "1.0.188"
[dev-dependencies.serde_derive]
version = "1.0.188"
[dev-dependencies.serde_derive_state]
version = "0.4.10"
[dev-dependencies.serde_json]
version = "1.0.105"
[dev-dependencies.tempfile]
version = "3.8.0"
[dev-dependencies.tensile]
version = "0.8"
features = ["tokio"]
[dev-dependencies.thiserror]
version = "2"
[dev-dependencies.tokio]
version = "1.32.0"
features = [
"macros",
"rt-multi-thread",
"fs",
]
[dev-dependencies.walkdir]
version = "2.3.3"
[build-dependencies.gluon_base]
version = "0.18.4"
[build-dependencies.itertools]
version = "0.15.0"
[build-dependencies.little-skeptic]
version = "0.15.2"
optional = true
[build-dependencies.walkdir]
version = "2.3.3"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rand]
version = "0.10"
optional = true
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rand_xorshift]
version = "0.5"
optional = true
[profile.bench]
debug = 2
[profile.release]
debug = 2