[package] name = "eagle" version = "0.2.0" description = "A simple library for creating RPC protocols." repository = "https://git.colon-three.com/kodi/eagle" authors = ["KodiCraft "] license = "AGPL-3.0" edition = "2021" resolver = "2" [features] default = ["tcp", "log"] tcp = ["tokio/net"] unix = ["tokio/net"] log = ["dep:log", "dep:env_logger"] [dependencies] proc-macro2 = "1.0.85" quote = "1.0.36" rand = "0.8.5" ron = "0.8.1" serde = { version = "1.0.203", features = ["serde_derive"] } syn = "2.0.66" tokio = { version = "1.38.0", features = ["sync", "io-util"] } env_logger = { version = "0.11.3", optional = true } log = { version = "0.4.21", optional = true } [dev-dependencies] tokio = { version = "1.38.0", features = ["sync", "rt-multi-thread", "macros", "time", "io-util", "net"] } env_logger = "0.11.3" log = "0.4.21" tokio-test = "0.4.4" [lib] proc-macro = true [[test]] name = "tests" path = "tests/mod.rs"