[package]
name = "baryl"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
authors.workspace = true
description = "Public SDK for Baryl, a full-system emulation and introspection engine"
[dependencies]
baryl-macros.workspace = true
derive_more.workspace = true
zerocopy.workspace = true
anyhow = { workspace = true, optional = true }
clap = { workspace = true, optional = true }
gxhash = { workspace = true, optional = true }
lexopt = { workspace = true, optional = true }
libc = { workspace = true, optional = true }
log = { workspace = true, optional = true }
log4rs = { workspace = true, optional = true }
serde = { workspace = true, optional = true }
toml = { workspace = true, optional = true }
[package.metadata.docs.rs]
features = ["cli", "component", "config", "control", "logging", "x86_64"]
[features]
default = ["component", "x86_64"]
cli = ["config", "logging", "dep:clap", "dep:libc", "dep:lexopt", "dep:toml"]
config = ["control", "dep:serde"]
control = []
logging = ["dep:log", "dep:log4rs", "dep:anyhow"]
component = ["control", "logging", "dep:clap"]
gxhash = ["dep:gxhash"]
x86_64 = []
[lints]
workspace = true