diff --git a/.gitignore b/.gitignore index fbffff6..ce22439 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ Cargo.lock .vscode exports .DS_Store +export diff --git a/Cargo.toml b/Cargo.toml index 2e5ffa0..8fd5b53 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,6 +4,11 @@ description = "s3 client with C interface" version = "0.1.0" edition = "2021" +[profile.release] +codegen-units = 1 +lto = true +opt-level = 'z' + [package.metadata.bundle] name = "ne-s3" identifier = "com.netease.nmc.demo"