mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-05-09 04:22:16 +00:00
Merge pull request #775 from alexcrichton/better-version
Automatically change the schema version on all publishes
This commit is contained in:
commit
76dba8c677
@ -3,7 +3,9 @@
|
||||
#[macro_use]
|
||||
extern crate serde_derive;
|
||||
|
||||
pub const SCHEMA_VERSION: &str = "8";
|
||||
// The schema is so unstable right now we just force it to change whenever this
|
||||
// package's version changes, which happens on all publishes.
|
||||
pub const SCHEMA_VERSION: &str = env!("CARGO_PKG_VERSION");
|
||||
|
||||
#[derive(Deserialize)]
|
||||
pub struct ProgramOnlySchema {
|
||||
|
Loading…
x
Reference in New Issue
Block a user