Docs.rs
python-proto-importer-0.1.4
python-proto-importer 0.1.4
Permalink
Docs.rs crate page
Apache-2.0
Links
Homepage
Documentation
Repository
crates.io
Source
Owners
K-dash
Dependencies
anyhow ^1
normal
clap ^4
normal
glob ^0.3
normal
prost ^0.14
normal
prost-reflect ^0.16
normal
prost-types ^0.14
normal
pyo3 ^0.25.1
normal
optional
regex ^1
normal
serde ^1
normal
serde_json ^1
normal
tempfile ^3
normal
toml ^0.9
normal
tracing ^0.1
normal
tracing-subscriber ^0.3
normal
walkdir ^2
normal
which ^8
normal
Versions
77.19%
of the crate is documented
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Module fds
python_
proto_
importer
0.1.4
Module fds
Module Items
Functions
In python_
proto_
importer::
postprocess
python_proto_importer
::
postprocess
Module
fds
Copy item path
Source
Functions
§
collect_
generated_
basenames_
from_
bytes
Decode bytes into FileDescriptorSet and collect generated module basenames like “foo_pb2”, “foo_pb2_grpc” for each file in the set.
is_
proto_
generated_
module
Given a pool and a relative module path, determine if an import target corresponds to a .proto-derived module according to the pool entries. For now, this is a placeholder returning true if suffix matches _pb2 or _pb2_grpc.
load_
fds_
from_
bytes
Load a FileDescriptorSet (binary) and return a DescriptorPool