sync_docs

Crates.iosync_docs
lib.rssync_docs
version
sourcesrc
created_at2024-12-10 19:32:09.010919
updated_at2024-12-11 02:50:38.112679
descriptionThis proc macro allows injecting documentation from prost generated Rust file into custom defined sdk types (s2-sdk-rust in this case)
homepagehttps://github.com/s2-streamstore/sync_docs
repositoryhttps://github.com/s2-streamstore/sync_docs
max_upload_size
id1478973
Cargo.toml error:TOML parse error at line 17, column 1 | 17 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Shikhar Bhushan (shikhar)

documentation

README

sync_docs

This proc macro allows us to inject documentation from prost generated rust file into our sdk types, mainly beneficial to avoid having to duplicate the documentation.

In build.rs of your repository, specify filename of the generated rust file.

println!("cargo:rustc-env=COMPILED_PROST_FILE=s2.v1alpha.rs");
Commit count: 7

cargo fmt