#
# Copyright (c) 2023 ZettaScale Technology
#
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License 2.0 which is available at
# http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
# which is available at https://www.apache.org/licenses/LICENSE-2.0.
#
# SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
#
# Contributors:
#   ZettaScale Zenoh Team, <zenoh@zettascale.tech>
#
[package]
rust-version = { workspace = true }
name = "zenoh-shm"
version = { workspace = true }
repository = { workspace = true }
homepage = { workspace = true }
authors = [
	"kydos <angelo@icorsaro.net>",
	"Luca Cominardi <luca.cominardi@zettascale.tech>",
	"Pierre Avital <pierre.avital@zettascale.tech>",
]
edition = { workspace = true }
license = { workspace = true }
categories = { workspace = true }
description = "Internal crate for zenoh."
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[features]
test = ["num_cpus"]

[dependencies]
async-trait = { workspace = true }
crc = { workspace = true }
tracing = { workspace = true }
shared_memory = { workspace = true }
tokio = { workspace = true }
zenoh-result = { workspace = true }
zenoh-core = { workspace = true }
zenoh-macros = { workspace = true }
zenoh-buffers = { workspace = true }
rand = { workspace = true }
static_init = { workspace = true }
num-traits = { workspace = true }
num_cpus = { workspace = true, optional = true }
thread-priority = { workspace = true }
stabby = { workspace = true }
crossbeam-queue = { workspace = true }

[target.'cfg(unix)'.dependencies]
advisory-lock = { workspace = true }

[dev-dependencies]
libc = { workspace = true }