[package]
edition = "2021"
rust-version = "1.68"
name = "crate_interface"
version = "0.3.0"
authors = [
"Yuekai Jia <equation618@gmail.com>",
"Su Mingxian <aarkegz@gmail.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Provides a way to define an interface (trait) in a crate, but can implement or use it in any crate."
homepage = "https://github.com/arceos-org/arceos"
documentation = "https://docs.rs/crate_interface"
readme = "README.md"
keywords = [
"arceos",
"api",
"macro",
]
categories = [
"development-tools::procedural-macro-helpers",
"no-std",
]
license = "Apache-2.0"
repository = "https://github.com/arceos-org/crate_interface"
[features]
default = []
weak_default = []
[lib]
name = "crate_interface"
path = "src/lib.rs"
proc-macro = true
[[test]]
name = "test_crate_interface"
path = "tests/test_crate_interface.rs"
[[test]]
name = "test_weak_default"
path = "tests/test_weak_default.rs"
[dependencies.proc-macro2]
version = "1.0"
[dependencies.quote]
version = "1.0"
[dependencies.syn]
version = "2.0"
features = [
"full",
"visit-mut",
]