# 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 = "cmod-core" version = "0.4.4" authors = ["rise0chen "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Build a cross-language module with Rust FFI" readme = "README.md" keywords = ["kvdb"] categories = ["development-tools::ffi"] license-file = "LICENSE" repository = "https://github.com/rise0chen/cmod.git" [lib] name = "cmod_core" path = "src/lib.rs" [dependencies.mlua] version = "0.10" features = [ "async", "serialize", ] optional = true [dependencies.pyo3] version = "0.20" features = [ "serde", "extension-module", ] optional = true [dependencies.pyo3-asyncio] version = "0.20" features = ["tokio-runtime"] optional = true [dependencies.pythonize] version = "0.20" optional = true [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde-wasm-bindgen] version = "0.6" optional = true [dependencies.tokio] version = "1" optional = true [dependencies.wasm-bindgen] version = "0.2" optional = true [features] default = [] ffi_lua = ["mlua"] ffi_py = [ "pyo3", "pyo3-asyncio", "pythonize", "tokio", ] ffi_py_asyncio = ["ffi_py"] ffi_wasm = [ "wasm-bindgen", "serde-wasm-bindgen", ] module = ["mlua?/module"]