# 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 = "cxc" version = "0.3.1" include = [ "/src/**/*", "/Cargo.toml", "/README.md", "LICENSE*", ] description = "A high performance scripting language" homepage = "http://amjoshuamichael.com/cxc/" readme = "README.md" keywords = [ "scripting", "scripting-language", ] license = "MIT OR Apache-2.0" repository = "https://github.com/amjoshuamichael/cxc/" [profile.release] opt-level = 3 [profile.test] opt-level = 3 debug = 2 [[bin]] name = "tests" path = "src/tests.rs" test = true [dependencies.bytemuck] version = "1" optional = true default-features = false [dependencies.cranelift] version = "0.101.3" optional = true [dependencies.cranelift-jit] version = "0.101.3" optional = true [dependencies.cranelift-module] version = "0.101.3" optional = true [dependencies.cranelift-native] version = "0.101.3" optional = true [dependencies.cxc_derive] version = "0.2" [dependencies.indexmap] version = "1" [dependencies.inkwell] version = "0.2" features = ["llvm15-0"] optional = true [dependencies.lazy_static] version = "1" [dependencies.libc] version = "0.2" optional = true [dependencies.llvm-sys] version = "150" optional = true [dependencies.logos] version = "0.12.0" [dependencies.passable] version = "1" [dependencies.region] version = "3" optional = true [dependencies.slotmap] version = "1" [features] backend-cranelift = [ "cranelift", "cranelift-jit", "cranelift-module", "cranelift-native", ] backend-debug = [] backend-interpreter = [ "region", "libc", ] backend-llvm = [ "llvm-sys", "inkwell", ] default = [ "backend-cranelift", "ffi-assertions", ] ffi-assertions = ["region"] mir-debug = [] show-bytes = [] xc-debug = []