How can I use unpublished Tauri changes? #5695
                  
                    
                      Beanow
                    
                  
                
                  announced in
                Frequently Asked
              
            Replies: 1 comment 1 reply
-
| I think when using the   | 
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Mirrored from https://tauri.app/v1/guides/faq/#how-can-i-use-unpublished-tauri-changes
To use Tauri from GitHub (bleeding edge version) you need to change your
Cargo.tomlfile and update your CLI and API.Pulling the Rust crate from source
Append this to your
Cargo.tomlfile:This will force all your dependencies to use
tauriandtauri-buildfrom Git instead of crates.io.Using the Tauri CLI from source
If you are using the Cargo CLI, you can install it directly from GitHub:
If you are using the
@tauri-apps/clipackage, you will need to clone the repo and build it:git clone https://github.com/tauri-apps/tauri git checkout dev cd tauri/tooling/cli/node yarn yarn buildTo use it, run directly with node:
Alternatively, you can run your app with Cargo directly:
Using the Tauri API from source
It is recommended to also use the Tauri API package from source when using the Tauri crate from GitHub (though it might not be needed).
To build it from source, run the following script:
git clone https://github.com/tauri-apps/tauri git checkout dev cd tauri/tooling/api yarn yarn buildNow you can link it using yarn:
Or you can change your
package.jsonto point to the dist folder directly:{ "dependencies": { "@tauri-apps/api": "/path/to/tauri/tooling/api/dist" } }Beta Was this translation helpful? Give feedback.
All reactions