diff --git a/api/rust_grpc/Cargo.toml b/api/rust_grpc/Cargo.toml index 3e873f4..0d0caf2 100644 --- a/api/rust_grpc/Cargo.toml +++ b/api/rust_grpc/Cargo.toml @@ -1,19 +1,23 @@ [package] name = "pinnacle-api" -version = "0.0.1" +version = "0.0.2" edition = "2021" +authors = ["Ottatop "] +description = "The Rust implementation of the Pinnacle compositor's configuration API" +license = "MPL-2.0" +repository = "https://github.com/pinnacle-comp/pinnacle" +keywords = ["compositor", "pinnacle", "api", "config"] +categories = ["api-bindings", "config"] [dependencies] pinnacle-api-defs = { path = "../../pinnacle-api-defs" } pinnacle-api-macros = { path = "./pinnacle-api-macros" } tokio = { version = "1.35.1", features = ["macros", "rt-multi-thread", "net"] } -# tokio-stream = { version = "0.1.14", features = ["net"] } async-net = "2.0.0" async-compat = "0.2.3" tonic = "0.10.2" tower = { version = "0.4.13", features = ["util"] } futures = "0.3.30" -# futures-lite = "2.2.0" num_enum = "0.7.2" xkbcommon = "0.7.0" diff --git a/api/rust_grpc/src/lib.rs b/api/rust_grpc/src/lib.rs index 92f5b1c..e573209 100644 --- a/api/rust_grpc/src/lib.rs +++ b/api/rust_grpc/src/lib.rs @@ -109,7 +109,7 @@ static OUTPUT: OnceLock = OnceLock::new(); static TAG: OnceLock = OnceLock::new(); /// A struct containing static references to all of the configuration structs. -#[derive(Debug, Clone)] +#[derive(Debug, Clone, Copy)] pub struct ApiModules { /// The [`Pinnacle`] struct pub pinnacle: &'static Pinnacle,