Home
last modified time | relevance | path

Searched refs:compile_protos (Results 1 – 25 of 25) sorted by relevance

/tonic/examples/
H A Dbuild.rs6 .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 Dhelloworld-tutorial.md131 tonic_build::compile_protos("proto/helloworld.proto")?;
H A Drouteguide-tutorial.md195 tonic_build::compile_protos("proto/route_guide.proto")
819 .compile_protos(&["path/my_proto.proto"], &["path"])
/tonic/tests/integration_tests/
H A Dbuild.rs2 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 Dbuild.rs3 .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 Dbuild.rs2 prost_build::compile_protos(&["uuid/uuid.proto"], &["../proto/"]).unwrap(); in main()
/tonic/tests/ambiguous_methods/
H A Dbuild.rs2 tonic_build::compile_protos("proto/ambiguous_methods.proto").unwrap(); in main()
/tonic/tests/wellknown/
H A Dbuild.rs2 tonic_build::compile_protos("proto/wellknown.proto").unwrap(); in main()
/tonic/tests/deprecated_methods/
H A Dbuild.rs2 tonic_build::compile_protos("proto/test.proto").unwrap(); in main()
/tonic/tests/service_named_result/
H A Dbuild.rs2 tonic_build::compile_protos("proto/result.proto").unwrap(); in main()
/tonic/tests/compression/
H A Dbuild.rs2 tonic_build::compile_protos("proto/test.proto").unwrap(); in main()
/tonic/tests/service_named_service/
H A Dbuild.rs2 tonic_build::compile_protos("proto/foo.proto").unwrap(); in main()
/tonic/tests/included_service/
H A Dbuild.rs2 tonic_build::compile_protos("proto/includer.proto").unwrap(); in main()
/tonic/tests/stream_conflict/
H A Dbuild.rs2 tonic_build::compile_protos("proto/stream_conflict.proto").unwrap(); in main()
/tonic/tests/same_name/
H A Dbuild.rs2 tonic_build::compile_protos("proto/foo.proto").unwrap(); in main()
/tonic/tests/use_arc_self/
H A Dbuild.rs4 .compile_protos(&["proto/test.proto"], &["proto"]) in main()
/tonic/interop/
H A Dbuild.rs4 tonic_build::compile_protos(proto).unwrap(); in main()
/tonic/tests/skip_debug/
H A Dbuild.rs7 .compile_protos(&["proto/test.proto"], &["proto"]) in main()
/tonic/tests/root-crate-path/
H A Dbuild.rs4 .compile_protos(&["foo.proto"], &["."])?; in main()
/tonic/tests/extern_path/my_application/
H A Dbuild.rs6 .compile_protos( in main()
/tonic/tests/web/
H A Dbuild.rs5 .compile_protos(protos, &["proto"]) in main()
/tonic/tonic-build/
H A DREADME.md25 tonic_build::compile_protos("proto/service.proto")?;
36 .compile_protos(
77 .compile_protos(
/tonic/
H A DREADME.md48 … 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 Dprost.rs53 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 Dlib.rs83 pub use prost::{compile_fds, compile_protos, configure, Builder};