ic-platform 0.1.5

Controlled Candid and IC runtime dependency boundary
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.88.0"
name = "ic-platform"
version = "0.1.5"
build = false
include = [
    "src/**",
    "README.md",
    "LICENSE",
    "Cargo.toml",
]
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Controlled Candid and IC runtime dependency boundary"
readme = "README.md"
license = "MIT"
repository = "https://github.com/dragginzgame/ic-platform"

[features]
agent = ["dep:ic-agent"]
candid = [
    "dep:candid",
    "candid/bignum",
    "candid/printer",
    "dep:serde",
]
candid-parser = ["dep:candid_parser"]
certification = ["dep:ic-certification"]
default = []
executor = ["dep:ic-cdk-executor"]
ic0 = ["dep:ic0"]
management-canister-types = ["dep:ic-management-canister-types"]

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

[dependencies.candid]
version = "0.10.38"
optional = true
default-features = false

[dependencies.ic-cdk-executor]
version = "=2.0.0"
optional = true

[dependencies.ic-certification]
version = "3.2.0"
features = ["serde"]
optional = true
default-features = false

[dependencies.ic-management-canister-types]
version = "=0.11.0"
optional = true

[dependencies.ic0]
version = "=1.2.0"
optional = true

[dependencies.ic_principal]
version = "0.1.5"

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

[target.'cfg(not(target_family = "wasm"))'.dependencies.candid_parser]
version = "0.4.1"
optional = true
default-features = false

[target.'cfg(not(target_family = "wasm"))'.dependencies.ic-agent]
version = "0.49.2"
features = ["pem"]
optional = true
default-features = false

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

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