docs.rs failed to build fm_plugin-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
fm_plugin-0.1.17
fm_plugin
A Rust wrapper for the FileMaker plug-in SDK
Cargo.toml:
[]
= "src/lib.rs"
= ["cdylib"]
[]
= "0.1.0"
[]
= "0.1.0"
[]
= "*"
= "*"
= { = "1.0", = ["derive"] }
= "0.1.0"
config.toml:
[]
= "path/to/filemaker/Extensions"
= "path/to/filemaker/executable.exe"
[]
= "my_plugin"
build.rs:
post_build.rs:
lib.rs:
use ;
use *;
;
;
register_plugin!;
cargo install cargo-post
If you set up the build/post_build scripts as shown above, running cargo post build --release
will:
- Quit FileMaker
- Compile the library
- Bundle the plug-in
- Clear the log file
- Move the plug-in to the FileMaker extensions folder
- Launch FileMaker