| /tonic/examples/ |
| H A D | Cargo.toml | 60 required-features = ["tls"] 65 required-features = ["tls"] 90 required-features = ["tower"] 95 required-features = ["tower"] 108 required-features = ["gcp"] 123 required-features = ["uds"] 128 required-features = ["uds"] 166 required-features = ["mock"] 225 required-features = ["h2c"] 230 required-features = ["h2c"] [all …]
|
| H A D | routeguide-tutorial.md | 123 // huge number of features. 179 tokio = { version = "1.0", features = ["rt-multi-thread", "macros", "sync", "time"] } 183 serde = { version = "1.0", features = ["derive"] } 320 features: Arc<Vec<Feature>>, 324 Create the json data file and a helper module to read and deserialize our features. 382 for feature in &self.features[..] { 405 let features = self.features.clone(); 408 for feature in &features[..] { 422 the features that satisfy our constraints into the channel. 453 for feature in &self.features[..] { [all …]
|
| H A D | README.md | 3 Set of examples that show off the features provided by `tonic`.
|
| H A D | helloworld-tutorial.md | 117 tokio = { version = "1.0", features = ["macros", "rt-multi-thread"] }
|
| /tonic/tonic-reflection/ |
| H A D | Cargo.toml | 22 all-features = true 25 [features] 32 tokio = { version = "1.0", features = ["sync", "rt"], optional = true } 33 tokio-stream = {version = "0.1", default-features = false, optional = true } 34 tonic = { version = "0.13.0", path = "../tonic", default-features = false, features = ["codegen", "… 37 tokio-stream = {version = "0.1", default-features = false, features = ["net"]} 38 tonic = { version = "0.13.0", path = "../tonic", default-features = false, features = ["transport"]…
|
| /tonic/interop/ |
| H A D | Cargo.toml | 17 strum = {version = "0.27", features = ["derive"]} 18 pico-args = {version = "0.5", features = ["eq-separator"]} 25 tokio = {version = "1.0", features = ["rt-multi-thread", "time", "macros"]} 27 tonic = {path = "../tonic", features = ["tls-ring"]} 32 tonic-build = {path = "../tonic-build", features = ["prost"]}
|
| /tonic/tonic-health/ |
| H A D | Cargo.toml | 20 tokio = {version = "1.0", features = ["sync"]} 21 tokio-stream = {version = "0.1", default-features = false, features = ["sync"]} 22 tonic = { version = "0.13.0", path = "../tonic", default-features = false, features = ["codegen", "… 25 tokio = {version = "1.0", features = ["rt-multi-thread", "macros"]}
|
| H A D | README.md | 3 …/blob/master/doc/health-checking.md), although it may not implement all features described in the …
|
| /tonic/tonic/ |
| H A D | Cargo.toml | 25 [features] 72 tokio-stream = {version = "0.1.16", default-features = false} 75 prost = {version = "0.13", default-features = false, features = ["std"], optional = true} 84 socket2 = { version = "0.5", optional = true, features = ["all"] } 85 tokio = {version = "1", default-features = false, optional = true} 86 tower = {version = "0.5", default-features = false, optional = true} 87 axum = {version = "0.8", default-features = false, optional = true} 91 tokio-rustls = { version = "0.26.1", default-features = false, features = ["logging", "tls12"], opt… 107 tokio = {version = "1.0", features = ["rt", "macros"]} 108 tower = {version = "0.5", features = ["full"]} [all …]
|
| /tonic/tests/integration_tests/ |
| H A D | Cargo.toml | 12 tokio = {version = "1.0", features = ["macros", "rt-multi-thread", "net", "sync"]} 21 rustls = {version = "0.23", features = ["ring"]} 22 tokio-stream = {version = "0.1.5", features = ["net"]} 24 tower-http = { version = "0.6", features = ["set-header", "trace"] }
|
| /tonic/.github/workflows/ |
| H A D | CI.yml | 41 - run: cargo clippy --workspace --all-features --all-targets 64 - run: cargo udeps --package tonic --features tls-ring,transport 65 - run: cargo udeps --package tonic --features tls-ring,server 66 - run: cargo udeps --package tonic --features tls-ring,channel 68 - run: cargo udeps --package tonic --features tls-aws-lc,server 82 - name: Check features 87 run: cargo check --workspace --all-targets --all-features 106 - run: cargo no-dev-deps --no-private check --all-features 123 - run: cargo nextest run --workspace --all-features 134 - run: cargo hack --no-private test --doc --all-features [all …]
|
| /tonic/tests/compression/ |
| H A D | Cargo.toml | 17 tokio = {version = "1.0", features = ["macros", "rt-multi-thread", "net"]} 19 tonic = {path = "../../tonic", features = ["gzip", "deflate", "zstd"]} 21 tower-http = {version = "0.6", features = ["map-response-body", "map-request-body"]}
|
| /tonic/tonic-web/ |
| H A D | Cargo.toml | 21 tokio-stream = { version = "0.1", default-features = false } 25 tonic = { version = "0.13.0", path = "../tonic", default-features = false } 31 tokio = { version = "1", features = ["macros", "rt"] } 32 tower-http = { version = "0.6", features = ["cors"] }
|
| /tonic/codegen/ |
| H A D | Cargo.toml | 13 tonic-build = {path = "../tonic-build", default-features = false, features = ["prost", "cleanup-mar…
|
| /tonic/tests/default_stubs/ |
| H A D | Cargo.toml | 8 tokio = {version = "1.0", features = ["macros", "rt-multi-thread", "net"]} 9 tokio-stream = {version = "0.1", features = ["net"]}
|
| /tonic/examples/src/routeguide/ |
| H A D | server.rs | 22 features: Arc<Vec<Feature>>, field 30 for feature in &self.features[..] { in get_feature() 48 let features = self.features.clone(); in list_features() localVariable 51 for feature in &features[..] { in list_features() 85 for feature in &self.features[..] { in record_route() 141 features: Arc::new(data::load()), in main()
|
| /tonic/tests/web/ |
| H A D | Cargo.toml | 15 tokio = { version = "1", features = ["macros", "rt", "net"] } 16 tokio-stream = { version = "0.1", features = ["net"] }
|
| /tonic/tonic-build/ |
| H A D | Cargo.toml | 26 [features] 36 all-features = true
|
| /tonic/tests/use_arc_self/ |
| H A D | Cargo.toml | 10 tonic = {path = "../../tonic", features = ["gzip"]}
|
| /tonic/examples/proto/routeguide/ |
| H A D | route_guide.proto | 38 // huge number of features. 96 // detected features, and the total distance covered as the cumulative sum of 102 // The number of known features passed while traversing the route.
|
| /tonic/tonic-types/ |
| H A D | Cargo.toml | 24 tonic = { version = "0.13.0", path = "../tonic", default-features = false }
|
| /tonic/ |
| H A D | deny.toml | 2 all-features = true
|
| H A D | README.md | 37 …`][routeguide-tutorial] tutorial provides a complete example of using `tonic` and all its features. 40 may be a good resource as it shows examples of many of the gRPC features.
|
| /tonic/tonic-reflection/proto/ |
| H A D | reflection_v1alpha.proto | 102 // descriptor.proto, which uses proto2 only features, by making them opaque
|
| H A D | reflection_v1.proto | 112 // descriptor.proto, which uses proto2 only features, by making them opaque
|