# 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"
rust-version = "1.76"
name = "scenekit-rs"
version = "0.1.0"
authors = ["Per Johansson <per@doom.fish>"]
build = "build.rs"
include = [
    "src/**/*",
    "examples/**/*",
    "swift-bridge/Package.swift",
    "swift-bridge/Sources/**/*",
    "build.rs",
    "Cargo.toml",
    "README.md",
    "LICENSE-*",
    "CHANGELOG.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Safe Rust bindings for Apple's SceneKit framework — scene graphs, materials, actions, physics, and offline Metal rendering on macOS"
homepage = "https://github.com/doom-fish/scenekit-rs"
readme = "README.md"
keywords = [
    "scenekit",
    "3d",
    "metal",
    "macos",
    "apple",
]
categories = [
    "api-bindings",
    "graphics",
    "os::macos-apis",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/doom-fish/scenekit-rs"

[package.metadata.docs.rs]
all-features = true
default-target = "aarch64-apple-darwin"
targets = [
    "aarch64-apple-darwin",
    "x86_64-apple-darwin",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[badges.maintenance]
status = "actively-developed"

[features]
cargo-clippy = []
default = []

[lib]
name = "scenekit"
crate-type = ["lib"]
path = "src/lib.rs"

[[example]]
name = "01_offline_render_smoke"
path = "examples/01_offline_render_smoke.rs"

[dependencies.apple-cf]
version = ">=0.4.0, <0.6"

[dependencies.apple-metal]
version = ">=0.5.0, <0.6"

[dependencies.libc]
version = "0.2"

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

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

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

[lints.rust]

[profile.release]
debug = 2
strip = "none"
