# 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 = "kernelx-core" version = "0.0.1" authors = ["hxphsts@kernelx.ai"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "𐲕" homepage = "https://kernelx.ai" readme = "README.md" license = "Apache-2.0" [lib] name = "kernelx_core" path = "src/lib.rs" [[example]] name = "embedding" path = "examples/embedding.rs" [[example]] name = "imagen" path = "examples/imagen.rs" [[example]] name = "openai" path = "examples/openai.rs" [[example]] name = "openai_like" path = "examples/openai_like.rs" [[example]] name = "structured" path = "examples/structured.rs" [[example]] name = "system_prompt" path = "examples/system_prompt.rs" [[example]] name = "tei" path = "examples/tei.rs" [[example]] name = "tui" path = "examples/tui.rs" [[example]] name = "xai" path = "examples/xai.rs" [[test]] name = "test_capabilities" path = "tests/test_capabilities.rs" [[test]] name = "test_capabilities_composite" path = "tests/test_capabilities_composite.rs" [[test]] name = "test_chat_messages" path = "tests/test_chat_messages.rs" [[test]] name = "test_config_flow" path = "tests/test_config_flow.rs" [[test]] name = "test_error" path = "tests/test_error.rs" [[test]] name = "test_lmp_macro" path = "tests/test_lmp_macro.rs" [[test]] name = "test_model" path = "tests/test_model.rs" [[test]] name = "test_model_config" path = "tests/test_model_config.rs" [[test]] name = "test_provider" path = "tests/test_provider.rs" [[test]] name = "test_structured" path = "tests/test_structured.rs" [dependencies.anyhow] version = "1.0.93" [dependencies.async-openai] version = "0.24" [dependencies.async-trait] version = "0.1" [dependencies.crossterm] version = "0.28.1" [dependencies.kernelx-macros] version = "0.0.1" [dependencies.ratatui] version = "0.20" [dependencies.schemars] version = "0.8" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.thiserror] version = "2.0.0" [dependencies.tokio] version = "1.0" features = ["full"] [dev-dependencies.async-trait] version = "0.1" [dev-dependencies.schemars] version = "0.8" [dev-dependencies.serde_json] version = "1.0" [dev-dependencies.tokio] version = "1.0" features = [ "full", "test-util", "macros", "rt-multi-thread", ] [features] default = ["derive"] derive = []