[package]
edition = "2021"
rust-version = "1.85"
name = "ling-lang"
version = "2030.1.21"
authors = [
"Ling Lin <taellinglin@gmail.com>",
"Sanny Lin <SannyLing53@gmail.com>",
]
build = "build.rs"
exclude = [
"assets/",
"examples/",
"docs/",
"instruments/",
"lexicons/",
"chinese-room-web/",
"dist/",
"recordings/",
"cache/",
"*.svg",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ling - The Omniglot Systems Language"
homepage = "https://ling-lang.org"
documentation = "https://docs.ling-lang.org"
readme = "README.md"
keywords = [
"systems",
"polyglot",
"ai",
"crypto",
"game",
]
categories = [
"compilers",
"graphics",
"game-development",
"artificial-intelligence",
"cryptography",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/taellinglin/ling"
[package.metadata.docs.rs]
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
llvm = []
[lib]
name = "ling"
path = "src/lib.rs"
[[bin]]
name = "ling"
path = "src/main.rs"
[[bin]]
name = "ling-repl"
path = "src/bin/ling-repl.rs"
[[bin]]
name = "lingc"
path = "src/bin/lingc.rs"
[[bin]]
name = "lx"
path = "src/bin/lx.rs"
[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"
[[test]]
name = "language_system"
path = "tests/language_system.rs"
[dependencies.base64]
version = "0.22"
[dependencies.flate2]
version = "1"
[dependencies.glam]
version = "0.28"
[dependencies.ling-ast]
version = "2030.0.0"
[dependencies.ling-codegen]
version = "2030.0.0"
[dependencies.ling-core]
version = "2030.0.0"
[dependencies.ling-game]
version = "2030.1"
[dependencies.ling-graphics]
version = "2030.0.1"
[dependencies.ling-mir]
version = "2030.0.0"
[dependencies.ling-physics]
version = "2030.1"
features = ["with-gltf"]
[build-dependencies.lalrpop]
version = "0.22"
[build-dependencies.winresource]
version = "0.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.ling-ai]
version = "2030.0.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.ling-audio]
version = "2030.0.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.ling-crypto]
version = "2030.1.3"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.ling-icon]
version = "2030.0.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.ling-mic]
version = "2030.0.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.ling-music]
version = "2030.0.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.ling-ui]
version = "2030.0.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.minifb]
version = "0.27"
[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"
[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3"
features = [
"console",
"OffscreenCanvas",
"WebGl2RenderingContext",
"WebGlProgram",
"WebGlShader",
"WebGlBuffer",
"WebGlUniformLocation",
"AudioContext",
"AudioContextOptions",
"AudioDestinationNode",
"AudioListener",
"AudioNode",
"AudioParam",
"BaseAudioContext",
"GainNode",
"OscillatorNode",
"OscillatorType",
"PannerNode",
"PanningModelType",
"DistanceModelType",
]
[profile.dev]
opt-level = 1
debug = 2
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"