1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
//! # d-engine-proto
//!
//! gRPC protocol definitions for d-engine - foundation for all client implementations
//!
//! ## When to use this crate
//!
//! - ✅ Building Go/Python/Java clients
//! - ✅ Need raw `.proto` files for code generation
//! - ✅ Custom protocol extensions
//! - ✅ Contributing to d-engine protocol development
//!
//! ## For Rust users
//!
//! If you're writing Rust code, use [`d-engine`](https://crates.io/crates/d-engine) or
//! [`d-engine-client`](https://crates.io/crates/d-engine-client) instead - they provide
//! higher-level APIs on top of these protocol definitions.
//!
//! ```toml
//! [dependencies]
//! d-engine = { version = "0.2", features = ["client"] }
//! ```
//!
//! ## For Non-Rust Developers
//!
//! The `.proto` files are included in this crate. Generate client code for your language:
//!
//! ```bash
//! # Go (✅ Tested - see examples/quick-start-standalone)
//! protoc -I. \
//! --go_out=./go \
//! --go_opt=module=github.com/deventlab/d-engine/proto \
//! --go-grpc_out=./go \
//! --go-grpc_opt=module=github.com/deventlab/d-engine/proto \
//! proto/common.proto \
//! proto/error.proto \
//! proto/client/client_api.proto
//!
//! # Python (⚠️ Command verified, end-to-end integration not yet tested)
//! protoc --python_out=./out \
//! proto/common.proto \
//! proto/error.proto \
//! proto/client/client_api.proto
//! ```
//!
//! **Language Support Status:**
//! - ✅ **Go** - Production-ready with working example
//! - ⚠️ **Python** - Proto generation verified, client integration pending
//! - 🔜 **Other languages** - Community contributions welcome
//!
//! Protocol files are located in the source repository under `d-engine-proto/proto/`.
//!
//! ## Documentation
//!
//! For language-specific integration guides:
//! - [Go Client Example](https://github.com/deventlab/d-engine/tree/main/examples/quick-start-standalone)
//!
//! ## Protocol Modules
//!
//! This crate provides protobuf-generated Rust types organized by service area: