[package]
edition = "2021"
rust-version = "1.85"
name = "imitatort"
version = "0.0.1-SNAPSHOT-dev.20260302111239"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "轻量级多Agent公司模拟框架"
homepage = "https://github.com/ImitatorT/ImitatorT"
documentation = "https://docs.rs/imitatort"
readme = "README.md"
keywords = [
"ai",
"agents",
"simulation",
"multi-agent",
"framework",
]
categories = [
"development-tools",
"simulation",
"api-bindings",
]
license = "MIT"
repository = "https://github.com/ImitatorT/ImitatorT"
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }.tar.gz"
bin-dir = "{ name }-{ target }/{ bin }{ binary-ext }"
exclude = [
"/frontend/",
"/.github/",
"/tests/",
"/target/",
"/example/",
"Cargo.toml.orig",
]
[lib]
name = "imitatort"
path = "src/lib.rs"
[[bin]]
name = "imitatort"
path = "src/main.rs"
[[test]]
name = "ai_agent_behavior_tests"
path = "tests/ai_agent_behavior_tests.rs"
[[test]]
name = "application_autonomous"
path = "tests/application_autonomous.rs"
[[test]]
name = "application_framework"
path = "tests/application_framework.rs"
[[test]]
name = "backend_api_tests"
path = "tests/backend_api_tests.rs"
[[test]]
name = "business_function_e2e_tests"
path = "tests/business_function_e2e_tests.rs"
[[test]]
name = "core_agent"
path = "tests/core_agent.rs"
[[test]]
name = "core_messaging"
path = "tests/core_messaging.rs"
[[test]]
name = "core_store"
path = "tests/core_store.rs"
[[test]]
name = "core_tool"
path = "tests/core_tool.rs"
[[test]]
name = "core_tool_provider"
path = "tests/core_tool_provider.rs"
[[test]]
name = "core_watchdog"
path = "tests/core_watchdog.rs"
[[test]]
name = "default_tools"
path = "tests/default_tools.rs"
[[test]]
name = "domain_agent"
path = "tests/domain_agent.rs"
[[test]]
name = "domain_agent_mode"
path = "tests/domain_agent_mode.rs"
[[test]]
name = "domain_message"
path = "tests/domain_message.rs"
[[test]]
name = "domain_org"
path = "tests/domain_org.rs"
[[test]]
name = "domain_tool"
path = "tests/domain_tool.rs"
[[test]]
name = "group_creation_tests"
path = "tests/group_creation_tests.rs"
[[test]]
name = "infrastructure_framework_tools"
path = "tests/infrastructure_framework_tools.rs"
[[test]]
name = "infrastructure_llm"
path = "tests/infrastructure_llm.rs"
[[test]]
name = "infrastructure_logger"
path = "tests/infrastructure_logger.rs"
[[test]]
name = "infrastructure_store_sqlite"
path = "tests/infrastructure_store_sqlite.rs"
[[test]]
name = "infrastructure_tool"
path = "tests/infrastructure_tool.rs"
[[test]]
name = "integration_agent_watchdog"
path = "tests/integration_agent_watchdog.rs"
[[test]]
name = "integration_user_management"
path = "tests/integration_user_management.rs"
[[test]]
name = "message_storage_tests"
path = "tests/message_storage_tests.rs"
[[test]]
name = "user_management_test"
path = "tests/user_management_test.rs"
[[test]]
name = "watchdog_agent_default_registration"
path = "tests/watchdog_agent_default_registration.rs"
[[test]]
name = "web_auth_tests"
path = "tests/web_auth_tests.rs"
[dependencies.anyhow]
version = "1"
[dependencies.async-openai]
version = "0.33"
features = ["chat-completion"]
[dependencies.async-trait]
version = "0.1"
[dependencies.axum]
version = "0.8"
features = ["ws"]
[dependencies.bcrypt]
version = "0.15"
[dependencies.chrono]
version = "0.4"
features = ["clock"]
default-features = false
[dependencies.dashmap]
version = "6"
[dependencies.dotenv]
version = "0.15"
[dependencies.eventsource-stream]
version = "0.2"
[dependencies.futures-util]
version = "0.3"
[dependencies.jsonwebtoken]
version = "9"
[dependencies.rand]
version = "0.8"
[dependencies.reqwest]
version = "0.12"
features = ["json"]
[dependencies.rusqlite]
version = "0.32"
features = ["bundled"]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.sha2]
version = "0.10"
[dependencies.swarms-rs]
version = "0.1"
[dependencies.thiserror]
version = "1"
[dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"sync",
"time",
"fs",
"process",
]
[dependencies.tokio-tungstenite]
version = "0.24"
[dependencies.tower]
version = "0.5"
[dependencies.tower-http]
version = "0.6"
features = [
"cors",
"fs",
]
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"fmt",
"env-filter",
]
[dependencies.url]
version = "2"
[dependencies.uuid]
version = "1"
features = ["v4"]
[dev-dependencies.tempfile]
version = "3"
[profile.release]
lto = true
codegen-units = 1
panic = "abort"
strip = true