[package] name = "rust-add-lib" version = "0.1.1" edition = "2021" description = "description" license = "MIT OR Apache-2.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] #[lib] # bin、lib、rlib、dylib、cdylib、staticlib 和 proc-macro #crate-type = ["dylib"] #crate-type = ["cdylib"] #crate-type = ["staticlib"] #crate-type = ["lib"] #crate-type = ["rlib"]