[dependencies.zlink-smol]
default-features = false
optional = true
version = "=0.3.0"
[dependencies.zlink-tokio]
default-features = false
optional = true
version = "=0.3.0"
[dev-dependencies.clap]
features = ["derive"]
version = "4.0"
[dev-dependencies.colored]
version = "3.0"
[dev-dependencies.futures-util]
default-features = false
features = ["async-await"]
version = "0.3.31"
[dev-dependencies.rustix]
features = ["process"]
version = "1.1.2"
[dev-dependencies.serde]
default-features = false
features = ["derive"]
version = "1.0.218"
[dev-dependencies.serde-prefix-all]
version = "0.1.0"
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.serde_repr]
version = "0.1.20"
[dev-dependencies.tempfile]
version = "3.8"
[dev-dependencies.test-log]
default-features = false
features = ["trace", "color"]
version = "0.2.17"
[dev-dependencies.tokio]
features = ["macros", "rt", "rt-multi-thread", "test-util", "fs", "net"]
version = "1.44.0"
[dev-dependencies.tracing-subscriber]
version = "0.3.19"
[[example]]
name = "resolved"
path = "examples/resolved.rs"
required-features = ["proxy", "tokio"]
[[example]]
name = "varlink-inspect"
path = "examples/varlink-inspect.rs"
required-features = ["introspection", "idl-parse", "tokio"]
[features]
default = ["tokio", "server", "proxy", "tracing"]
defmt = ["zlink-tokio?/defmt", "zlink-smol?/defmt"]
idl = ["zlink-tokio?/idl", "zlink-smol?/idl"]
idl-parse = ["zlink-tokio?/idl-parse", "zlink-smol?/idl-parse"]
introspection = ["zlink-tokio?/introspection", "zlink-smol?/introspection"]
proxy = ["zlink-tokio?/proxy", "zlink-smol?/proxy"]
server = ["zlink-tokio?/server", "zlink-smol?/server"]
smol = ["dep:zlink-smol"]
tokio = ["dep:zlink-tokio"]
tracing = ["zlink-tokio?/tracing", "zlink-smol?/tracing"]
[lib]
name = "zlink"
path = "src/lib.rs"
[package]
authors = ["Zeeshan Ali Khan<zeenix@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Async Varlink API"
edition = "2021"
license = "MIT"
name = "zlink"
readme = "README.md"
repository = "https://github.com/z-galaxy/zlink/"
rust-version = "1.83"
version = "0.3.0"
[[test]]
name = "integration_test_custom_type"
path = "tests/integration_test_custom_type.rs"
[[test]]
name = "integration_test_custom_type_derive"
path = "tests/integration_test_custom_type_derive.rs"
[[test]]
name = "integration_test_type"
path = "tests/integration_test_type.rs"
[[test]]
name = "lowlevel-ftl"
path = "tests/lowlevel-ftl.rs"
[[test]]
name = "machined_proxy_e2e"
path = "tests/machined_proxy_e2e.rs"
[[test]]
name = "mock_machined_service"
path = "tests/mock_machined_service.rs"
[[test]]
name = "peer_credentials"
path = "tests/peer_credentials.rs"