ic-platform-runtime 0.19.3

Canonical IC system API, executor and raw call runtime
Documentation
# 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"
rust-version = "1.99.1"
name = "ic-platform-runtime"
version = "0.19.3"
build = false
include = [
    "src/**",
    "README.md",
    "LICENSE",
    "Cargo.toml",
]
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Canonical IC system API, executor and raw call runtime"
readme = "README.md"
license = "MIT AND Apache-2.0"
repository = "https://github.com/dragginzgame/ic-platform"

[features]
cdk = [
    "runtime",
    "dep:ic-platform-macros",
]
default = []
executor = [
    "ic0",
    "dep:slotmap",
    "dep:ic-platform-runtime-guard",
]
ic0 = []
runtime = [
    "executor",
    "dep:ic-platform-types",
    "dep:pin-project-lite",
    "dep:serde",
    "dep:thiserror",
]

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

[dependencies.ic-platform-macros]
version = "0.19.3"
optional = true

[dependencies.ic-platform-runtime-guard]
version = "=0.19.3"
optional = true
default-features = false

[dependencies.ic-platform-types]
version = "0.18.2"
optional = true
default-features = false

[dependencies.pin-project-lite]
version = "0.2.17"
optional = true

[dependencies.serde]
version = "1.0"
features = [
    "derive",
    "alloc",
]
optional = true
default-features = false

[dependencies.slotmap]
version = "1.1.1"
optional = true

[dependencies.thiserror]
version = "2.0.18"
optional = true

[dev-dependencies.serde_test]
version = "1.0.177"

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

[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"