# 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"
name = "swift-rs"
version = "1.0.5"
authors = ["The swift-rs contributors"]
build = "src-rs/test-build.rs"
exclude = [
    "/src-swift",
    "*.swift",
]
description = "Call Swift from Rust with ease!"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/Brendonovich/swift-rs"

[package.metadata."docs.rs"]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[lib]
path = "src-rs/lib.rs"

[dependencies.base64]
version = "0.21.0"

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

[dependencies.serde_json]
version = "1.0"
optional = true

[dev-dependencies.serial_test]
version = "0.10"

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

[build-dependencies.serde_json]
version = "1.0"

[features]
build = [
    "serde",
    "serde_json",
]
default = []
