-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ef81347
commit 9e627e2
Showing
9 changed files
with
84 additions
and
81 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
[workspace] | ||
# Applies to diplomat-core, diplomat, and diplomat-runtime | ||
# Diplomat-tool has no MSRV for now | ||
resolver = "2" | ||
members = [ | ||
"core", | ||
|
@@ -12,4 +10,25 @@ members = [ | |
] | ||
|
||
[workspace.package] | ||
|
||
# Individual subcrates may choose to temporarily switch to a different version | ||
version = "0.9.0" | ||
# Applies to diplomat-core, diplomat, and diplomat-runtime | ||
# Diplomat-tool has no MSRV for now | ||
rust-version = "1.71" | ||
authors = [ | ||
"Shadaj Laddad <[email protected]>", | ||
"Manish Goregaokar <[email protected]>", | ||
"Quinn Okabayashi <[email protected]>" | ||
] | ||
edition = "2021" | ||
repository = "https://github.com/rust-diplomat/diplomat" | ||
license = "MIT OR Apache-2.0" | ||
categories = ["development-tools", "compilers"] | ||
keywords = ["ffi", "codegen"] | ||
|
||
[workspace.dependencies] | ||
diplomat = { version = "0.9.0", path = "macro", default-features = false } | ||
diplomat_core = { version = "0.9.0", path = "core", default-features = false } | ||
diplomat-runtime = { version = "0.9.0", path = "runtime", default-features = false } | ||
diplomat-tool = { version = "0.9.0", path = "tool", default-features = false } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,14 @@ | ||
[package] | ||
name = "diplomat_core" | ||
description = "Shared utilities between Diplomat macros and code generation" | ||
version = "0.8.0" | ||
version.workspace = true | ||
rust-version.workspace = true | ||
authors = [ | ||
"Shadaj Laddad <[email protected]>", | ||
"Manish Goregaokar <[email protected]>", | ||
"Quinn Okabayashi <[email protected]>" | ||
] | ||
license = "MIT OR Apache-2.0" | ||
documentation = "https://docs.rs/diplomat_core/" | ||
edition = "2021" | ||
keywords = ["ffi", "codegen"] | ||
categories = ["development-tools"] | ||
repository = "https://github.com/rust-diplomat/diplomat" | ||
authors.workspace = true | ||
categories.workspace = true | ||
edition.workspace = true | ||
license.workspace = true | ||
repository.workspace = true | ||
keywords.workspace = true | ||
|
||
[lib] | ||
path = "src/lib.rs" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,21 @@ | ||
[package] | ||
name = "diplomat-example" | ||
version = "0.0.0" | ||
publish = false | ||
authors = [ | ||
"Shadaj Laddad <[email protected]>", | ||
"Manish Goregaokar <[email protected]>", | ||
"Quinn Okabayashi <[email protected]>" | ||
] | ||
edition = "2018" | ||
version.workspace = true | ||
rust-version.workspace = true | ||
authors.workspace = true | ||
categories.workspace = true | ||
edition.workspace = true | ||
license.workspace = true | ||
repository.workspace = true | ||
keywords.workspace = true | ||
|
||
[lib] | ||
crate-type = ["staticlib", "rlib", "cdylib"] | ||
|
||
[dependencies] | ||
diplomat = { path = "../macro" } | ||
diplomat-runtime = { path = "../runtime" } | ||
diplomat.workspace = true | ||
diplomat-runtime.workspace = true | ||
icu = "1.2" | ||
writeable = "0.5.2" | ||
fixed_decimal = "0.5.3" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,20 @@ | ||
[package] | ||
name = "diplomat-feature-tests" | ||
version = "0.0.0" | ||
publish = false | ||
authors = [ | ||
"Shadaj Laddad <[email protected]>", | ||
"Manish Goregaokar <[email protected]>", | ||
"Quinn Okabayashi <[email protected]>" | ||
] | ||
edition = "2021" | ||
version.workspace = true | ||
rust-version.workspace = true | ||
authors.workspace = true | ||
categories.workspace = true | ||
edition.workspace = true | ||
license.workspace = true | ||
repository.workspace = true | ||
keywords.workspace = true | ||
|
||
|
||
[lib] | ||
crate-type = ["staticlib", "rlib", "cdylib"] | ||
|
||
[dependencies] | ||
diplomat = { path = "../macro" } | ||
diplomat-runtime = { path = "../runtime", feature = ["log", "jvm-callback-support"] } | ||
diplomat.workspace = true | ||
diplomat-runtime = { workspace = true, features = ["log", "jvm-callback-support"] } | ||
log = { version = "0.4" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,21 @@ | ||
[package] | ||
name = "diplomat" | ||
description = "The diplomat FFI generation macro" | ||
version = "0.8.0" | ||
version.workspace = true | ||
rust-version.workspace = true | ||
authors = [ | ||
"Shadaj Laddad <[email protected]>", | ||
"Manish Goregaokar <[email protected]>", | ||
"Quinn Okabayashi <[email protected]>" | ||
] | ||
edition = "2018" | ||
license = "MIT OR Apache-2.0" | ||
documentation = "https://docs.rs/diplomat_core/" | ||
keywords = ["ffi", "codegen"] | ||
categories = ["development-tools"] | ||
repository = "https://github.com/rust-diplomat/diplomat" | ||
authors.workspace = true | ||
categories.workspace = true | ||
edition.workspace = true | ||
license.workspace = true | ||
repository.workspace = true | ||
keywords.workspace = true | ||
|
||
[lib] | ||
proc-macro = true | ||
path = "src/lib.rs" | ||
|
||
[dependencies] | ||
diplomat_core = { path = "../core", version = "0.8.0" } | ||
diplomat_core.workspace = true | ||
syn = { version = "2.0", features = [ "full", "extra-traits" ] } | ||
quote = "1.0" | ||
proc-macro2 = "1.0.27" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,14 @@ | ||
[package] | ||
name = "diplomat-runtime" | ||
description = "Common runtime utilities used by diplomat codegen" | ||
version = "0.8.1" | ||
version.workspace = true | ||
rust-version.workspace = true | ||
authors = [ | ||
"Shadaj Laddad <[email protected]>", | ||
"Manish Goregaokar <[email protected]>", | ||
"Quinn Okabayashi <[email protected]>" | ||
] | ||
edition = "2018" | ||
license = "MIT OR Apache-2.0" | ||
documentation = "https://docs.rs/diplomat_core/" | ||
keywords = ["ffi", "codegen"] | ||
categories = ["development-tools"] | ||
repository = "https://github.com/rust-diplomat/diplomat" | ||
authors.workspace = true | ||
categories.workspace = true | ||
edition.workspace = true | ||
license.workspace = true | ||
repository.workspace = true | ||
keywords.workspace = true | ||
|
||
[lib] | ||
path = "src/lib.rs" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,17 @@ | ||
[package] | ||
name = "diplomat-tool" | ||
description = "Tool for generating FFI bindings for various languages" | ||
version = "0.8.0" | ||
authors = [ | ||
"Shadaj Laddad <[email protected]>", | ||
"Manish Goregaokar <[email protected]>", | ||
"Quinn Okabayashi <[email protected]>" | ||
] | ||
edition = "2021" | ||
license = "MIT OR Apache-2.0" | ||
documentation = "https://docs.rs/diplomat_core/" | ||
keywords = ["ffi", "codegen"] | ||
categories = ["development-tools"] | ||
repository = "https://github.com/rust-diplomat/diplomat" | ||
version.workspace = true | ||
rust-version.workspace = true | ||
authors.workspace = true | ||
categories.workspace = true | ||
edition.workspace = true | ||
license.workspace = true | ||
repository.workspace = true | ||
keywords.workspace = true | ||
|
||
[dependencies] | ||
diplomat_core = { path = "../core", version = "0.8.0", features = ["displaydoc", "hir"] } | ||
diplomat_core = { workspace = true, features = ["displaydoc", "hir"] } | ||
syn = { version = "2", features = [ "full", "extra-traits" ] } | ||
syn-inline-mod = "0.6.0" | ||
quote = "1.0" | ||
|