| /tonic/examples/ |
| H A D | build.rs | 6 .compile_protos(&["proto/routeguide/route_guide.proto"], &["proto"]) in main() 12 .compile_protos(&["proto/helloworld/helloworld.proto"], &["proto"]) in main() 15 tonic_build::compile_protos("proto/echo/echo.proto").unwrap(); in main() 17 tonic_build::compile_protos("proto/unaryecho/echo.proto").unwrap(); in main() 24 .compile_protos(&["proto/attrs/attrs.proto"], &["proto"]) in main() 29 .compile_protos( in main() 42 .compile_protos(&["proto/helloworld/helloworld.proto"], &["proto"]) in main()
|
| H A D | helloworld-tutorial.md | 131 tonic_build::compile_protos("proto/helloworld.proto")?;
|
| H A D | routeguide-tutorial.md | 195 tonic_build::compile_protos("proto/route_guide.proto") 819 .compile_protos(&["path/my_proto.proto"], &["path"])
|
| /tonic/tests/integration_tests/ |
| H A D | build.rs | 2 tonic_build::compile_protos("proto/test.proto").unwrap(); in main() 3 tonic_build::compile_protos("proto/stream.proto").unwrap(); in main()
|
| /tonic/tests/default_stubs/ |
| H A D | build.rs | 3 .compile_protos(&["proto/test.proto"], &["proto"]) in main() 7 .compile_protos(&["proto/test_default.proto"], &["proto"]) in main()
|
| /tonic/tests/extern_path/uuid/ |
| H A D | build.rs | 2 prost_build::compile_protos(&["uuid/uuid.proto"], &["../proto/"]).unwrap(); in main()
|
| /tonic/tests/ambiguous_methods/ |
| H A D | build.rs | 2 tonic_build::compile_protos("proto/ambiguous_methods.proto").unwrap(); in main()
|
| /tonic/tests/wellknown/ |
| H A D | build.rs | 2 tonic_build::compile_protos("proto/wellknown.proto").unwrap(); in main()
|
| /tonic/tests/deprecated_methods/ |
| H A D | build.rs | 2 tonic_build::compile_protos("proto/test.proto").unwrap(); in main()
|
| /tonic/tests/service_named_result/ |
| H A D | build.rs | 2 tonic_build::compile_protos("proto/result.proto").unwrap(); in main()
|
| /tonic/tests/compression/ |
| H A D | build.rs | 2 tonic_build::compile_protos("proto/test.proto").unwrap(); in main()
|
| /tonic/tests/service_named_service/ |
| H A D | build.rs | 2 tonic_build::compile_protos("proto/foo.proto").unwrap(); in main()
|
| /tonic/tests/included_service/ |
| H A D | build.rs | 2 tonic_build::compile_protos("proto/includer.proto").unwrap(); in main()
|
| /tonic/tests/stream_conflict/ |
| H A D | build.rs | 2 tonic_build::compile_protos("proto/stream_conflict.proto").unwrap(); in main()
|
| /tonic/tests/same_name/ |
| H A D | build.rs | 2 tonic_build::compile_protos("proto/foo.proto").unwrap(); in main()
|
| /tonic/tests/use_arc_self/ |
| H A D | build.rs | 4 .compile_protos(&["proto/test.proto"], &["proto"]) in main()
|
| /tonic/interop/ |
| H A D | build.rs | 4 tonic_build::compile_protos(proto).unwrap(); in main()
|
| /tonic/tests/skip_debug/ |
| H A D | build.rs | 7 .compile_protos(&["proto/test.proto"], &["proto"]) in main()
|
| /tonic/tests/root-crate-path/ |
| H A D | build.rs | 4 .compile_protos(&["foo.proto"], &["."])?; in main()
|
| /tonic/tests/extern_path/my_application/ |
| H A D | build.rs | 6 .compile_protos( in main()
|
| /tonic/tests/web/ |
| H A D | build.rs | 5 .compile_protos(protos, &["proto"]) in main()
|
| /tonic/tonic-build/ |
| H A D | README.md | 25 tonic_build::compile_protos("proto/service.proto")?; 36 .compile_protos( 77 .compile_protos(
|
| /tonic/ |
| H A D | README.md | 48 … some APIs which compile Protocol Buffers resource files such as [`tonic_build::compile_protos()`]. 51 [`tonic_build::compile_protos()`]: https://docs.rs/tonic-build/latest/tonic_build/fn.compile_protos…
|
| /tonic/tonic-build/src/ |
| H A D | prost.rs | 53 pub fn compile_protos(proto: impl AsRef<Path>) -> io::Result<()> { in compile_protos() function 61 self::configure().compile_protos(&[proto_path], &[proto_dir]) in compile_protos() 604 pub fn compile_protos( in compile_protos() method 634 config.compile_protos(protos, includes) in compile_protos_with_config()
|
| H A D | lib.rs | 83 pub use prost::{compile_fds, compile_protos, configure, Builder};
|