mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 08:11:33 +11:00
Add a std feature instead
This commit is contained in:
parent
d903aa164b
commit
aefa842624
|
@ -8,7 +8,8 @@ repository = "https://github.com/agbrs/agb"
|
|||
|
||||
[features]
|
||||
default = ["quote"]
|
||||
quote = ["dep:quote"]
|
||||
quote = ["dep:quote", "std"]
|
||||
std = []
|
||||
|
||||
[dependencies]
|
||||
quote = "1"
|
||||
quote = { version = "1", optional = true }
|
|
@ -1 +1 @@
|
|||
#![cfg_attr(not(feature(quote)), no_std)]
|
||||
#![cfg_attr(not(feature = "std"), no_std)]
|
||||
|
|
Loading…
Reference in a new issue