# 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 = "2024"
name = "systemprompt"
version = "0.1.21"
authors = ["Edward Burton"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "systemprompt.io - Extensible AI agent orchestration framework"
homepage = "https://systemprompt.io"
documentation = "https://systemprompt.io/documentation"
readme = "README.md"
keywords = [
    "ai",
    "agents",
    "mcp",
    "llm",
    "orchestration",
]
categories = [
    "api-bindings",
    "development-tools",
]
license = "BUSL-1.1"
repository = "https://github.com/systempromptio/systemprompt-core"
resolver = "2"

[features]
api = [
    "core",
    "database",
    "dep:systemprompt-api",
    "dep:systemprompt-runtime",
    "dep:axum",
]
cli = ["dep:systemprompt-cli"]
cloud = ["dep:systemprompt-cloud"]
core = [
    "dep:systemprompt-traits",
    "dep:systemprompt-models",
    "dep:systemprompt-identifiers",
    "dep:systemprompt-extension",
    "dep:systemprompt-template-provider",
]
database = [
    "dep:systemprompt-database",
    "dep:sqlx",
]
default = ["core"]
full = [
    "api",
    "mcp",
    "sync",
    "cloud",
    "cli",
    "dep:systemprompt-agent",
    "dep:systemprompt-ai",
    "dep:systemprompt-mcp",
    "dep:systemprompt-oauth",
    "dep:systemprompt-users",
    "dep:systemprompt-content",
    "dep:systemprompt-analytics",
    "dep:systemprompt-scheduler",
    "dep:systemprompt-generator",
    "dep:systemprompt-logging",
    "systemprompt-logging/cli",
    "dep:systemprompt-config",
    "dep:systemprompt-files",
    "dep:systemprompt-loader",
    "dep:systemprompt-events",
    "dep:systemprompt-client",
    "dep:systemprompt-security",
]
mcp = ["dep:rmcp"]
runtime = [
    "cli",
    "dep:systemprompt-extension",
]
sync = ["dep:systemprompt-sync"]
test-utils = ["cloud"]

[lib]
name = "systemprompt"
path = "src/lib.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.axum]
version = "0.8"
optional = true

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.rmcp]
version = "1.3"
features = [
    "server",
    "client",
    "transport-io",
    "transport-streamable-http-server",
    "transport-streamable-http-server-session",
    "transport-streamable-http-client",
    "transport-streamable-http-client-reqwest",
    "macros",
    "auth",
]
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"
features = ["preserve_order"]

[dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio-rustls",
    "postgres",
    "migrate",
    "chrono",
    "rust_decimal",
]
optional = true

[dependencies.systemprompt-agent]
version = "0.1.0"
optional = true

[dependencies.systemprompt-ai]
version = "0.1.0"
optional = true

[dependencies.systemprompt-analytics]
version = "0.1.0"
optional = true

[dependencies.systemprompt-api]
version = "0.1.0"
optional = true

[dependencies.systemprompt-cli]
version = "0.1.0"
optional = true

[dependencies.systemprompt-client]
version = "0.1.0"
optional = true

[dependencies.systemprompt-cloud]
version = "0.1.0"
optional = true

[dependencies.systemprompt-config]
version = "0.1.0"
optional = true

[dependencies.systemprompt-content]
version = "0.1.0"
optional = true

[dependencies.systemprompt-database]
version = "0.1.0"
optional = true

[dependencies.systemprompt-events]
version = "0.1.0"
optional = true

[dependencies.systemprompt-extension]
version = "0.1.0"
optional = true

[dependencies.systemprompt-files]
version = "0.1.0"
optional = true

[dependencies.systemprompt-generator]
version = "0.1.0"
features = ["image-processing"]
optional = true

[dependencies.systemprompt-identifiers]
version = "0.1.0"
optional = true

[dependencies.systemprompt-loader]
version = "0.1.0"
optional = true

[dependencies.systemprompt-logging]
version = "0.1.0"
optional = true

[dependencies.systemprompt-mcp]
version = "0.1.0"
optional = true

[dependencies.systemprompt-models]
version = "0.1.0"
optional = true

[dependencies.systemprompt-oauth]
version = "0.1.0"
optional = true

[dependencies.systemprompt-runtime]
version = "0.1.0"
features = ["geolocation"]
optional = true

[dependencies.systemprompt-scheduler]
version = "0.1.0"
optional = true

[dependencies.systemprompt-security]
version = "0.1.0"
optional = true

[dependencies.systemprompt-sync]
version = "0.1.0"
optional = true

[dependencies.systemprompt-template-provider]
version = "0.1.0"
optional = true

[dependencies.systemprompt-traits]
version = "0.1.0"
optional = true

[dependencies.systemprompt-users]
version = "0.1.0"
optional = true

[dependencies.thiserror]
version = "2.0"

[dependencies.tracing]
version = "0.1"

[lints.clippy]
cargo_common_metadata = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
clone_on_ref_ptr = "warn"
cognitive_complexity = "deny"
dbg_macro = "deny"
derive_partial_eq_without_eq = "allow"
empty_structs_with_brackets = "warn"
exit = "deny"
expect_used = "warn"
format_push_string = "allow"
if_not_else = "warn"
implicit_clone = "warn"
inefficient_to_string = "warn"
items_after_statements = "warn"
large_futures = "warn"
manual_let_else = "warn"
match_bool = "warn"
match_wild_err_arm = "warn"
missing_docs_in_private_items = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "warn"
option_if_let_else = "warn"
or_fun_call = "warn"
panic = "deny"
print_stderr = "warn"
print_stdout = "warn"
rc_mutex = "deny"
redundant_clone = "warn"
redundant_else = "warn"
rest_pat_in_fully_bound_structs = "warn"
result_unit_err = "allow"
return_self_not_must_use = "allow"
semicolon_if_nothing_returned = "warn"
separated_literal_suffix = "warn"
todo = "deny"
too_many_arguments = "deny"
too_many_lines = "warn"
trivially_copy_pass_by_ref = "allow"
try_err = "warn"
type_complexity = "warn"
unimplemented = "deny"
uninlined_format_args = "allow"
unnecessary_to_owned = "warn"
unnecessary_wraps = "warn"
unused_async = "warn"
unwrap_or_default = "allow"
unwrap_used = "deny"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "deny"
priority = -1

[lints.clippy.perf]
level = "warn"
priority = -1

[lints.clippy.suspicious]
level = "deny"
priority = -1

[lints.rust]
missing_copy_implementations = "warn"
missing_debug_implementations = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unsafe_code = "deny"
unused_import_braces = "warn"
unused_qualifications = "warn"
variant_size_differences = "warn"
