# 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 = "codemp" version = "0.8.4" authors = [ "alemi ", "zaaarf ", "frelodev ", "cschen ", ] build = "build.rs" exclude = ["dist/*"] autobins = false autoexamples = false autotests = false autobenches = false description = "codemp -- code multiplexer" homepage = "https://code.mp" readme = "README.md" license = "GPL-3.0-only" repository = "https://github.com/hexedtech/codemp" [package.metadata.docs.rs] features = ["serialize"] [profile.release] opt-level = "z" lto = true codegen-units = 1 strip = "symbols" [lib] name = "codemp" crate-type = [ "cdylib", "rlib", ] path = "src/lib.rs" [dependencies.async-trait] version = "0.1" optional = true [dependencies.codemp-proto] version = "0.7" [dependencies.dashmap] version = "6.1" [dependencies.diamond-types] version = "1.0" [dependencies.jni] version = "0.21" features = ["invocation"] optional = true [dependencies.jni-toolbox] version = "0.2" features = ["uuid"] optional = true [dependencies.lazy_static] version = "1.5" optional = true [dependencies.mlua] version = "0.10" features = [ "module", "serialize", "error-send", ] optional = true [dependencies.napi] version = "2.16" features = ["full"] optional = true [dependencies.napi-derive] version = "2.16" optional = true [dependencies.pyo3] version = "0.22" features = [ "extension-module", "multiple-pymethods", ] optional = true [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1.40" features = [ "macros", "rt-multi-thread", "sync", ] [dependencies.tokio-stream] version = "0.1" [dependencies.tonic] version = "0.12" features = [ "tls", "tls-roots", ] [dependencies.tracing] version = "0.1" [dependencies.tracing-subscriber] version = "0.3" optional = true [dependencies.uuid] version = "1.10" features = ["v4"] [dependencies.xxhash-rust] version = "0.8" features = ["xxh3"] [build-dependencies.napi-build] version = "2.1" optional = true [build-dependencies.pyo3-build-config] version = "0.22" optional = true [features] async-trait = ["dep:async-trait"] default = [ "lua-jit", "py-abi3", ] java = [ "dep:lazy_static", "dep:jni", "dep:tracing-subscriber", "dep:jni-toolbox", ] js = [ "dep:napi-build", "dep:tracing-subscriber", "dep:napi", "dep:napi-derive", ] lua = [ "serialize", "dep:mlua", "dep:tracing-subscriber", "dep:lazy_static", ] lua-54 = ["mlua?/lua54"] lua-jit = ["mlua?/luajit"] py = [ "dep:pyo3", "dep:tracing-subscriber", "dep:pyo3-build-config", ] py-abi3 = ["pyo3?/abi3-py38"] serialize = [ "dep:serde", "uuid/serde", ] test-e2e = []