mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-26 09:12:40 +00:00
C++/Rust version changes
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
set(VERSION_MAJOR 1)
|
set(VERSION_MAJOR 2)
|
||||||
set(VERSION_MINOR 12)
|
set(VERSION_MINOR 0)
|
||||||
set(VERSION_PATCH 0)
|
set(VERSION_PATCH 0)
|
||||||
set(VERSION_COMMIT 0)
|
set(VERSION_COMMIT 0)
|
||||||
|
|
||||||
|
|||||||
@@ -382,8 +382,8 @@ if(FLATBUFFERS_BUILD_SHAREDLIB)
|
|||||||
# - micro updated every release when there is no API/ABI changes
|
# - micro updated every release when there is no API/ABI changes
|
||||||
# - minor updated when there are additions in API/ABI
|
# - minor updated when there are additions in API/ABI
|
||||||
# - major (ABI number) updated when there are changes in ABI (or removals)
|
# - major (ABI number) updated when there are changes in ABI (or removals)
|
||||||
set(FlatBuffers_Library_SONAME_MAJOR "1")
|
set(FlatBuffers_Library_SONAME_MAJOR "2")
|
||||||
set(FlatBuffers_Library_SONAME_FULL "${FlatBuffers_Library_SONAME_MAJOR}.12.0")
|
set(FlatBuffers_Library_SONAME_FULL "${FlatBuffers_Library_SONAME_MAJOR}.0.0")
|
||||||
set_target_properties(flatbuffers_shared PROPERTIES OUTPUT_NAME flatbuffers
|
set_target_properties(flatbuffers_shared PROPERTIES OUTPUT_NAME flatbuffers
|
||||||
SOVERSION "${FlatBuffers_Library_SONAME_MAJOR}"
|
SOVERSION "${FlatBuffers_Library_SONAME_MAJOR}"
|
||||||
VERSION "${FlatBuffers_Library_SONAME_FULL}")
|
VERSION "${FlatBuffers_Library_SONAME_FULL}")
|
||||||
|
|||||||
@@ -142,8 +142,8 @@
|
|||||||
#endif
|
#endif
|
||||||
#endif // !defined(FLATBUFFERS_LITTLEENDIAN)
|
#endif // !defined(FLATBUFFERS_LITTLEENDIAN)
|
||||||
|
|
||||||
#define FLATBUFFERS_VERSION_MAJOR 1
|
#define FLATBUFFERS_VERSION_MAJOR 2
|
||||||
#define FLATBUFFERS_VERSION_MINOR 12
|
#define FLATBUFFERS_VERSION_MINOR 0
|
||||||
#define FLATBUFFERS_VERSION_REVISION 0
|
#define FLATBUFFERS_VERSION_REVISION 0
|
||||||
#define FLATBUFFERS_STRING_EXPAND(X) #X
|
#define FLATBUFFERS_STRING_EXPAND(X) #X
|
||||||
#define FLATBUFFERS_STRING(X) FLATBUFFERS_STRING_EXPAND(X)
|
#define FLATBUFFERS_STRING(X) FLATBUFFERS_STRING_EXPAND(X)
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "flatbuffers"
|
name = "flatbuffers"
|
||||||
version = "0.9.0"
|
version = "2.0.0"
|
||||||
edition = "2018"
|
edition = "2021"
|
||||||
authors = ["Robert Winslow <hello@rwinslow.com>", "FlatBuffers Maintainers"]
|
authors = ["Robert Winslow <hello@rwinslow.com>", "FlatBuffers Maintainers"]
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
description = "Official FlatBuffers Rust runtime library."
|
description = "Official FlatBuffers Rust runtime library."
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "flexbuffers"
|
name = "flexbuffers"
|
||||||
version = "0.3.0"
|
version = "2.0.0"
|
||||||
authors = ["Casper Neo <cneo@google.com>", "FlatBuffers Maintainers"]
|
authors = ["Casper Neo <cneo@google.com>", "FlatBuffers Maintainers"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
//Generated by flatc compiler (version 1.12.0)
|
//Generated by flatc compiler (version 2.0.0)
|
||||||
//If you make any local changes, they will be lost
|
//If you make any local changes, they will be lost
|
||||||
//source: monster_test.fbs
|
//source: monster_test.fbs
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user